I have various posts on this site that talk to indexes. But Snowflake’s indexing and search approach is quite different from traditional approaches like B-trees. It doesn’t maintain B-tree indexes like row-based relational databases, like MySQL or PostgreSQL.
Snowflake doesn’t allow users to create their own indexes, such as B-trees or hash structures. Instead, it automatically manages indexing through metadata, optimising queries without manual intervention.
Micro-Partitioning
Data is stored in immutable micro-partitions (50–500 MB compressed).
Each micro-partition stores columnar data and column-level min/max statistics in metadata.
When you query:
Snowflake’s metadata service prunes partitions that can’t possibly match your query (min/max elimination).
This is effectively an automatic range index at the partition level.
You must be logged in to post a comment.