What is a micro-partition in Snowflake, and what kind of metadata is stored with each micro-partition?

Quick Overview

Asks what a Snowflake micro-partition is and which metadata Snowflake keeps for each one. Tests understanding of columnar storage in a cloud data warehouse, how queries skip data they do not need, clustering, and the cost of changing immutable data.

What is a micro-partition in Snowflake, and what kind of metadata is stored with each micro-partition?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: easy

Interview Round: Other

What is a micro-partition in Snowflake, and what kind of metadata is stored with each micro-partition? ```hint Think about skipping data Ask what Snowflake would need to know about each storage unit to skip it, without opening it, when a query has a WHERE filter. ``` ### What a Strong Answer Covers - What a micro-partition is: its size range, columnar layout, compression, immutability and automatic creation - The metadata kept for each micro-partition and where it is stored - How that metadata lets a query skip micro-partitions, and how clustering affects it - Practical consequences, such as the cost of updates and how to check pruning for a query ### Follow-up Questions - How does an UPDATE to a single row affect the micro-partitions of a table? - What is clustering depth, and when would you define a clustering key on a table? - Why might a query that filters on a date column still scan every micro-partition? - Which queries can Snowflake answer from metadata alone, without scanning any data?

Overview: Asks what a Snowflake micro-partition is and which metadata Snowflake keeps for each one. Tests understanding of columnar storage in a cloud data warehouse, how queries skip data they do not need, clustering, and the cost of changing immutable data.

General logo
General
Nov 24, 2026
easyData ScientistOtherData Manipulation (SQL/Python)
0
0

What is a micro-partition in Snowflake, and what kind of metadata is stored with each micro-partition?

What a Strong Answer Covers Guidance

  • What a micro-partition is: its size range, columnar layout, compression, immutability and automatic creation
  • The metadata kept for each micro-partition and where it is stored
  • How that metadata lets a query skip micro-partitions, and how clustering affects it
  • Practical consequences, such as the cost of updates and how to check pruning for a query

Follow-up Questions Guidance

  • How does an UPDATE to a single row affect the micro-partitions of a table?
  • What is clustering depth, and when would you define a clustering key on a table?
  • Why might a query that filters on a date column still scan every micro-partition?
  • Which queries can Snowflake answer from metadata alone, without scanning any data?