Skip to main content

Snowflake Architecture

Snowflake uses a distinctive architecture called "multi-cluster shared data." Storage, compute, and management functions are separated into three layers, and this separation is what gives Snowflake its elasticity and operational simplicity.

The three-layer architecture at a glance​

LayerRole
StorageStores data in cloud object storage in a columnar, compressed format. Managed by Snowflake
ComputeVirtual warehouses execute queries. Each can start, stop, and scale independently
Cloud servicesAuthentication, metadata management, query parsing and optimization, transaction management, and more

Separation of storage and compute​

Benefits of the separation​

  • Independent scaling: growing data does not require more compute, and growing workloads do not require more storage.
  • Workload isolation: separate virtual warehouses for loading, BI, and data science prevent queries from competing for resources.
  • Alignment with usage-based pricing: compute can be suspended when not in use, costing nothing while idle (data remains intact).
  • Automated maintenance: no data movement is needed when adding nodes or rebalancing data; Snowflake handles it transparently.

Comparison with traditional architectures​

ApproachCharacteristicsLimitations / advantages
Shared diskMultiple nodes share the same storageStorage bandwidth tends to be the bottleneck and scales poorly for large analytics
Shared nothing (MPP)Data is distributed across nodes (classic MPP data warehouses)Storage and compute are tightly coupled; scaling is per node, and idle nodes still cost money
Snowflake (multi-cluster shared data)Data lives in shared storage; independent clusters process queriesStorage and compute scale independently, you pay for what you use, and Snowflake automates data placement and maintenance

Micro-partitions and metadata​

Snowflake automatically partitions table data into small units called micro-partitions.

  • A micro-partition holds roughly 50 MB to 500 MB of uncompressed data, stored in a columnar, compressed format.
  • Micro-partitions are immutable. INSERT, UPDATE, and DELETE operations replace the affected partitions with new ones.
  • Each partition carries metadata such as per-column minimum and maximum values, null counts, and distinct-value counts.
  • At query time, this metadata is used to skip partitions that do not need to be read (pruning). This is the foundation of Snowflake's query performance.
  • You never design or manage partitions or indexes yourself. When data is naturally skewed, clustering keys control the storage order (see Clustering and Pruning for details).

The role of the cloud services layer​

The cloud services layer is Snowflake's "brain" and handles tasks such as:

  • User authentication and access control (evaluating roles and privileges)
  • Metadata management (table definitions, micro-partition statistics)
  • Query parsing and optimization (building execution plans, deciding pruning)
  • Transaction management (guaranteeing ACID properties)
  • Metadata operations such as Time Travel and zero-copy cloning
  • Applying security features (encryption, masking, and more)
Cloud services billing

The cloud services layer also consumes compute, but you are only charged for usage exceeding 10% of your daily compute consumption (in normal use, this adds virtually no extra cost).

Availability and durability​

  • Data is stored in the cloud provider's object storage, benefiting from the provider's redundancy and high durability.
  • Encryption at rest and in transit is always applied.
  • Compute failures are handled by the service; no special action is required on your side.
  • For region-wide failures, configure database replication and failover (see Replication and Failover).

Summary​

Snowflake's performance, flexibility, and ease of operation come down to two design choices: the separation of storage and compute, and automatic optimization through micro-partitions plus metadata. Understanding this architecture makes the individual tuning features (clustering, caching, warehouse design, and so on) much easier to learn.


References​