Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Current Query Usage Exceeds Quota Limit in Big Query.

I’ve encountered an issue where the quota usage exceeds the quota limit.
From Big Query APIFrom Big Query API
I’ve already reviewed all configurations, and everything seems to be in order according to standard settings.
After exceeds I cannot do query again (as expected).
Query exceed the limit after exceeds 2 MB.Query exceed the limit after exceeds 2 MB.
I suspect that this might be due to a lag in updating the quota limit, a system error, or potentially there is a tolerance for queries under 10MB.

Please help if you have any idea what caused this issue. 

Solved Solved
0 4 3,836
1 ACCEPTED SOLUTION

The situation you're describing, where the current usage exceeds the set quota limit, could be due to a few factors:

  1. Query Completion Time: If you ran a query that started before the quota was reached and it completed after the quota was exceeded, the total bytes processed by that query might push the usage over the limit. BigQuery processes queries atomically, meaning that if a query starts, it will complete even if it pushes you over your quota.

  2. Delayed Reporting: There could be a delay in the reporting of the quota usage. This means that some queries that were executed just before the limit was reached might only be reported after the limit has been exceeded.

  3. Quota Calculation Method: The way BigQuery calculates quota usage might not be straightforward. It could include additional factors like the data processed by query execution plans or other internal metrics.

  4. Caching: BigQuery does not charge for queries that return cached results, but it's possible that if the cache expires and the query re-runs, it could contribute to the quota unexpectedly.

  5. Background Processes: There might be background processes or automated scripts that are running queries on your behalf which you might not have accounted for.

  6. Billing Cycle Alignment: The quota usage might not align perfectly with the billing cycle, especially if changes to quotas are made mid-cycle.

If you consistently see that the usage exceeds the quota by a small margin and it's causing issues, you might want to set a slightly lower quota to create a buffer or reach out to Google Cloud Support for a more detailed explanation of how the quota usage is calculated and reported.

View solution in original post

4 REPLIES 4