
Configuring BigQuery table expiration is the primary mechanism for enforcing data retention on tables that would otherwise grow forever. In many Google Cloud projects, large tables accumulate active and long-term bytes with no table or partition expiry set. As a result, dataset storage spend climbs steadily over complete billed days. However, expiry is only the technical mechanism. Data retention is an ownership decision. Before you set an expiration rule, you must verify how long the business needs the data and whether downstream queries still read historical rows.
Key takeaways
- Unmodified BigQuery tables or partitions automatically drop to long-term storage pricing after 90 consecutive days.
- A 3-step retention workflow—verifying usage with the owner, setting expiry or documenting exceptions, and tracking future billing—prevents accidental data loss.
- Table expiration deletes an entire table at a specific timestamp, whereas partition expiration removes older data slices on a rolling schedule.
How BigQuery storage is billed: active and long-term
BigQuery separates compute costs from storage costs. For storage, Google Cloud measures the volume of data your datasets hold and bills you across two tiers: active storage and long-term storage.

According to the BigQuery storage pricing documentation, active storage applies to any table or table partition modified within the last 90 days. Modifications include loading data, streaming inserts, copying data, or running DML statements like INSERT, UPDATE, or DELETE.
In contrast, if a table or partition goes unmodified for 90 consecutive days, it automatically shifts to long-term storage, and the storage price for that data drops by 50 percent. You do not lose performance, durability, or query availability when data enters the long-term tier. However, a lower rate is not zero. When a large table never expires, those long-term bytes continue to generate dataset storage charges every month.
Large tables with no table or partition expiry
When you create a dataset or table in a standard billed Google Cloud project, BigQuery keeps the data indefinitely unless you configure an expiration setting. Consequently, append-only tables—such as application logs, telemetry feeds, or staging tables—often grow unchecked across projects.
You can spot this pattern by combining native Google Cloud data sources. First, check your Google Cloud Billing export to BigQuery to see dataset storage spend across complete billed days. Because billing exports aggregate storage charges at the dataset level, the bill alone cannot tell you which specific table is responsible for the cost.
Next, query the native INFORMATION_SCHEMA.TABLE_STORAGE view to inspect table-level metrics. Look for large tables holding a high volume of total bytes and long-term bytes where neither a table expiry nor a partition expiry is present.
However, billing and storage metadata cannot prove whether old data is still useful. High long-term byte counts only prove that rows have not been modified in 90 days. They do not prove that no one reads the data, nor do they show regulatory retention rules. Therefore, you need further investigation before changing any table settings.
Agree retention with the data owner
Never delete a table or apply an expiration policy based solely on storage size. Instead, treat retention as a policy decision that belongs to the data owner. Follow a structured verification process before touching the resource.

Verify query patterns and dependencies
First, identify the team or service owner responsible for the project and dataset. Work with them to check how long the data must be kept for operational, analytical, or compliance reasons.
In addition, check whether queries actually read old rows. You can query INFORMATION_SCHEMA.JOBS_BY_PROJECT or review Cloud Audit Logs to see which users, BI dashboards, or scheduled pipelines access the table. Specifically, look at whether queries scan historical partitions or only filter for recent dates. At the same time, verify downstream dependencies and recovery needs. If an analytics pipeline rebuilds a mart from raw history, expiring old rows will break the build.
Document indefinite retention when required
Not every large table should expire. For example, financial ledgers, audit logs, or core dimension tables often require indefinite storage. If the owner confirms that the table must keep all historical rows, document why the data is kept indefinitely in your data catalog or table labels. That way, engineers reviewing storage costs in future months will not waste time re-investigating the same table.
BigQuery table expiration versus partition expiration
Once you agree on a retention period with the data owner, you need to apply the right expiry mechanism. BigQuery offers two distinct controls: expiring the whole table or expiring individual partitions.

| Feature | Table Expiration | Partition Expiration |
|---|---|---|
| What it deletes | The entire table and all its data | Only partitions older than the threshold |
| Trigger mechanism | A specific point-in-time timestamp | Rolling duration (partition_expiration_days) |
| Best use case | Staging tables, scratch data, one-off exports | Fact tables, event logs, time-series data |
BigQuery table expiration sets a single timestamp on a table (or a default duration at the dataset level for newly created tables). When that timestamp arrives, BigQuery deletes the entire table. This mechanism fits temporary staging tables or ad-hoc query results that have a known end-of-life date.
On the other hand, production tables that receive ongoing data usually need a rolling retention window. According to Google Cloud’s guide on managing partitioned tables, you can set partition_expiration_days on a time-unit partitioned table. BigQuery then automatically deletes each partition once it ages past the configured number of days. This keeps your active and long-term byte counts bounded while preserving recent data for daily queries.
When you apply either setting, keep BigQuery’s recovery window in mind. Deleted tables and expired partition data remain in time-travel storage for the configured window (2 to 7 days), followed by a 7-day fail-safe period. Under physical storage billing, time-travel and fail-safe bytes are billed at active storage rates until those windows close.
Check the dataset’s storage charges in following months
Setting an expiry rule is not the end of the process. You should verify that the change actually alters your storage profile over the following billing cycles.
In the months after you configure a table or partition expiry—or after you document an indefinite retention exception—check the dataset’s storage charges in your Google Cloud Billing export. Look at the spend across complete billed days and compare active storage bytes against long-term storage bytes.
If you applied a partition expiration to a large table, you should see long-term storage volume drop once the expired data clears the time-travel and fail-safe windows. Conversely, if dataset storage spend continues to grow, investigate whether new unpartitioned tables were created in the same dataset without inheriting a default expiration rule.
How Binadox helps identify BigQuery storage cost drivers
Tracking down tables without expiry policies across dozens of projects takes constant manual querying. Binadox is a cloud cost visibility and optimization tool that automates this detection across your Google Cloud environment.

When scanning BigQuery databases, Binadox flags when a large table in a specific project holds a high volume of total bytes and long-term bytes with no table or partition expiry configured. To help you prioritize, it pairs that table-level finding with the parent dataset’s storage spend across complete billed days. In addition, Binadox provides a clear workflow: agree on a retention period with the table’s owner, check whether queries read old rows, set a table or partition expiry (or document why the data stays indefinitely), and check the dataset’s storage charges in the following months.
Conclusion
Leaving a large table with no expiration is still a retention decision; it is just an expensive, undocumented one. While long-term storage pricing cuts the monthly rate for untouched data after 90 days, tables that never expire will steadily drive up your dataset storage spend. Instead of guessing which rows to drop, talk to the data owner and verify whether downstream queries still read historical data. Once your team agrees on a policy, apply BigQuery table expiration for temporary tables, use partition expiration for rolling time-series data, or document why the table must live forever. Finally, review your dataset storage charges in the following months to confirm your bill reflects the policy you chose.
To eliminate manual audits and automatically flag unexpired datasets, you can start your free Binadox trial or book a demo with our team to see it in action.