Courses / Course 07
Cloud Warehouses
Where company data actually lives, and how to keep the bill under control.
- IntermediateLevel
- about 1.5 hoursTo complete
- 5 lessonsWith checked exercises
- FreeNo account needed
What you will learn
- Explain columnar storage and separate compute
- Turn bytes scanned into cost
- Use partitioning and clustering to read less
- Choose warehouse sizes
- Run a cost review
Syllabus
- 1How cloud warehouses work14 min
Columnar storage, separate compute, and why you pay for what you scan.
- 2What a query costs14 min
Turn bytes scanned into euros, and find the queries that cost the most.
- 3Partitioning and clustering14 min
Make the warehouse read less: filter on the partition column and cluster on what you filter by.
- 4Compute and warehouse sizes12 min
Bigger warehouses are faster but cost more per second. Pick the smallest one that meets the deadline.
- 5Mini project: a cost review16 min
Find the biggest waste in the warehouse and show what fixing it would save.
The data you will use
Data team logs
The logs a data team watches every day. Each night three pipelines run for the Nordic Shop: load_orders, load_payments and build_marts, which needs the other two.
Tables: pipeline_runs, query_log
Helsinki City Bikes
Real open data from the city bike system in Helsinki and Espoo. Bikes are available from April to October each year, so there is no data for the winter months.
Tables: stations, daily_trips
The lesson How cloud warehouses work walks you through every table and column. Under every code box you can also open a list of the tables and what each column means.
Learn in public on GitHub
Do the exercises in the browser, or in the public course repo so your work shows on your GitHub profile.
Fork the course repo
One click on GitHub gives you your own copy with every exercise and dataset.
Solve and open a pull request
Put your answers in your own folder and open a pull request. A bot checks them and comments with ✅ or ❌.
Join the graduates
Finished a course? Add your name to GRADUATES.md. Your work stays on your GitHub profile for recruiters to see.
What you will build
A cost review of a month of warehouse queries, with the saving of one fix.
Based on a real project: Wikipulse