如何将数据添加到bigquery而没有速率限制问题的情况下?

发布于 2025-02-10 23:03:16 字数 1456 浏览 2 评论 0 原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

江南烟雨〆相思醉 2025-02-17 23:03:16

提到的限制仅适用于 load load of load ofers

您可以使用,而没有那些 limits

我不确定 pandas-gbq 是否使用负载作业或引擎盖下的流式插件。
无论如何,您也可以使用 bigquery python python python客户端 =“ https://googleapis.dev/python/bigquery/latest/generated/google.cloud.bigquery.client.client.client.html#google.cloud.bigquery.bigquery.bigquery.client.client.client.client.client.client.client.client _from_from_from_dataafame_from_dataafame_from_dataaframe” 使用流API。

The mentioned limits only apply to load jobs.

You can use streaming inserts instead, which do not have those limits.

I am not sure if pandas-gbq uses load jobs or streaming inserts under the hood.
Anyway, you can also use the BigQuery Python Client and the method insert_rows_from_dataframe which uses the streaming API.

两人的回忆 2025-02-17 23:03:16

为了您的要求,您可以使用Google提供的数据流模板,该模板包含模板,您可以使用Pub/sub使用DataFlow将数据传输到BigQuery中。流媒体管道用于读取从云公共/sub/sub的JSON格式化数据,然后将其写入BigQuery。

您可以选择模板或

For your requirement, you can use Google provided Dataflow Templates that contain templates where you can use Pub/Sub to stream data into BigQuery using Dataflow. A streaming pipeline is used to read the JSON formatted data from Cloud Pub/Sub and then write it to BigQuery.

You can choose either Pub/Sub Topic to BigQuery template or Pub/Sub Subscription to BigQuery template according to the requirement. It will incur some cost in BigQuery for data ingestion, for which you can check the pricing given in this document.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文