【发布时间】:2015-11-03 08:44:06
【问题描述】:
我正在浏览其官方网站上提供的 Google 的 Bigquery 文档。 我对谷歌的插入流配额政策有点困惑。 Here 网页上提到了以下几点。
1]Maximum row size: 1 MB
2]HTTP request size limit: 10 MB
3]Maximum rows per second: 100,000 rows per second, per table. Exceeding this amount will cause quota_exceeded errors.
4]Maximum rows per request: 500
5]Maximum bytes per second: 100 MB per second, per table. Exceeding this amount will cause quota_exceeded errors.
我对第 3 点和第 4 点的理解感到困惑。 我们可以使用 new TableDataInsertAllRequest().setRows(rowList); 设置数据 rowList.size() 最多为 100,000。对于插入,我们可以使用 table().insertAll().execute()。
但我仍然对第 3 点和第 4 点感到困惑。 任何人都可以详细解释这一点吗? 提前致谢。
【问题讨论】:
-
大概每个请求最多可以插入 500 行,每秒最多可以进行 200 个请求。
-
@AndyTurner 谢谢 :)
标签: google-bigquery