# What Is Cloud Audit Logs for BigQuery? Definition and Examples | Masthead

Cloud Audit Logs record who did what in BigQuery: Admin Activity logs for changes to datasets, tables and jobs, Data Access logs for jobs and table reads and writes, and System Event logs for expirations. BigQuery Data Access logs are on by default and cannot be disabled.

> For the index of this section of the site, see [llms.txt](https://mastheadata.com/llms.txt)

Glossary · BigQuery

# What is Cloud Audit Logs for BigQuery?

Cloud Audit Logs record who did what in BigQuery: Admin Activity logs for changes to datasets, tables and jobs, Data Access logs for jobs and table reads and writes, and System Event logs for expirations. BigQuery Data Access logs are on by default and cannot be disabled.

Also called: BigQuery audit logs, BigQueryAuditMetadata, Data Access audit logs, cloudaudit\_googleapis\_com\_data\_access, Admin Activity logs

## What BigQuery writes to Cloud Audit Logs

BigQuery sends audit logs to Cloud Logging under the service name `bigquery.googleapis.com`, in three streams:

*   **Admin Activity** (`activity`): creating, updating and deleting datasets and tables, IAM changes and other configuration changes. Always on.
*   **Data Access** (`data_access`): `JobInsertion` and `JobChange` events for jobs, and `TableDataRead` and `TableDataChange` events for which tables were read or written. For most Google Cloud services these logs are off by default; for BigQuery they are on and cannot be disabled.
*   **System Event** (`system_event`): actions by Google systems, such as a table deleted because it expired.

Use the newer `BigQueryAuditMetadata` format, in `protoPayload.metadata`; the older `AuditData` format is not populated for new features. Some cases produce no entry: failed jobs log no `TableDataRead` or `TableDataChange`, cache hits log no reads, and Storage Write API appends log no `TableDataChange`.

## Why they matter for cost and observability

Audit logs show the movement of data without reading it: which job wrote which table, when, from which sources and by whom. That is enough to build table lineage, detect tables that stopped updating and find tables nobody reads, and it is how log-based tools such as [Masthead](https://mastheadata.com/detect-data-anomalies.md) monitor BigQuery without access to the data. For cost work they answer questions INFORMATION\_SCHEMA cannot, such as which datasets are read but never written.

## Query them in BigQuery

Create a log sink that routes `BigQueryAuditMetadata` entries to a dataset; by default it creates date-sharded tables such as `cloudaudit_googleapis_com_data_access_20261123`. The metadata arrives as a JSON string in `protopayload_auditlog.metadataJson`. This query counts reads and writes per table over the last week:

```
SELECT
  REGEXP_EXTRACT(protopayload_auditlog.resourceName,
    r'^projects/[^/]+/datasets/([^/]+)/tables/') AS dataset,
  REGEXP_EXTRACT(protopayload_auditlog.resourceName,
    r'^projects/[^/]+/datasets/[^/]+/tables/(.+)$') AS table_name,
  COUNTIF(JSON_QUERY(protopayload_auditlog.metadataJson, '$.tableDataRead') IS NOT NULL) AS reads,
  COUNTIF(JSON_QUERY(protopayload_auditlog.metadataJson, '$.tableDataChange') IS NOT NULL) AS writes,
  MAX(IF(JSON_QUERY(protopayload_auditlog.metadataJson, '$.tableDataChange') IS NOT NULL,
    timestamp, NULL)) AS last_write
FROM `ops-project.audit_logs.cloudaudit_googleapis_com_data_access_*`
WHERE _TABLE_SUFFIX >= FORMAT_DATE('%Y%m%d', DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY))
GROUP BY dataset, table_name
ORDER BY writes DESC;
```

Tables with writes but no reads are candidates for [unused tables](https://mastheadata.com/glossary/unused-table.md): you pay to build and store them for nobody. Filtering on `_TABLE_SUFFIX` keeps the query from scanning every day of logs.

## Cost of the logs themselves

Data Access logs can be large, and Cloud Logging charges for storage beyond the default retention of the `_Default` bucket. Routing them to BigQuery adds storage and query costs instead, so keep only the `BigQueryAuditMetadata` entries you need and partition or expire the log tables. Each log entry is capped at 100,000 bytes, so very long SQL text can be truncated.

For job-level cost data, prefer [INFORMATION\SCHEMA.JOBS](https://mastheadata.com/bigquery/sql/information-schema-jobs.md); for who changed or read what, audit logs are the source of record. See [BigQuery pricing](https://mastheadata.com/bigquery/pricing.md) for storage and query rates.

## FAQ

Should I use audit logs or INFORMATION\_SCHEMA.JOBS for BigQuery cost analysis?

Use INFORMATION\_SCHEMA.JOBS for cost and performance: it has bytes billed, slot time and every submitted job, including failed ones, for 180 days. Use audit logs for who did what: they are the definitive record of access and configuration changes, and they can be kept as long as you route them.

How long are BigQuery audit logs kept?

Admin Activity and System Event logs go to the `_Required` bucket and are kept 400 days. Data Access logs go to the `_Default` bucket, kept 30 days by default. Route them to a BigQuery dataset with a log sink to keep them longer and query them with SQL.

Do BigQuery audit logs contain the data that was read?

No. They record identities, methods, SQL text, schemas and the tables a job read or changed, not row values. They can still be sensitive, so restrict access to the log dataset.

## Related

[Data lineage](https://mastheadata.com/glossary/data-lineage.md)[Pipeline observability](https://mastheadata.com/glossary/pipeline-observability.md)[Data observability](https://mastheadata.com/glossary/data-observability.md)[BigQuery slot](https://mastheadata.com/glossary/bigquery-slot.md)[Cost attribution](https://mastheadata.com/glossary/cost-attribution.md)[Metadata](https://mastheadata.com/glossary/metadata.md)

### Read next

*   [How logs and metadata ensure platform reliability](https://mastheadata.com/blog/how-logs-and-metadata-alone-ensure-data-platform-reliability.md)
*   [Log-based data observability](https://mastheadata.com/detect-data-anomalies.md)
*   [INFORMATION\SCHEMA.JOBS](https://mastheadata.com/bigquery/sql/information-schema-jobs.md)
*   [Reduce your BigQuery bill](https://mastheadata.com/reduce-cloud-bill.md)

[Browse the full glossary](https://mastheadata.com/glossary.md)
---

## Other pages in Glossary

> For the full index of this section, see [Glossary](https://mastheadata.com/llms/llms-glossary.txt).

- [What Is Apache Airflow? Definition and Examples | Masthead](https://mastheadata.com/glossary/apache-airflow.md): Apache Airflow is an open-source orchestrator that schedules and monitors workflows defined as Python DAGs of tasks. On Google Cloud it runs as Managed Service for Apache Airflow, the service formerly called Cloud Composer, and drives BigQuery through Google provider operators.
- [What Is Backfill? Definition and Examples | Masthead](https://mastheadata.com/glossary/backfill.md): A backfill reruns a pipeline for past periods: to fill a gap after an outage, to load history for a new table, or to apply changed logic to old data. Done well it is idempotent and partition by partition; done badly it duplicates rows and scans all of history at once.
- [What Is Baseline slots? Definition and Examples | Masthead](https://mastheadata.com/glossary/baseline-slots.md): Baseline slots are the slots permanently allocated to a BigQuery reservation. They are always available to its jobs and always billed, used or not, so they suit steady workloads; capacity above the baseline comes from idle slots or the autoscaler. Only Enterprise and Enterprise Plus have them.
- [What Is BI Engine? Definition and Examples | Masthead](https://mastheadata.com/glossary/bi-engine.md): BigQuery BI Engine is an in-memory analysis service that caches frequently used table data and accelerates SQL queries from dashboards and other clients. You pay for reserved memory per project and region; the stages it accelerates scan 0 bytes on demand and use no reservation slots.
- [What Is BigQuery autoscaler? Definition and Examples | Masthead](https://mastheadata.com/glossary/bigquery-autoscaler.md): The BigQuery autoscaler adds slots to a reservation in steps of 50 when its jobs need more than the baseline, up to a maximum you set, and removes them when demand drops. You pay the edition's pay-as-you-go rate per second, with a 1-minute minimum unless fluid scaling is on.
- [What Is BigQuery editions? Definition and Examples | Masthead](https://mastheadata.com/glossary/bigquery-editions.md): BigQuery editions are the three tiers of capacity-based compute: Standard, Enterprise and Enterprise Plus. Each sets the price per slot-hour ($0.04, $0.06 and $0.10 pay-as-you-go in the US multi-region) and which features the reservations of that tier can use.
- [What Is BigQuery reservation? Definition and Examples | Masthead](https://mastheadata.com/glossary/bigquery-reservation.md): A BigQuery reservation is a named pool of slots, with an edition, baseline slots and an autoscaling limit, that you assign to projects, folders or an organization. Jobs from assigned projects run on those slots and are billed per slot-hour instead of per TiB scanned.
- [What Is BigQuery slot? Definition and Examples | Masthead](https://mastheadata.com/glossary/bigquery-slot.md): A BigQuery slot is a virtual unit of compute that BigQuery uses to run SQL queries and other jobs. On-demand projects get slots bundled into a per-TiB price; editions reservations pay for slot capacity by the slot-hour, so slot time, not bytes scanned, drives the bill.
- [What Is Change data capture (CDC)? Definition and Examples | Masthead](https://mastheadata.com/glossary/change-data-capture.md): Change data capture (CDC) reads inserts, updates and deletes from a source database's transaction log and streams them to another system, keeping a copy in sync without full reloads. On Google Cloud, Datastream replicates databases into BigQuery this way.
- [What Is Clustered table? Definition and Examples | Masthead](https://mastheadata.com/glossary/clustered-table.md): A clustered table in BigQuery stores rows sorted into blocks by up to four clustering columns. Queries that filter or aggregate on those columns skip blocks that cannot match, so they scan and bill fewer bytes; reclustering in the background is free.
- [What Is Column-level lineage? Definition and Examples | Masthead](https://mastheadata.com/glossary/column-level-lineage.md): Column-level lineage traces data between individual columns rather than whole tables: which source columns feed each target column and how. It shows exactly what breaks when a column changes and which upstream field caused a wrong value, at a much finer grain than table lineage.
- [What Is Committed use discount (CUD)? Definition and Examples | Masthead](https://mastheadata.com/glossary/committed-use-discount.md): A committed use discount (CUD) lowers BigQuery capacity prices in exchange for a 1- or 3-year commitment. BigQuery has spend-based CUDs (10% or 20% off pay-as-you-go capacity in any edition) and slot commitments, also called resource CUDs, for Enterprise and Enterprise Plus.
- [What Is Cost attribution? Definition and Examples | Masthead](https://mastheadata.com/glossary/cost-attribution.md): Cost attribution assigns data platform spend to whoever or whatever caused it: a project, a user or service account, a label, a pipeline, a table or a data product. On BigQuery it combines the Cloud Billing export with job and storage metadata from INFORMATION_SCHEMA.
- [What Is DAG (directed acyclic graph)? Definition and Examples | Masthead](https://mastheadata.com/glossary/dag.md): A DAG, or directed acyclic graph, is a set of steps connected by one-way dependencies with no cycles. Orchestrators such as Airflow, and transformation tools such as dbt and Dataform, use DAGs to decide what runs first, what can run in parallel and what a failure blocks.
- [What Is Data anomaly detection? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-anomaly-detection.md): Data anomaly detection automatically flags tables and pipelines that behave differently from their own history, such as late updates, unusual row counts, schema changes or new job failures, by learning normal patterns instead of relying on hand-written thresholds.
- [What Is Data catalog? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-catalog.md): A data catalog is a searchable inventory of an organization's data assets with their metadata: schemas, descriptions, owners, business terms, quality signals and lineage. On Google Cloud it is Knowledge Catalog, formerly Dataplex Universal Catalog.
- [What Is Data contract? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-contract.md): A data contract is an explicit, versioned agreement between the producer of a dataset and its consumers about its schema, meaning, quality and delivery, such as column types, allowed values, freshness and ownership, checked automatically so breaking changes are caught before they ship.
- [What Is Data downtime? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-downtime.md): Data downtime is the time during which data is missing, stale, incomplete or wrong, so the people and systems that depend on it cannot trust it. A common way to estimate it is the number of incidents multiplied by the time to detect plus the time to resolve each one.
- [What Is Data FinOps? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-finops.md): Data FinOps applies FinOps to the data platform: it makes warehouse compute, storage and pipeline spend visible per team, pipeline and data product, so engineers and finance can remove waste, pick the right pricing model and plan spend without slowing delivery.
- [What Is Data freshness? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-freshness.md): Data freshness is how recently a table received new data compared with when it should have. A table is stale when its last update is older than its expected schedule, which is usually the first visible sign of a broken or delayed pipeline.
- [What Is Data governance? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-governance.md): Data governance is the set of roles, policies and controls that decide who owns data, who may use it and how, and what quality, security and retention rules it must meet. On BigQuery it is enforced through IAM, policy tags, masking, row-level security, catalogs, audit logs and expiration settings.
- [What Is Data incident? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-incident.md): A data incident is an event in which data that people or systems depend on becomes missing, late, incomplete or wrong, such as a failed load, a stale dashboard table or a broken join. Handling it means detecting it, assessing impact, fixing the cause and telling the affected users.
- [What Is Data lakehouse? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-lakehouse.md): A data lakehouse stores data in open table formats such as Apache Iceberg on cheap object storage and adds warehouse features on top: transactions, schema evolution, fine-grained security and fast SQL. Several engines can then read and write one copy of the data.
- [What Is Data lineage? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-lineage.md): Data lineage is the map of where data comes from, how it is transformed and where it goes: which jobs read which tables to produce which tables, views and dashboards. It is used to find the root cause of bad data, assess the impact of changes and prove compliance.
- [What Is Data masking? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-masking.md): Data masking hides sensitive values while keeping data usable: readers see a null, hash, partial or default value instead of the original. BigQuery dynamic data masking applies a masking rule at query time based on who runs the query, using policy tags or a data policy set directly on a column.
- [What Is Data mesh? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-mesh.md): Data mesh is a decentralized approach to analytical data in which business domains own and publish their data as products, on a shared self-serve platform, under governance rules that are automated and agreed across domains, instead of one central team owning every pipeline.
- [What Is Data observability? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-observability.md): Data observability is the practice of continuously monitoring the health of data and the pipelines that produce it (freshness, volume, schema, errors and lineage) so teams find broken data before the people who use it do.
- [What Is Data pipeline? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-pipeline.md): A data pipeline is an automated sequence of steps that moves data from sources to destinations and transforms it on the way: ingest, clean, model and serve. Pipelines run on a schedule, on events or continuously, and are usually orchestrated as a DAG.
- [What Is Data product? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-product.md): A data product is a dataset or set of tables published for others to use, with a named owner, documentation, quality and freshness promises and a stable interface. It is managed like a product: it has consumers, a lifecycle and a cost, not just a pipeline behind it.
- [What Is Data quality dimensions? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-quality-dimensions.md): Data quality dimensions are the categories used to measure whether data is fit for use, most often accuracy, completeness, consistency, validity, uniqueness and timeliness or freshness, with volume often added for pipelines. Grouping rules by dimension shows what kind of quality problem a table has.
- [What Is Data quality? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-quality.md): Data quality is how well data fits the job it is used for: whether it is accurate, complete, consistent, valid, unique and on time. Teams measure it with rules and tests on the data itself and protect it with monitoring of the pipelines that produce it.
- [What Is Data reliability? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-reliability.md): Data reliability is the ability of a data platform to deliver correct, complete data on time, consistently, so people and systems can depend on it. It is measured with outcomes such as freshness, incident counts, time to detect and resolve, and SLOs met.
- [What Is Data SLA, SLO and SLI? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-sla.md): A data SLI is a measured indicator of a dataset's health, such as hours since last update. A data SLO is the target for it, such as updated by 07:00 UTC on 99% of days. A data SLA is the agreement with consumers built on those targets, including what happens when they are missed.
- [What Is Data volume anomaly? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-volume-anomaly.md): A data volume anomaly is an unexpected change in how many rows a table receives or holds, such as a daily load with half the usual rows, a sudden spike of duplicates or a table that shrank. Loads that succeed with the wrong amount of data are a common source of silent errors.
- [What Is Data warehouse? Definition and Examples | Masthead](https://mastheadata.com/glossary/data-warehouse.md): A data warehouse is a central analytical database that stores cleaned, integrated and historical data from many sources, organized for SQL analysis and reporting rather than for running transactions. BigQuery is a serverless cloud data warehouse with separate storage and compute.
- [What Is Dataform? Definition and Examples | Masthead](https://mastheadata.com/glossary/dataform.md): Dataform is Google Cloud's service for building SQL workflows in BigQuery: you define tables, views, incremental tables and assertions in SQLX files, and Dataform compiles them into a dependency graph and runs them in BigQuery. The service is free; you pay for the BigQuery queries it runs.
- [What Is dbt (data build tool)? Definition and Examples | Masthead](https://mastheadata.com/glossary/dbt.md): dbt (data build tool) turns SELECT statements into tables and views in the warehouse: you write models as SQL with Jinja templating, and dbt builds them in dependency order, tests them and documents them. On BigQuery it runs through the dbt-bigquery adapter.
- [What Is Dead-end table? Definition and Examples | Masthead](https://mastheadata.com/glossary/dead-end-table.md): A dead-end table is written to on a schedule but never read downstream: no query, dashboard or pipeline consumes it. You pay for the compute that rebuilds it and for its storage, so removing it usually saves more than removing a table that is merely unused.
- [What Is ELT (extract, load, transform)? Definition and Examples | Masthead](https://mastheadata.com/glossary/elt.md): ELT loads raw source data into the warehouse first and transforms it there with SQL, while ETL transforms data before loading it. Cloud warehouses such as BigQuery made ELT the default, because storage is cheap and SQL engines scale.
- [What Is BigQuery fluid scaling? Definition and Examples | Masthead](https://mastheadata.com/glossary/fluid-scaling.md): BigQuery fluid scaling is an opt-in, per-reservation setting that bills autoscaled slots per second with no minimum duration, instead of the default 1-minute minimum, and adjusts slot capacity from second to second. It keeps the 50-slot scaling steps and is generally available since June 2026.
- [What Is Idempotent data pipeline? Definition and Examples | Masthead](https://mastheadata.com/glossary/idempotent-pipeline.md): An idempotent data pipeline produces the same result whether a run executes once or several times for the same input. Retries, reruns and backfills then can't duplicate or corrupt data, which is what makes a pipeline safe to automate.
- [What Is Idle slots? Definition and Examples | Masthead](https://mastheadata.com/glossary/idle-slots.md): Idle slots are paid-for BigQuery slots that are not in use at the moment: committed slots not assigned to any baseline, and baseline slots their reservation is not using. By default other reservations in the same administration project and edition borrow them at no extra charge.
- [What Is Long-term storage? Definition and Examples | Masthead](https://mastheadata.com/glossary/long-term-storage.md): Long-term storage is BigQuery's lower storage rate for any table or partition not modified for 90 consecutive days: about half the active price, applied automatically, with no change in performance or durability. Any write to the table or partition resets its 90-day timer.
- [What Is Materialized view? Definition and Examples | Masthead](https://mastheadata.com/glossary/materialized-view.md): A BigQuery materialized view stores the precomputed result of a query, usually an aggregation, and keeps it up to date with incremental refreshes. Queries read the small stored result plus recent changes instead of the base table, which cuts bytes and slots for repeated dashboard queries.
- [What Is Medallion architecture? Definition and Examples | Masthead](https://mastheadata.com/glossary/medallion-architecture.md): Medallion architecture organizes a lakehouse or warehouse into three layers of increasing quality: bronze for raw data as ingested, silver for cleaned and conformed data, and gold for business-ready tables. Each layer is built from the one before it.
- [What Is Metadata? Definition and Examples | Masthead](https://mastheadata.com/glossary/metadata.md): Metadata is data about data: schemas, owners, descriptions, sizes, update times, query history, lineage and access rules. In BigQuery it comes from INFORMATION_SCHEMA views, job history and Cloud Audit Logs, and is enough to monitor freshness, cost and usage without reading table contents.
- [What Is MTTD and MTTR for data? Definition and Examples | Masthead](https://mastheadata.com/glossary/mttd-mttr.md): MTTD (mean time to detect) is the average time between a data problem starting and someone noticing it; MTTR (mean time to resolve) is the average time from detection to correct data being available again. Together they measure how long bad data affects its users.
- [What Is BigQuery on-demand pricing? Definition and Examples | Masthead](https://mastheadata.com/glossary/on-demand-pricing.md): BigQuery on-demand pricing bills each query for the bytes it processes: $6.25 per TiB in the US multi-region, with the first 1 TiB per month free. It is the default compute model; you pay nothing for idle time, and each project gets up to 2,000 concurrent slots.
- [What Is Partitioned table? Definition and Examples | Masthead](https://mastheadata.com/glossary/partitioned-table.md): A partitioned table in BigQuery is split into segments by a date, timestamp or integer column, or by ingestion time. Queries that filter on that column scan only the matching partitions, which cuts bytes billed, and each partition ages into long-term storage on its own.
- [What Is PII (personally identifiable information)? Definition and Examples | Masthead](https://mastheadata.com/glossary/pii.md): PII is data that identifies a person directly, such as a name, email or ID number, or in combination, such as birth date with postcode. In BigQuery you find it with Sensitive Data Protection and metadata, and protect it with policy tags, masking, row-level security, encryption and retention.
- [What Is Pipeline observability? Definition and Examples | Masthead](https://mastheadata.com/glossary/pipeline-observability.md): Pipeline observability is monitoring the jobs that move and transform data, not only the tables they produce: which runs failed, retried, slowed down or cost more than usual, what they wrote, and which downstream data they affect. It finds broken pipelines before broken tables reach users.
- [What Is Row-level security? Definition and Examples | Masthead](https://mastheadata.com/glossary/row-level-security.md): Row-level security limits which rows of a table each user can see. In BigQuery you create row access policies: each one grants a filter expression to a list of users or groups, and anyone not covered by any policy sees no rows at all, without an error.
- [What Is Schema change / schema drift? Definition and Examples | Masthead](https://mastheadata.com/glossary/schema-change.md): A schema change is any change to a table's structure: a column added, dropped, renamed or retyped, or a mode relaxed from REQUIRED to NULLABLE. Schema drift is the gradual, often unannounced accumulation of such changes in source data, which breaks or silently corrupts downstream pipelines.
- [What Is Semantic layer? Definition and Examples | Masthead](https://mastheadata.com/glossary/semantic-layer.md): A semantic layer defines business metrics, dimensions and joins once, in code, and translates requests from BI tools, notebooks or AI assistants into SQL against the warehouse, so everyone gets the same answer for the same metric. LookML in Looker is a widely used example.
- [What Is Showback and chargeback? Definition and Examples | Masthead](https://mastheadata.com/glossary/showback-and-chargeback.md): Showback reports each team's share of data platform cost back to it without moving money; chargeback bills that share to the team's own budget or cost center. Both rest on cost attribution, and most organizations run showback until teams trust the numbers.
- [What Is Slot commitment? Definition and Examples | Masthead](https://mastheadata.com/glossary/slot-commitment.md): A slot commitment (capacity commitment) is a purchase of BigQuery slots for 1 or 3 years at a discount to pay-as-you-go, in 50-slot increments. It covers the baseline slots of Enterprise and Enterprise Plus reservations, is billed for its whole term and cannot be cancelled early.
- [What Is Logical vs physical storage billing? Definition and Examples | Masthead](https://mastheadata.com/glossary/storage-billing-model.md): BigQuery bills storage either on logical (uncompressed) bytes, the default, or on physical (compressed) bytes, chosen per dataset. Physical costs twice as much per GiB but counts compressed bytes plus time travel and fail-safe, so it is cheaper when data compresses well and changes little.
- [What Is Time travel and fail-safe? Definition and Examples | Masthead](https://mastheadata.com/glossary/time-travel.md): Time travel lets you query or restore BigQuery data as it was at any point in the last 2 to 7 days (7 by default, set per dataset). Fail-safe keeps deleted data 7 more days for emergency recovery through Google support. Both are billed only under physical storage billing.
- [What Is Unit cost? Definition and Examples | Masthead](https://mastheadata.com/glossary/unit-cost.md): Unit cost is data platform spend divided by a unit of output or value, such as cost per data product, per pipeline run, per query or per TiB processed. It shows whether each unit gets cheaper as the platform grows, which a monthly total cannot.
- [What Is Unused table? Definition and Examples | Masthead](https://mastheadata.com/glossary/unused-table.md): An unused table is a table that no query has read within a reference window, such as the last 90 days. It still costs storage, and often a pipeline still refreshes it, so it is a first candidate for an expiration, archiving or deletion.
