home
diamond Go Premium
Data Engineering Path  ·  Snowflake

Snowflake Architecture

Snowflake uses a patented hybrid three-layer architecture designed to combine the advantages of shared-disk and shared-nothing storage structures.

graph TD
    UI[Cloud Services: Optimization, Security, Metadata]
    UI --> CW1[Virtual Warehouse A - Compute]
    UI --> CW2[Virtual Warehouse B - Compute]
    CW1 --> CS[Centralized Hybrid Columnar Storage]
    CW2 --> CS

The Three Architecture Layers

1. Database Storage (Centralized)

When data is loaded into Snowflake, it is reorganized into a proprietary columnar, optimized, compressed format called micro-partitions.

  • Immutable Storage: Micro-partitions are immutable, enabling safe concurrency, Time Travel, and Fail-Safe.
  • Automatic Clustering: Data is clustered based on natural load orders or specified clustering keys.
  • Cloud Object Storage: Backed by standard cloud storage services (AWS S3, Azure Blob, or Google Cloud Storage).

2. Query Processing (Compute)

Query execution is handled by MPP (Massively Parallel Processing) compute clusters known as Virtual Warehouses.

  • Isolation: Each warehouse is isolated from others; they do not share compute resources and have no resource contention.
  • Dynamic Scaling: Warehouses can be resized dynamically (e.g. Small to X-Large) or auto-scaled (multi-cluster) instantly.
  • Ephemeral Caching: Warehouses cache data on SSDs locally to speed up subsequent queries.

3. Cloud Services (The Brain)

A collection of stateless services running across multiple availability zones coordinating operations. It manages:

  • Metadata: Micro-partition locations, stats, transaction logs.
  • Security & Access: User authentication, RBAC authorization, end-to-end data encryption.
  • Query Optimization: Parser, cost-based optimizer, and execution plan generation.
lock

This content is reserved for Premium Members.

Upgrade to Premium

Entity Details

Create New Item

help

Submit Technical Query

Have a question or run into an issue? Describe it below, upload an optional screenshot, and our engineering team will answer it!

image Attach image (optional)

Submit Feedback

build Free Developer Utility Free Tool
gavel

Privacy & Legal Disclaimer

1. Client-Side Browser Processing

All utility tools on DeepEngineerHub (including Image to PDF, Text Formatters, JSON Converters, and Encryptors) execute 100% locally within your client browser using WebAssembly and JavaScript. No uploaded images, text, or documents are transmitted, collected, or stored on remote servers.

2. Limitation of Liability ("As-Is" Provision)

Tools and services are provided free of charge for convenience and educational purposes "as-is" without warranties of any kind. DeepEngineerHub shall not be held liable for any data loss, formatting inconsistencies, or indirect damages resulting from tool usage.

3. Open Source & Third-Party Software

Certain utilities utilize open-source client libraries (such as jsPDF, Mermaid.js, Pyodide) licensed under MIT, Apache, or BSD open licenses. All intellectual property remains with their respective copyright holders.