Bird
0
0

You notice that your Bigtable cluster has hotspots causing slow queries. Which schema design change can help fix this?

medium📝 Debug Q14 of 15
GCP - Cloud Firestore and Bigtable
You notice that your Bigtable cluster has hotspots causing slow queries. Which schema design change can help fix this?
AUse a sequential numeric row key
BAdd a random prefix to the row key
CGroup all columns into one column family
DRemove timestamps from row keys
Step-by-Step Solution
Solution:
  1. Step 1: Identify cause of hotspots

    Sequential row keys cause data to cluster on few nodes, creating hotspots.
  2. Step 2: Apply solution to distribute load

    Adding a random prefix spreads data across nodes, balancing load and reducing hotspots.
  3. Final Answer:

    Add a random prefix to the row key -> Option B
  4. Quick Check:

    Random prefix = balanced load, fewer hotspots [OK]
Quick Trick: Randomize row keys to avoid hotspots [OK]
Common Mistakes:
  • Using sequential keys which cause hotspots
  • Grouping columns doesn't fix hotspots
  • Removing timestamps reduces query flexibility

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes