Deciding how normalized or denormalized a schema should be
Choosing a normalization level in Google Cloud means balancing storage engine strengths: normalized (relational) schemas reduce redundancy and preserve strong consistency, while denormalized schemas trade storage/duplication for read performance and simpler queries, especially at scale. The right choice depends on the target service (Cloud SQL/Spanner vs BigQuery/Bigtable/Firestore) and the read/write pattern of the workload.
1 · Learn the must-know
- Cloud SQL and Cloud Spanner favor normalized, relational schemas because they enforce ACID transactions, foreign keys, and joins efficiently at OLTP scale.
- BigQuery generally performs better with denormalized schemas using nested and repeated fields (STRUCT/ARRAY) because it avoids expensive joins across large columnar tables and reduces query cost/latency.
- Bigtable requires denormalization by design since it has no joins or secondary indexes, so query patterns must be baked into the row-key and column-family structure upfront.
- Firestore/Datastore workloads typically denormalize by duplicating data across documents to avoid costly multi-read joins, at the expense of eventual consistency during updates to duplicated fields.
- Highly normalized schemas reduce storage and update anomalies but increase join complexity and can hurt performance/cost in distributed, large-scale analytical systems like BigQuery.
- A common exam pattern is matching workload type to schema style: OLTP/transactional and strong consistency needs favor normalization, while OLAP/analytical and high-read-throughput NoSQL needs favor denormalization.
2 · Check your understanding
A retail analytics team is designing a BigQuery dataset to power daily sales dashboards. Source data arrives as normalized OLTP tables (orders, order_items, products, customers) replicated from Cloud SQL. Query patterns mostly aggregate metrics per order along with item-level detail, and the data is loaded once daily via batch ETL. The team wants to minimize dashboard query cost and latency. What should they do regarding the degree of normalization when modeling the BigQuery tables?
What you have tried across GCP PDE's objectives, not a readiness score.
Designing data processing systems~22% of the exam0 of 17 tried
Ingesting and processing the data~25% of the exam0 of 11 tried
Storing the data~20% of the exam0 of 13 tried
Preparing and using data for analysis~15% of the exam0 of 11 tried
Maintaining and automating data workloads~18% of the exam0 of 15 tried
3 · Keep going
Ready for more? Take a weighted mock or try free practice questions.