Docs
Docs /Data Management /Storage statistics
Data ManagementStorage

Storage statistics

How much a project, dataset or table costs to keep (logical vs physical bytes, active vs long-term, time travel and fail-safe), and whether switching the dataset's billing model would save money. Per-column sampling shows which columns are worth shrinking.

dim_vehicle · Storage
Vehicle Dimension×
DETAILSSCHEMAPREVIEWSTORAGE
Total Rows136,292,501
Logical Storage25.64 GB
Physical Storage5.71 GB
Compression Rate4.49x
Storage Billing ModelPHYSICAL
Storage Breakdown×
DETAILSSCHEMAPREVIEWSTORAGE
Active Physical5.71 GB (100.0%)
Long-term Physical0.00 GB (0.0%)
Time Travel (7 days)0.00 GB (0.0%)
Fail-safe0.00 GB (0.0%)
Table level. Breakdown percentages are of total physical bytes.

Opening it

Right-click a project, dataset or table in the schema tree → Show Details, then the Storage sub-tab. Each level answers a different question.

  • Project: totals across datasets, a dataset grid (tables, rows, logical/physical GB, average compression, cost columns) and a table grid.
  • Dataset: a cost summary for the dataset’s billing model, and one row per table.
  • Table: summary tiles, the storage breakdown above, and on-demand column analysis.

Numbers come from INFORMATION_SCHEMA.TABLE_STORAGE (dataset) or TABLE_STORAGE_BY_PROJECT (project), joined with TABLE_OPTIONS for partition expiration. A toggle switches between SQL (billed, fast — you see the dry-run estimate and confirm with Run) and API (free, slower on big datasets). For bigquery-public-data, whose INFORMATION_SCHEMA you can’t query, the app reads a nightly mirror maintained by Querylab.io.

Billing model comparison

The dataset view prices your storage under both models and tells you which is cheaper:

Cost Summary×
DETAILSSCHEMAPREVIEWSTORAGE
Current billing modelLOGICAL
Total logical storage412.8 GB
Total physical storage96.1 GB
Monthly cost$9.49/month
If switched to: PHYSICAL$3.84/month · Would save $5.65 (59.5%)
Dataset cost summary. Click the 'If switched to' block to get the ALTER SCHEMA statement in a new tab.
ModelWhat’s billedFree
LogicalActive + long-term logical bytesTime travel, fail-safe
PhysicalActive + long-term physical bytes, plus time travel and fail-safe at the active rate

Prices are per region (us-central1: $0.023/$0.016 per GiB logical active/long-term, $0.04/$0.02 physical). Long-term means not modified for 90 days. Well-compressed tables usually win on physical; tables with heavy time-travel churn don’t.

Column analysis

On a table, expand Analysis Options and click Analyze. Logical bytes per column are exact; physical bytes and compression are estimated by sampling the table, so the grid marks them (est.).

Analysis Options
Partition Scan
All Partitions (slow on large tables)
Last 7 days
Last 30 days
Last 180 days
Analyze Physical Storage
Sampling Strategy
Hybrid (70% newest + 30% random)Best for most tables. Combines recent data with random sampling.
Newest data only (100% from end)Good for append-only tables.
Random probes (100% scattered)Good for uniform data distribution.
Sample Size
Fast500 samples per column
Standard1000 samples per column
Thorough2000 samples per column
Analysis Options. Defaults shown.

The column grid has: Level, Column, Type, Compression, Logical (GB), % of Parent, Physical (GB), % of Parent, Cost (Logical), Cost (Physical), NULL %. % of Parent is relative to the enclosing STRUCT, so nested fields add up to their parent; filter by level to flatten deep schemas.

Shrinking UUID and hash columns

Columns holding UUIDs or hex hashes (MD5, SHA-256) as STRING get a recommendation with a priority: FARM_FINGERPRINT (INT64, roughly 80% smaller) or BYTES (16 bytes, roughly 60% smaller), each with the estimated saving, collision risk and a ready migration script. Columns where the change wouldn’t save more than 0.1 GB are left alone.

ColumnTypeLogical (GB)NULL %Recommendation
1vehicle_idSTRING5.210FARM_FINGERPRINT (INT64) · HIGH
2session_hashSTRING2.043.1BYTES (16 bytes) · MEDIUM
3makeSTRING0.380

Column reports count against the free tier (N of M free reports this month) and are saved under Recent Reports so you can reopen one without resampling.