Compare / BigQuery vs Bigtable

BigQuery vs Bigtable

Both store huge amounts of data, but they answer different questions. BigQuery is a serverless analytics warehouse queried with SQL; Bigtable is a wide-column NoSQL database for fast reads and writes by key. Bigtable also supports GoogleSQL, so choose by the workload and access pattern rather than SQL support alone.

In 65 practice questions across 10 practice banks

Professional Data Engineer Original practice scenario

A device platform stores a continuous stream of readings. Its application must retrieve the latest readings for one device by key with low latency. It does not need ad-hoc joins across all devices. Which service fits this access pattern?

  1. BigQuery fits analytical scans and aggregations. It is not the first choice for serving low-latency reads by device key.

  2. Bigtable fits high-throughput operational data with row-key access. Design the row key to support device lookups and avoid hotspots.

Pick an answer to see why each option is right or wrong.

Try 20 questions free

At a glance

BigQueryBigtable
WorkloadAnalytics: scans, aggregations, joinsOperational: high-throughput reads and writes by key
Query modelStandard SQLRow-key lookups and scans; GoogleSQL and HBase-compatible APIs
LatencySeconds for large analytical queriesDesigned for low-latency row access; latency depends on workload
SchemaTables with typed columns; nested and repeated fieldsSparse rows; column families; one indexed row key
ScalingServerless; slots allocated per query or reservationAdd nodes to a cluster; throughput scales with nodes
Typical useBI dashboards, reporting, ML in SQLTime series, IoT, ad tech, personalization

Choose BigQuery when

  • Analysts need ad-hoc SQL over terabytes or petabytes.
  • The workload is batch or interactive analytics, not serving an application.
  • You want no infrastructure to manage and pay per query or per slot.

Choose Bigtable when

  • An application needs consistent low-latency reads and writes at very high throughput.
  • Access is by a known key or key range, such as device ID plus timestamp.
  • You are migrating an HBase workload.

Exam tip

If a question mentions millisecond latency, high write throughput or time-series data served to an app, think Bigtable. If it mentions SQL analysis, reporting or a data warehouse, think BigQuery. For Bigtable, row-key design (avoiding hotspots from sequential keys) is a frequent follow-up.

Official documentation