D1: Spanner & Bigtable Schema Design
Google Cloud Professional Cloud Database Engineer exam practice questions · 11 flashcards
Question
What causes Spanner hotspots?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Spanner & Bigtable Schema Design practice questions and answers
- What causes Spanner hotspots?Monotonically increasing primary keys (timestamps, sequential IDs).
- How to avoid Spanner hotspots?UUIDv4, bit-reversed sequences, hashed or swapped key order.
- What is table interleaving in Spanner?Storing child rows physically with parent rows for efficient joins.
- What are Spanner splits?Ranges of rows Spanner distributes across servers automatically.
- What is Spanner Data Boost?Independent compute for analytics queries without impacting OLTP.
- What are Spanner change streams?Capture data changes for downstream processing.
- What is a Bigtable row key?The only indexed field; determines data distribution and query efficiency.
- Bigtable row key best practices?Avoid sequential keys; use field promotion/reversed or salted keys; keep keys short.
- What is Key Visualizer?Heatmap tool to find hotspots and access patterns in Bigtable and Spanner.
- Tall vs wide tables in Bigtable?Tall (many rows, few columns) is usually better for time series.
- Bigtable consistency with replication?Eventual by default; single-cluster routing for read-your-writes.