我的项目价格 Google Big Query 定价

Price of my project in Google Big Query pricing

我对 Google Big Query 的定价有点困惑。我需要在 Google Big Query 中获得我的项目的最终价格。那么,如果项目需要,使用 Big Query 1 个月的成本是多少:

根据您提供的信息,我猜您需要使用流式插入,因为正常上传到 BigQuery 数据集每天有 2 次 limits(每日目标 table 更新限制 — 每个 1,000 次更新table 每天和每个项目每天加载作业 — 50,000(包括失败))很难解决。

您项目的价格将由存储、流式插入和查询三部分组成。

BigQuery 存储

For the first month you’ll pay [=10=].0067 per day for each lot of 10GB ([=10=].02(per GB per month) * 10(GB) * 1/30(months)). So for 30 days the total cost will be about 4 USD (estimated for daily added lots of 10GB). For the next 11 months it will costs you 0.02 * 300GB * 11 months = 66 USD.

如果 table 连续 90 天未编辑,则该 table 的存储价格自动下降 50% 至每月每 GB 0.01 美元。此外,如果您不访问数据,您可以将其传输到存储桶并选择 storage class - 近线存储,每 1GB 的成本为 0.01 美元,因此成本为 11 个月 * 300GB * 0.01 = 33美元。

流式插入

The cost for the streaming inserts for daily 25.000.000 inserts of 1KB (1 KB is the minimum size per individual row) → 25GB (per day) → 750GB (in the month) Total price per month: 37.5 USD (750GB * [=11=].05 (per GB successfully inserted))

查询价格

I roughly estimated that each query would require 1G of data to be processed resulting in a 1TB per day (1000 queries * 1G) so it will cost 5$/day → 150 USD per month. As this is the most expensive part of your project you should correctly estimate it. I’d advise you to run some tests with provisioned queries, maybe using the public datasets and see how much it will cost. Also keep in mind about this best practices to limit the queries costs.

总成本为 4 + 66 + 37.5 + 150 = 257.5 美元BigQuery pricing calculator - $255.40

给出的估计价格相差不远
  • 因为这是一个估计值,所以我从计算中排除了 10 个 GB/month 免费存储空间和 1TB/月查询的免费配额。