
Learn everything about gdb, the analytics database, from theory to hands-on practice, set up a local instance, and architect analytics solutions with data engineering and etl pipelines.
Discover the core features and fast, lightweight design of DuckDB, compare it with pandas, PostgreSQL, and ClickHouse, and explore practical analytics workflows.
Get a taste of how Blazing Fast duckdb is by running an interactive test yourself
Explore DuckDB, a lightweight embedded analytics database with columnar storage and vectorized execution, available locally or in the cloud, featuring a rich SQL dialect and Python and R integration.
Uncover four reasons to use DuckDB for analytics: lighter setup than Hadoop or Spark, faster than SQLite and Pandas, and on-device deployment via Wasm.
Where does duckdb stand among the Zoo of Analytics technologies available out there?
Why duckdb stands apart from SQLITE, ClickHouse, Cassandra, Redshift etc.?
Explore typical use cases for DuckDB, including background analytical processing, single-machine data science workflows, cross-platform edge analytics, and serverless cloud pipelines replacing Athena or Redshift.
Identify who benefits from DuckDB across data scientists, data analysts, ML engineers, data engineers, DevOps specialists, IoT developers, and software engineers, from edge computing to rapid prototyping.
Install duckdb across platforms by downloading the CLI or using pip to install the duckdb distribution, unzip the binary if needed, and launch duckdb to explore its functionality.
Let's learn to configure duckdb env to better fit your needs
Discover DuckDB's sql basics, switch between duckbox, line, and box views with .mode, and perform blazing fast aggregations, including group by all on external data sources.
Export sql query results from the duckdb cli to csv and parquet files using shell piping, comparing csv limitations with parquet efficiency and noting Avro as an alternative.
Explore dag db's cli and sql innovations using the Chinook database. Navigate 11 tables and study the provided readme and pdf while using an interactive terminal.
SQLITE dbs are compatible with duckdb!
Create a view to compute average checks by country and day from the invoice date. Use summarize to inspect the view and replace to cast the average check as integer.
Learn duckdb's sql innovations, using the columns function with regex to select billing columns, exclude other fields, and group by all for aggregation, then apply sample with Bernoulli distribution.
Explore window functions in analytics pipelines with dense_rank and partition by billing country to reveal the top three days by average checks, and compute a moving 30-day average.
Utilising the popular feature of Spreadsheets inside a database has never been easier
Discover how table functions in DuckDB generate tables such as time series from a start date to an end date with a one-day step using generate_series.
Learn how to integrate GDB with Python environments to streamline data work, and leverage dqdb.org documentation and client APIs blog for guidance.
Download the supplemental materials, including the hourly emissions parquet file from Kaggle, unzip it, and load it in a Jupyter notebook to explore Python client and Python integration features.
Learn how to integrate duckdb into your "standard" Python workflow
Explore a real-world analytics workflow with DuckDB and Python, analyzing a five gigabyte parquet dataset to compute average and maximum CO2 emissions, filter by Columbus, and compare performance to pandas.
Explore DuckDB and Python workflow to build a persistent test dot DuckDB database, read a Parquet file into emissions, and compute columnwise statistics and hourly-year aggregates, highlighting DuckDB's speed.
Explore how the python-based Streamlit framework enables creation and deployment of analytical apps, sharing ML models, with deployment to GCP, AWS, or Streamlit Cloud, and integration with gdb.
What if you Analytics App needs to crunch Gigabytes of data behind the scenes? Duckdb is the solution!
Walk through the codebase to fetch tennis data from GitHub CSV files, load them into a DuckDB database with Python, and power a Streamlit app comparing two players.
Create and activate a python virtual environment, install requirements, then run dataloading.py to fetch data from github, build atp.dug.db database, and prepare the Streamlet app for head-to-head testing with atptor.com.
Launch a Streamlit app powered by DuckDB to query tennis head-to-head statistics from GitHub CSV data using a search box.
Understand DBT, a sql-first transformation workflow, and how it enables portable, modular analytics code. See how DBT handles version control, CI/CD, documentation, and tests within data pipelines.
Explore a practical case of integrating DuckDB with DBT to transform raw CSV transactional data into normalized fact and dimension tables, with tests and documentation.
Explore the DuckDB project data and code base, previewing readme files, dbt models, tests, and transforming raw transactions into data marts.
Engage in an elt workflow by extracting data from a local csv, loading it into a temporary duckdb database, and transforming it into dimensions and fact tables with dbt.
Use dbt to automate data transformations, build datamart dimensions and facts, run tests, and generate documentation for a DuckDB project.
Explore the end-to-end elt workflow by querying raw and staging data with DuckDB, transforming into dimension and fact tables via dbt, and safely shutting down the environment.
Going Cloud if you're interested in expanding duckdb's capabilities deployed locally
Sign up for the Motherduck platform, download supplemental materials, and explore notebooks, databases, and S3 assets while querying the NYC taxi data and exporting results as CSV, Parquet, or JSON.
Discover how the Motherduck analytics environment executes and formats SQL queries, generates column-based insights like complaint type distributions, and accesses S3 parquet data for quick exploratory data analysis.
Create a tennis database in the Motherduck UI, upload results_2023.csv, infer data types, view analytics, and share with teammates with auto updating and discoverability.
Enable automated authentication to cloud-based motherduck from locally running duckdb. Create and export a read-write token, connect via duckdb, and list tables.
Learn to migrate data from S3 to Motherduck using Dldt and set up auto updating shares. Manage and share datasets via SQL or UI, with live updates and access controls.
Leverage generative ai and large language models to query data stored in DuckDB via Motherduck, exploring ambient air quality datasets and explainable sql via prompt query and prompt sql.
Explore AI powered auto fix and vibe coding to craft, edit, and run SQL queries on the Motherduck platform, filtering for bm25 concentration in 2018 and population over ten million.
Explore how DuckDB powers real, a modern bi tool turning data lakes into dashboards. Learn bi as code and last-mile etl in two deployment modes, locally or in the cloud.
Explore a live 311 operations dashboard powered by DuckDB, processing real-time call data to show median ticket resolution, city and neighborhood trends, and timezone-aware comparisons.
Riel is an open source platform that enables real-time data processing and analytics through streaming data, transformations, and seamless integration with sources like Elasticsearch and Kafka.
Examine Boston's 311 service data from data.boston.gov and learn to automatically process a continuously updated CSV of calls using DuckDB, with geospatial and city services context.
Learn to work with DuckDB data sources on the real platform, set up step zero for Windows WSL, configure four city sources, and run a select query against Google Sheets.
Utilize DuckDB native sql to normalize diverse data sources, rename and lowercase fields, union multiple datasets into one unified table, then compute start and end event duration in hours.
Outline a dashboard configuration in yaml, defining a data model, time series axes, measures, and dimensions to filter by city and summarize tickets for interactive charts.
Set up a local duckdb-backed real server to explore the 311 service data, dashboards, and automated profiling, including sources, models, and the real.yaml configuration.
Explore how to view and customize the call center metrics dashboard, auto-generate dashboards, edit metrics in the YAML file, and preview, export, and compare data in real time.
Shows deploying dashboards to real cloud via infrastructure as code, and sets up GitHub version control by creating a public repo, initializing git, committing, renaming to main, and pushing.
Connect Real Cloud to GitHub by authorizing the add-on for a single repository, deploy your project, fetch data from external APIs, and build the dashboard with 311 operational metrics.
Share dashboards by inviting a viewer with real user add, and by default keep projects private. Then publish publicly with real project edit public true and share the link.
Set up continuous integration and deployment to automate data source refreshes. Schedule updates every 30 minutes using cron notation in real yaml, then push changes to GitHub.
Delete a project by removing its GitHub repository via settings, confirm by typing repository name, and verify deletion to reset project and enable last mile etl and data lakes visualization.
Explore how DuckDB fits into complex data pipelines by serving as both storage and a data transformer, with orchestration tools guiding ingestion, metadata management, and transformation.
Discover the end result: an automated cloud-hosted tennis database created by Dag, DB, and Dexter, stored in Motherduck, with four tables: levels, matches, players, and rounds.
Transform raw data into meaningful insights using DuckDB. Dexter orchestrates the pipeline between DuckDB and Mother Duck, centering on data assets and deployment options.
Create and activate a Python 3.9 virtual environment, install Dexter, Dexter Duckdb, and Dexter Web Server with required packages, then configure a Mother Duck token in an env file.
Explore the data pipeline walkthrough by inspecting the ATP matches and players assets, cron-based scheduling, environment variables, and Duckdb/Mother Duck integration for loading tennis data.
Alter players table to add a name_foo column that concatenates first and last names. Create the ATP rounds and levels datasets and orchestrate the pipeline with dag db and gdb.
Launch and monitor a Dexter pipeline with DuckDB, create and materialize data assets in Mother Duck, and explore dataset lineage, tables, and deployment in a hands-on workflow.
Why should you learn DuckDB?
+ 306% of searches in the last 2 years
Its popularity is growing RAPIDLY!
Data lakes and bulky Big Data Infrastructure (like Apache Hadoop & Spark) are not optimal solution to every Data problem
DuckDB is an awesome solution for running a database very similar to PostgreSQL, but with HUGE Analytical Capabilities, locally without any fuss
100% free & supports dozens of various integrations
duckdb Python, duckdb dbt, duckdb Streamlit, duckdb s3 & wasm & Docker + many more: you can connect it with almost anything. Additionally, you can easily do data exports: duckdb csv, duckdb parquet, duckdb json are all ways to share your analysis results in no time! Python integration is as easy as doing "pip install duckdb" & you're ready to go! We will dive deep into duckdb Python integration in one of the cases.
Ease of use
Rather than having a PostgreSQL/Mariadb for each developer on the team, you can setup configuration to spawn an in memory instance of DuckDB. If you need to fetch data from the Internet, it's no problem either: Duckdb Httpfs is a package that we'll also study.
Local Analysis of BigData
If you want to run a columnar database locally on pretty big data, there isn't really anything else like it. You could instead run PySpark locally but that would be much more of a headache. Duckdb Pivot can even help you create Spreadsheet-like tables.
Easy to learn after SQLite
It's a step forward to Analytics field from SQLite. DuckDB performs great when running aggregate queries on a limited number of columns whereas SQLite works great when fetching one or more rows using filters. In the Course we will compare and contrast duckdb vs Sqlite and duckdb vs Clickhouse.
300%+ faster than Pandas
Pandas loads all data into memory and runs on a single thread. Hence it can't operate on larger than memory datasets and also doesn't use all of your CPU cores. DuckDB can operate on datasets larger than memory. Moreover, it can distribute load across all the CPU cores. All that using SQL language by default!
This Course is not just a DuckDB tutorial: it's a packaged solution to master this new & rapidly growing technology.
Expected Outcomes
After this Course:
You will learn how to Architect & Implement Analytics Solutions that use DuckDB as the main database
You will learn the underlying principles that make DuckDB so fast on any machine (Theory)
You will understand how DuckDB is different from other data bases: both Analytical (Clickhouse, Redshift, Cassandra) and OLTP (PostgreSQL, SQLite)
You will learn to work with DuckDB from Python environment (Practice)
You will learn to work with DuckDB from CLI (command line) environment (Practice)
Use DuckDB as a backend database for your Streamlit Python Analytics Apps (Practice)
Use a DuckDB + dbt (Data Build Tool) combo to streamline Analytics Data Warehouse development (Practice)
You will learn to work in MotherDuck: a Cloud-native environment (SaaS) for duck db (Practice). You can think of it as DuckDB GUI that you might miss in CLI
Learn to interact with DuckDB inside Docker environment
Understand how DuckDB fits into Micro-service architecture of Analytical services
Use Rill: a DuckDB-powered BI-as-Code "last-mile ETL" platform for blazing fast Dashboarding
Learn to interact with DuckDB from AI Agents using MCP Integration (Claude Code used in the Course)
Set up your own MCP Server for your Business Users
What's inside
Video lectures (with interactive annotations)
PDFs with Practice Cases Outlines
Demo Resources
Fully packaged code base for Practice Projects
Full lifetime access with all future updates
Certificate of course completion
30-Day Money-Back Guarantee
The course isn't static! I collect students' feedback and work on improving it
Latest Course update:
Added MCP + DuckDB Section. Learn to interact with DuckDB from AI Agents (Claude Code): query tables, rebuild dbt models and more
Digital assets used:
-Image from freepik with free licence from freepik dot com "Free vector gradient dynamic blue lines background"