Skip to main content
InterviewHubPRO
Section Overview
Q36

Question 36 of 50

Part 3: Advanced Optimization, Scale & Cortex AI (25 - 35)

72%
Snowflake Data Cloud (50 Qs)•Part 3: Advanced Optimization, Scale & Cortex AI (25 - 35)

Snowflake Micro-Partitions and Automated Clustering: Physical layout and clustering depth.

senior LevelPerformance

In Simple Words: Unlike traditional databases where DBAs manually create disk partitions (e.g. by year or month), Snowflake automatically divides all table data into contiguous Micro-Partitions:

  • Each micro-partition contains 50 MB to 500 MB of uncompressed data stored in proprietary columnar compressed format.
  • Immutable & Stateless: Micro-partitions are write-once; updates write new micro-partitions.
  • Clustering Depth: Measures how well data is aligned along query filter keys. For multi-terabyte tables with high clustering depth, you can define an explicit Clustering Key (CLUSTER BY (order_date, customer_id)), enabling the background Automated Clustering service to reorganize micro-partitions for optimal pruning.