Compare / Firestore vs Bigtable
Firestore vs Bigtable
Choose Firestore for document-shaped application data, indexed field queries and transactions across documents. Choose Bigtable for sustained high-throughput access organized around row keys or key ranges, such as device readings. Both scale; database size alone does not decide between them.
In 26 practice questions across 8 practice banks
You are developing a new mobile game that will be deployed on GKE and Cloud Run as a set of microservices. Currently, there are no projections for the game’s user volume. You need to store the following data types: • Data type 1: leaderboard data • Data type 2: player profiles, chats, and news feed • Data type 3: player clickstream data for BI You need to identify a data storage solution that is easy to use, cost-effective, scalable, and supports offline caching on the user’s device. Which data storage option should you choose for the different data types?
-
Memorystore lacks offline-capable client libraries.
-
Spanner has no offline caching, and Bigtable is wrong for BI feeds.
-
Cloud SQL likewise cannot do device-side offline caching.
-
Firestore covers leaderboard + profiles; BigQuery covers BI.
Pick an answer to see why each option is right or wrong.
Try 20 questions freeAt a glance
| Firestore | Bigtable | |
|---|---|---|
| Data model | Documents in collections | Rows with column families, one row key |
| Queries | Indexed queries on document fields | Row-key lookups and scans; GoogleSQL also available |
| Transactions | Transactions across documents | Atomic operations within a single row |
| Scale sweet spot | Application data, user profiles, catalogs | Very large data with millions of operations per second |
| Operations | Serverless | Provisioned nodes |
| Clients | Mobile and web SDKs, offline sync, real-time listeners | Server-side clients, HBase API |
Choose Firestore when
- A web or mobile app needs flexible document storage and real-time updates.
- You need queries on several fields and ACID transactions.
- You want serverless scaling without capacity planning.
Choose Bigtable when
- Throughput and data volume are very large, as with time series or IoT.
- Access is by row key or contiguous key ranges.
- You need consistent low latency at sustained high write rates.
Exam tip
A catalog queried by several indexed fields points to Firestore; a device-history service reading device ID and time ranges points to Bigtable. Multi-document transactions also favor Firestore. Bigtable SQL support does not remove the need to design row keys around access patterns.
Official documentation
Practice banks covering this comparison
Counts match names or aliases from both sides of the comparison in question text or answer options, including incorrect options. They do not measure how often a decision appears on the official exam.
- PCDE Professional Cloud Database Engineer · 9 questions
- PCD Professional Cloud Developer · 8 questions
- ACE Associate Cloud Engineer · 4 questions
- PDE Professional Data Engineer · 1 question
- PCA Professional Cloud Architect · 1 question
- ADP Associate Data Practitioner · 1 question
- PMLE Professional Machine Learning Engineer · 1 question
- CDL Cloud Digital Leader · 1 question
More comparisons
- BigQuery vs Bigtable
- Memorystore vs Firestore
- Spanner vs Bigtable
- Firestore vs Cloud SQL
- Dataflow vs Dataproc
- Spanner vs Cloud SQL
- Cloud Run vs GKE
- Cloud Composer vs Workflows
- Cloud SQL for PostgreSQL vs AlloyDB
- Shared VPC vs VPC Network Peering
- Cloud VPN vs Cloud Interconnect
- Cloud Storage classes: Standard, Nearline, Coldline or Archive?
- Cloud Run functions vs Cloud Run services
- Cloud Armor vs VPC firewall rules
- Looker vs Looker Studio
- Pub/Sub vs Cloud Tasks
- App Engine vs Cloud Run
- Google-managed keys vs Customer-managed keys (CMEK)
- Identity-Aware Proxy vs VPN
- Compute Engine vs GKE
- BigQuery vs Cloud SQL
- Dataproc vs BigQuery
- GKE Autopilot vs Standard: which mode to choose?
- Vertex AI vs BigQuery ML
- VPC Service Controls vs IAM
- Private Google Access vs Cloud NAT