Exceeded quota for tabledata.list bytes per second

荒凉一梦 提交于 2020-01-24 19:22:12

问题


I am firing a set of queries on tables in BigQuery dataset.

There are 3 select * queries as below:

"Select * from table1"    //1.3M records and 2.5GB data
"Select * from table2"      //0.3M records and 15 GB data
"Select * from table3"     //2M    records and 3GB data

We are querying the above tables using the spark connector. However intermittently we are seeing an error:

403 Forbidden"
"domain" : "usageLimits",
message: " "message" : "Exceeded rate limits: Your project: exceeded quota for tabledata.list bytes per second per project.

The assumption here is that the tabledata list call is failing because it is returning more than 60 MB per sec which seems to be the default quota as per https://cloud.google.com/bigquery/troubleshooting-errors


回答1:


Tabledata.list isn't really optimized for high-throughput use cases such as Spark. You may want to check out other options for reading from BigQuery -- in particular, this use case is what the BigQuery Storage API is designed for, including a native Spark connector.



来源:https://stackoverflow.com/questions/55510164/exceeded-quota-for-tabledata-list-bytes-per-second

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!