
Answer-first summary for fast verification
Answer: Group related columns into a column family within a single table.
To optimize read performance in Bigtable, related columns should be grouped into a column family. This approach allows for efficient data retrieval as a single table can contain multiple column families, keeping related data together without the need for multiple tables or secondary indexes, which Bigtable does not support. Row keys are designed for individual rows, not for grouping column families. For more details, refer to [Google Cloud's Bigtable schema design best practices](https://cloud.google.com/bigtable/docs/schema-design#best-practices).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
When designing a Bigtable schema with several groups of columns that are frequently used together, how should you organize these groups to optimize read performance according to Google Cloud's best practices?
A
Define a separate row key for each group.
B
Create secondary indexes that include all columns in a group, one for each group.
C
Place each group of related columns in a separate table.
D
Group related columns into a column family within a single table.
No comments yet.