Skip to content
TeachTrails
Data EngineeringSnowflake

What is Snowflake? A Beginner's Guide to the Cloud Data Warehouse

What Snowflake is in plain English: a cloud data warehouse with separate storage and compute, pay-per-second warehouses, and your first real queries on free sample data.

Sukanya Saha, Technology Consultant

10 min read

Beginner friendly

Start with a story: ShopKart grows up

ShopKart is a small online shop in India that sells electronics, fashion and home goods to customers in Kolkata, Mumbai, Delhi, Bengaluru and Pune. It's the same shop you met in our SQL, Python and Databricks courses.

At first, the team answered questions straight from the app's PostgreSQL database. Then three things happened:

  • Reports got slow. A “revenue by city for the year” query made the app itself slow for real customers. 🐢
  • Data came from more places: the app, the payment company, website clicks, a supplier's CSV files.
  • More people wanted answers: finance, marketing, the founders, and soon an AI model.

ShopKart needs one place where all this data lives, cleaned up, that many people can query at once without slowing anything down. That place is a data warehouse, and Snowflake is one of the most popular ones.

📊 Where Snowflake fits at ShopKart

Sources

App database, payments, clicks, supplier CSV files

Load

Files land in Snowflake (lesson 4)

Transform

SQL turns raw data into clean tables

Use

Dashboards, reports, data science, AI

What makes Snowflake different

Older warehouses ran on a fixed set of servers in your own data centre. When the finance team ran a huge report at month end, everybody else waited. Adding power meant buying hardware. Snowflake, launched in 2014 and built only for the cloud, changed that with one big idea:

📊 Storage and compute, separately

Storage

Your tables, kept once

Compressed, columnar files

Managed by Snowflake in cloud storage (S3, Azure Blob, Google Cloud Storage)

Paid per TB per month

Roughly what the cloud charges for storage

Compute: virtual warehouses

As many as you need

ETL warehouse

Loads and transforms data at night

BI warehouse

Runs dashboards for the team

Data science warehouse

Big experiments, without slowing anyone else

Because of that idea, you get:

FeatureWhat it means for ShopKart
Pay per secondA warehouse costs credits only while it runs. It pauses itself when idle (AUTO_SUSPEND) and wakes up for the next query.
Resize in one lineMonth-end report too slow? Make the warehouse bigger for an hour, then shrink it back.
No fighting for powerThe nightly load and the founders' dashboard use different warehouses, so neither slows the other.
Nothing to manageNo indexes to build, no disks, no upgrades. Snowflake handles storage layout, backups and patches.
Any cloudRuns on AWS, Azure and Google Cloud, in many regions, including Mumbai.
SharingGive a partner live, read-only access to a table without copying files (Secure Data Sharing).

Your first query (real output)

Every Snowflake account comes with free sample data in a database called SNOWFLAKE_SAMPLE_DATA. It holds a made-up company's orders, customers and parts (the TPC-H benchmark data). We opened a SQL file in Snowsight, Snowflake's website, and ran this:

Snowsight · SQL
-- Snowflake's free sample data: a made-up company's sales.
-- How many order lines are there?
SELECT COUNT(*) AS line_items
FROM snowflake_sample_data.tpch_sf1.lineitem;
LINE_ITEMS
6001215

Six million rows, counted in well under a second, and we didn't set anything up: no server, no index. Notice the name has three parts: database.schema.table. You'll use that a lot.

Snowsight · SQL
-- Customers per market segment
SELECT c_mktsegment AS segment, COUNT(*) AS customers
FROM snowflake_sample_data.tpch_sf1.customer
GROUP BY c_mktsegment
ORDER BY customers DESC;
SEGMENTCUSTOMERS
HOUSEHOLD30189
BUILDING30142
FURNITURE29968
MACHINERY29949
AUTOMOBILE29752

It's the same SQL you already know. That's a big reason teams like Snowflake: analysts are productive on day one.

Warehouse vs lake vs lakehouse, in one table

You'll hear these words in every interview. Snowflake started as a warehouse and now works with lake files too.

Data warehouseData lakeLakehouse
What it storesClean tablesAny files (CSV, JSON, Parquet, images)Open-format tables on lake files
Best atFast SQL for reportsCheap storage of everythingBoth, on one copy of the data
ExamplesSnowflake, BigQuery, RedshiftAmazon S3, Azure Data Lake StorageDatabricks + Delta Lake, Snowflake + Apache Iceberg tables

Snowflake also supports Apache Iceberg tables: tables stored as open files in your cloud storage that Snowflake and other engines (Spark, Trino) can all read. You'll see why that matters later in the course.

Snowflake vs Databricks vs the others

SnowflakeDatabricksBigQuery (Google)Redshift (AWS)
Main languageSQL (plus Python with Snowpark)Python/PySpark and SQLSQLSQL
CloudsAWS, Azure, Google CloudAWS, Azure, Google CloudGoogle Cloud onlyAWS only
How you payCredits per second per warehouseDBUs per second per clusterPer TB scanned, or reserved slotsPer node hour, or serverless
Admin workVery littleSome (clusters, jobs)Very littleMore (sizing, vacuum)
Strongest atEasy, fast SQL analytics; sharingBig processing, streaming, MLServerless SQL on Google CloudAWS-native warehousing

Editions and the free trial

Snowflake sells the same product in editions. Each adds features (and costs more per credit):

EditionAdds
StandardEverything core: warehouses, loading, SQL, 1 day of Time Travel
EnterpriseUp to 90 days of Time Travel, multi-cluster warehouses, masking and row access policies
Business CriticalExtra security and compliance (for banks, healthcare), private connectivity
Virtual Private SnowflakeA completely separate Snowflake environment for one company

What you'll build in this course

One running example from start to finish: ShopKart's order files go from your laptop to clean, secure, fast reports.

LessonsWhat you learn
1–3What Snowflake is, how it works inside, setting up databases, roles and warehouses
4–5Loading CSV and JSON files: stages, COPY INTO, VARIANT and FLATTEN
6Time Travel, Fail-safe and zero-copy cloning: the undo button and instant test copies
7–8Automatic pipelines: Snowpipe, streams, tasks and dynamic tables
9–10Security (roles, masking) and making queries fast and cheap
11–12Snowpark Python, then interview questions from fresher to 3+ years

🎯 Interview questions on this topic

Try to answer out loud first, then tap to check.

Q1What is Snowflake?Fresher
A cloud-native, fully managed data warehouse offered as a service on AWS, Azure and Google Cloud. You load data and query it with SQL; Snowflake handles infrastructure, storage layout, scaling, backups and upgrades. Its key design is the separation of storage and compute.
Q2What does 'separation of storage and compute' mean and why does it matter?Fresher
Data is stored once in central cloud storage, while queries run on independent virtual warehouses. You can scale compute up or down, or run several warehouses for different teams on the same data, without moving data and without one workload slowing another. You pay for storage and compute separately.
Q3How is Snowflake billed?Fresher
Storage per terabyte per month (compressed), compute in credits per second while warehouses run (60-second minimum each time a warehouse starts), plus smaller charges for serverless features like Snowpipe and for data transfer out of the region.
Q4When would you NOT use Snowflake?1–3 yrs
As the transactional database behind an application that does many small single-row inserts and updates with strict latency (that's OLTP: use PostgreSQL, MySQL and similar). Snowflake is built for analytical queries over many rows.
Q5Snowflake vs Databricks?1–3 yrs
Both are cloud data platforms that now overlap a lot. Snowflake is SQL-first, very low-maintenance and strong at concurrent BI and data sharing. Databricks grew from Spark: strong at large-scale processing in Python, streaming and ML on open Delta tables. Many companies use both, often Databricks for engineering and ML, Snowflake for analytics.

Key takeaways

  • Snowflake is where ShopKart's scattered data becomes one fast, queryable place.
  • Separate storage and compute is the idea everything else builds on.
  • You pay per second of compute, so pausing warehouses matters.
  • If you know SQL, you can use Snowflake today.

Frequently asked questions

What is Snowflake in simple words?

Snowflake is a cloud data warehouse: a place where a company keeps its data in tables and asks questions about it with SQL. You don't install or manage any servers. You load data, pick how much computing power you want, and pay only while queries run.

Is Snowflake a database?

Yes, a database built for analytics (OLAP). It is great at big questions over millions or billions of rows, like revenue per city per month. It is not meant to be the database behind an app that saves one order at a time; that job belongs to databases like PostgreSQL or MySQL.

Is Snowflake free?

There is a 30-day free trial with $400 of credits and no card needed, which is more than enough for this whole course. After that you pay for what you use: storage per terabyte per month, and compute per second while a warehouse runs.

Do I need to know SQL for Snowflake?

Yes, SQL is the main language. If you know SELECT, WHERE, GROUP BY and JOIN, you can follow this course. Our free SQL for Data Engineers course teaches all of that from zero.

Snowflake or Databricks: which should I learn?

Many companies use both. Snowflake is SQL-first and very easy to run; Databricks is Spark-first and strong for heavy processing, streaming and machine learning. Job posts in India ask for both. Learn whichever your target companies use; the ideas (ELT, medallion layers, cost control) carry over.

🧠 Quick check: What is Snowflake?

  1. 1. What kind of system is Snowflake?

  2. 2. What do you pay for when a virtual warehouse runs?

  3. 3. Snowflake's biggest design idea is...

  4. 4. Which question is a good fit for Snowflake?

Snowflake for Beginners

Part 1 of 12: What is Snowflake