PROVIDER - Cloud data warehouse with separated storage and compute
Snowflake
Snowflake made separated storage and compute with per-second billing the industry standard, letting virtual warehouses share one dataset across teams while zero-copy clones and data sharing cut collaboration cost.
Service Overview
Snowflake was founded in 2012 and listed on the NYSE in 2020, the first to standardise a cloud warehouse with fully separated storage and compute billed by the second, running on AWS, Azure, and GCP for customers across retail, finance, SaaS, and media.
For Backend & Database work the core value is many teams sharing one dataset without competing for resources, since storage is unified while compute runs in virtual warehouses per team, zero-copy clones spawn development environments instantly, and data sharing exposes tables to other accounts without moving data.
Cost needs active management, because credit billing scales with warehouse size and runtime and forgetting to suspend an idle warehouse is the most common overspend, and it is fundamentally a warehouse rather than an OLTP database, unsuited to high-concurrency point lookups or transactions.
Key Strengths
- Separated storage and compute with per-second billing lets warehouses start, stop, and scale independently
- Zero-copy clones create development and test environments instantly without duplicating data
- Native data sharing and Marketplace exchange data across organisations without movement
- Semi-structured VARIANT data plus Snowpark push Python, Java, and Scala compute into the platform
Product Ecosystem
Virtual warehouses and compute
Sizes from XS to 6XL with multi-cluster configuration isolate concurrency per workload.
Data sharing and Marketplace
Secure views or direct table sharing enable cross-account exchange, a common channel for finance and retail data partnerships.
Snowpark and Cortex
Snowpark runs multi-language UDFs and pipelines while Cortex exposes managed model functions callable from SQL.
Limitations
- Credit billing runs away easily when idle warehouses stay running
- An analytical warehouse unsuited to high-concurrency lookups and OLTP
- Cross-cloud and egress fees are significant for multi-cloud setups
- Regional availability and compliance in some markets trail local providers
Use Cases
- Enterprise BI and warehousing (★★★★★) - Separated compute with team isolation
- Cross-organisation data sharing (★★★★★) - Movement-free secure sharing
- Semi-structured log analysis (★★★★) - VARIANT storage and querying
- High-concurrency transactional workloads (★) - Use an OLTP database
Pricing
| Plan | Price | Scope |
|---|---|---|
| Standard | Per credit from about USD 2 | Core features with per-second billing |
| Enterprise | About USD 3 per credit | Multi-cluster warehouses and time travel |
| Business Critical | About USD 4 per credit | Private connectivity and stronger compliance |
Cost follows warehouse size times runtime, with an XL warehouse burning about eight credits an hour, so control it through 60-second auto-suspend, per-team warehouses, resource monitors with query timeouts, and smaller warehouses for ETL.
FAQ
-
Snowflake or BigQuery? Snowflake for multi-cloud deployment, mature sharing, and precise compute isolation, BigQuery for deep GCP investment with serverless per-query billing.
-
How are credits saved? Set 60-second auto-suspend, avoid oversized warehouses for small queries, add resource monitors and statement timeouts, and split ETL from BI onto separate warehouses.
-
Can it serve as an application database? Not advised, since it is an analytical warehouse without high-concurrency lookup tuning or full transactional semantics, so keep PostgreSQL or MySQL for application data.
Code Examples
Create a table, insert rows, and aggregate
CREATE OR REPLACE TABLE orders (
id NUMBER AUTOINCREMENT,
customer STRING,
amount NUMBER(12,2),
created_at TIMESTAMP_NTZ DEFAULT CURRENT_TIMESTAMP()
);
INSERT INTO orders (customer, amount)
VALUES ('acme', 199.00), ('globex', 88.50);
SELECT customer, SUM(amount) AS total
FROM orders
GROUP BY customer
ORDER BY total DESC;
Set USE WAREHOUSE and USE ROLE before DDL, otherwise it fails on permissions or missing compute; STRING and NUMBER are the case-insensitive Snowflake types.
Run queries with the Python connector against a warehouse and role
import os
import snowflake.connector
conn = snowflake.connector.connect(
account=os.environ["SNOWFLAKE_ACCOUNT"],
user=os.environ["SNOWFLAKE_USER"],
password=os.environ["SNOWFLAKE_PASSWORD"],
warehouse="COMPUTE_WH",
database="ANALYTICS",
schema="PUBLIC",
role="SYSADMIN",
)
with conn.cursor() as cur:
cur.execute("SELECT CURRENT_VERSION(), CURRENT_WAREHOUSE()")
print(cur.fetchone())
cur.execute("SELECT COUNT(*) FROM orders")
print(cur.fetchone())
conn.close()
Billing follows warehouse uptime, so close connections promptly to stop idle compute; bulk loads through a stage with COPY INTO cost far less than row-by-row INSERT.
Community & Resources
Communities and official channels
- Official documentation — The authoritative manual for SQL reference, access control, and warehouse management.
- GitHub connector repository — Python connector source and changelog.
- Snowflake community — The vendor community with questions, knowledge base, and release announcements.
- Stack Overflow: snowflake-cloud-data-platform — Questions on grants, warehouses, and semi-structured data.
Learning resources and tools
- Python connector guide — Installation, connection parameters, and pandas integration.
- SQL constructs reference — Syntax rules for aggregation, window, and semi-structured queries.
- Official quickstarts — Runnable end-to-end example repository.