Skip to content

Lab 14 — Beyond PostgreSQL

Re-evaluate the same workload against each engine's storage and execution model.

  • BigQuery: partition pruning, clustering, bytes scanned, slots, and cost.
  • MongoDB: document boundaries, compound indexes, explain(), and pipeline stage ordering.
  • Cassandra: partition-key-first modeling, clustering keys, bounded partitions, and denormalized query tables.

The exercise is not to translate SQL mechanically. State which assumptions from PostgreSQL no longer hold and redesign one e-commerce access pattern for each engine.

After completing the comparison, proceed to the final production simulation.

Previous: Advanced execution · Next: Final simulation