BigQuery error · Quotas and rate limits
Exceeded rate limits: too many table update operations
Something updates one table's metadata faster than BigQuery allows: 5 operations per 10 seconds for a standard table, 50 for a partitioned one. Loads, copies, query appends, DDL and table patches all count. It is a short-term limit: retry with backoff, then batch the writes so they arrive less often.
The error message
Exceeded rate limits: too many table update operations for this table.
Causes
Many small load or append jobs in parallel
Load jobs, copy jobs and query jobs that append to or overwrite a table each count as a table update. A Cloud Function that starts one load job per incoming file, or ten workers appending query results to the same table, exceeds 5 operations in 10 seconds easily.
Frequent schema or option changes
tables.patch, tables.update, tables.insert and DDL such as ALTER TABLE count too. Tools that set descriptions, labels or expiration on every run, or a script that runs several ALTER TABLE statements back to back, generate bursts of metadata updates.
The partitioned-table variant
For partitioned tables the limit is 50 updates per 10 seconds, and the message reads Exceeded rate limits: too many partitioned table update operations for this table. Through jobs.query or jobs.getQueryResults the same condition can surface as Job exceeded rate limits with reason jobRateLimitExceeded and HTTP 400.
How to fix it
1. Retry with exponential backoff and jitter
The error is transient. Wait a few seconds, then double the delay on each retry and add randomness so parallel workers don't retry in lockstep. When a job fails through jobs.query, retry with a new job ID.
2. Load many files in one job
A single load job accepts a wildcard URI or a list of URIs, so one job can replace hundreds of per-file jobs. With LOAD DATA in SQL:
LOAD DATA INTO `project.raw.events`
FROM FILES (
format = 'NEWLINE_DELIMITED_JSON',
uris = ['gs://acme-landing/events/2026-11-23/*.json']
);3. Combine DDL changes into one statement
One ALTER TABLE can set several options or add several columns. Each statement is one metadata update; two statements are two.
ALTER TABLE `project.sales.orders`
SET OPTIONS (
description = 'One row per order, loaded hourly',
labels = [('team', 'finance'), ('tier', 'gold')]
);
ALTER TABLE `project.sales.orders`
ADD COLUMN IF NOT EXISTS coupon_code STRING,
ADD COLUMN IF NOT EXISTS channel STRING;4. Use DML or the Storage Write API for frequent small writes
DML statements count toward the limit but are not blocked by it, because DML has its own rate limits. For a continuous trickle of rows, the Storage Write API avoids table update jobs altogether.
5. Find the sources of the updates
List the jobs that wrote to the table in the last day. API calls such as tables.patch don't appear here; look for TableService.PatchTable and UpdateTable in Cloud Audit Logs.
SELECT
TIMESTAMP_TRUNC(creation_time, MINUTE) AS minute,
job_type,
user_email,
COUNT(*) AS jobs
FROM `region-us`.INFORMATION_SCHEMA.JOBS
WHERE creation_time > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 1 DAY)
AND destination_table.dataset_id = 'sales'
AND destination_table.table_id = 'orders'
GROUP BY 1, 2, 3
ORDER BY jobs DESC
LIMIT 20;How to prevent it
- Route all writes to a given table through one queue or one orchestrator task instead of independent writers.
- Micro-batch: collect files or rows for a minute and write them in one job.
- Make retries cheap. Under capacity pricing, slot time a query used before it failed still counts against your reservation, so retrying a heavy
INSERT ... SELECTin a tight loop burns slots without producing output.
FAQ
Can I raise the table update rate limit?
No. The limit of 5 table metadata updates per 10 seconds per table (50 for partitioned tables) can't be increased. Reduce the update rate by batching.
Is a failed job billed?
On-demand, failed queries are not billed. With capacity pricing, any slot time the job consumed before failing counts as usage of your reservation.
What is the difference between this error and "Your table exceeded quota for imports or query appends per table"?
This one is a short-term rate limit per 10 seconds, solved by spacing writes out. The other is the daily limit of 1,500 table modifications, solved by doing fewer writes per day. See quota exceeded: imports or query appends.
Related
SQL reference
More quotas and rate limits
All BigQuery error messages · What 50M daily events say about BigQuery failures
