menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Understand...
source image

Self-Learning-Java

2d

read

177

img
dot

Image Credit: Self-Learning-Java

Understanding total_logical_bytes vs total_billable_bytes in BigQuery

  • total_logical_bytes represents the uncompressed size of data stored in BigQuery before internal compression, used to calculate storage charges based on logical size.
  • total_billable_bytes specifies the amount of data scanned/processed by a SQL query, used for calculating query costs under the on-demand pricing model.
  • Understanding these metrics is crucial for cost optimization in BigQuery, where storage costs are based on logical bytes stored, while query costs are based on the data processed.
  • To view total_logical_bytes and total_billable_bytes for a table, you can execute a SELECT query on INFORMATION_SCHEMA.PARTITIONS for the specific table.

Read Full Article

like

10 Likes

For uninterrupted reading, download the app