47Walk me through reading an EXPLAIN ANALYZE plan to find why a query is slow.▼hardSnowflakeDatabricksStripe2 replies◆ premiumEveryone says 'add an index,' but a strong engineer reads the plan first. The signal is finding the dominant operator, comparing estimated vs actual rows, and recognizing 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◆ premiumPartition on the wrong key and you get millions of tiny files or skewed giants. The signal is partitioning on a low-cardinality filter, clustering within partitions on the next predicate, and watching file size.Open full answer →