Request a demo

BigQuery error · Quotas and rate limits

Quota exceeded: partition modifications to a column partitioned table

Jobs touched too many partitions of one column-partitioned table today: the limit is 30,000 partition modifications per table per day, and a job that rewrites 1,000 daily partitions uses 1,000. Shrink rewrite windows, partition more coarsely, or batch loads. DML and streaming don't count.

Error reason quotaExceeded · HTTP 403 · Checked against the Google Cloud docs in November 2026

The error message

Quota exceeded: Your table exceeded quota for Number of partition modifications to a column partitioned table.

Causes

Wide rewrite windows run often

A query, load or copy job counts once for every partition it appends to or overwrites. An incremental model that rewrites the last 90 daily partitions every 15 minutes modifies 90 × 96 = 8,640 partitions a day; a full rebuild of three years of daily partitions every hour is over 26,000.

Daily or hourly partitions on a long history

The finer the partitioning, the more partitions a rewrite of the same time range touches. Hourly partitioning multiplies modifications by 24 compared with daily.

Many small appends spread over many dates

Loads of late-arriving data that hit dozens of dates each, repeated many times a day, add up the same way.

How to fix it

1. Measure partitions modified per table

total_modified_partitions shows how many partitions each load and query job modified. Exclude DML, which doesn't count toward this quota.

SELECT
  destination_table.dataset_id,
  destination_table.table_id,
  job_type,
  COUNT(*) AS jobs,
  SUM(total_modified_partitions) AS partitions_modified
FROM `region-us`.INFORMATION_SCHEMA.JOBS
WHERE creation_time > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 1 DAY)
  AND (statement_type IS NULL OR statement_type NOT IN ('INSERT', 'UPDATE', 'DELETE', 'MERGE'))
GROUP BY 1, 2, 3
ORDER BY partitions_modified DESC
LIMIT 20;

2. Rewrite only the partitions that changed

Shorten the lookback window of incremental jobs to the period where data actually changes, and run full rebuilds rarely. This also cuts cost: on-demand, every rewritten partition is scanned and written again.

3. Apply late changes with MERGE

DML statements don't count toward partition modifications per day. A MERGE restricted to the affected dates replaces an overwrite of a wide window.

MERGE `project.analytics.daily_revenue` AS t
USING `project.staging.revenue_corrections` AS s
ON t.revenue_date = s.revenue_date AND t.store_id = s.store_id
WHEN MATCHED THEN
  UPDATE SET revenue = s.revenue
WHEN NOT MATCHED THEN
  INSERT (revenue_date, store_id, revenue) VALUES (s.revenue_date, s.store_id, s.revenue);

4. Partition more coarsely and cluster

Monthly partitions plus clustering on the date column keep pruning efficient while a rewrite of the same range touches far fewer partitions. Changing partitioning means recreating the table.

CREATE TABLE `project.analytics.events_by_month`
PARTITION BY DATE_TRUNC(event_date, MONTH)
CLUSTER BY event_date, customer_id
AS SELECT * FROM `project.analytics.events`;

5. Batch loads into fewer jobs

Combine files for many dates into one load job, or stream continuous data with the Storage Write API, which doesn't count toward this quota.

How to prevent it

  • Estimate partitions per run × runs per day for every job that writes to a partitioned table, and keep it well below 30,000.
  • Prefer daily over hourly partitions unless queries really filter by hour.
  • Watch the related per-job limit too: one job can modify at most 4,000 partitions.

FAQ

Can I increase the 30,000 partition modifications limit?

No. This limit can't be increased. Reduce how many partitions your jobs touch, or use DML, which isn't counted.

Is the limit different for ingestion-time partitioned tables?

Yes. Ingestion-time partitioned tables allow 11,000 partition modifications per day; column-partitioned tables allow 30,000.

Does recreating the table reset the count?

No. Quotas are tied to the table name, so dropping and recreating a table with the same name doesn't give it a fresh daily quota.

SQL reference

More quotas and rate limits

All BigQuery error messages · What 50M daily events say about BigQuery failures

Stop finding BigQuery failures in Slack threads

Masthead watches every BigQuery job, dbt model, Dataform action and Airflow task from audit logs, groups failures into incidents and shows which tables and dashboards are affected. No access to your data and no added BigQuery cost.