47Walk me through reading an EXPLAIN ANALYZE plan to find why a query is slow.▼hardSnowflakeDatabricksStripe2 replies◆ premiumThe reflex is 'add an index,' but a good engineer reads the plan before touching anything. The signal is spotting the operator that dominates runtime, comparing estimated against actual rows, and knowing the seq-scan, bad-join, and spill patterns.Open full answer →
48How do you choose a partitioning and clustering strategy for a large analytics table?▼hardSnowflakeDatabricksGoogle1 replies◆ premiumPick the wrong partition key and you end up with millions of tiny files or lopsided giants. The signal is partitioning on a low-cardinality filter, clustering inside partitions on the next predicate, and keeping an eye on file size.Open full answer →