本文介绍了如何计算Firebase实时数据库存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我很好奇Firebase存储是如何计算的。如果我存储了x GB的数据,那么稍后将其删除,这将如何计算?是一个月计算一次,还是像95%的方法? 解决方案
好的问题。很抱歉,我们必须从我们的结算专家那里得到答案。
Firebase会跟踪月份的数据库大小,并确定大小的加权平均值所以如果你有29天,你有1GB和1天,你有2GB,平均是29/30 * 1 + 1/30 * 2 = 0.967 + 0.067 = 1.033 GB。
I am curious how is firebase storage calculated.If I stored x GB data, then remove it later, how will this calculated ? Is is calculated once a month, or maybe something like the 95% method?
Great question. Sorry for the delay, but I had to get the answer from one of our billing experts.
Firebase tracks the database size during the month and determines the weighted average of the size for billing.
So if you had 29 days where you had 1GB and 1 day where you had 2GB, the average is 29/30*1 + 1/30*2 = 0.967 + 0.067 = 1.033 GB.
这篇关于如何计算Firebase实时数据库存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!