DuckDB in Action you own this product

Mark Needham, Michael Hunger, Michael Simons
  • July 2024
  • ISBN 9781633437258
  • 312 pages
  • printed in black & white

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
Dive into DuckDB and start processing gigabytes of data with ease—all with no data warehouse.

DuckDB is a cutting-edge SQL database that makes it incredibly easy to analyze big data sets right from your laptop. In DuckDB in Action you’ll learn everything you need to know to get the most out of this awesome tool, keep your data secure on prem, and save you hundreds on your cloud bill. From data ingestion to advanced data pipelines, you’ll learn everything you need to get the most out of DuckDB—all through hands-on examples.

Open up DuckDB in Action and learn how to:

  • Read and process data from CSV, JSON and Parquet sources both locally and remote
  • Write analytical SQL queries, including aggregations, common table expressions, window functions, special types of joins, and pivot tables
  • Use DuckDB from Python, both with SQL and its "Relational"-API, interacting with databases but also data frames
  • Prepare, ingest and query large datasets
  • Build cloud data pipelines
  • Extend DuckDB with custom functionality

Pragmatic and comprehensive, DuckDB in Action introduces the DuckDB database and shows you how to use it to solve common data workflow problems. You won’t need to read through pages of documentation—you’ll learn as you work. Get to grips with DuckDB's unique SQL dialect, learning to seamlessly load, prepare, and analyze data using SQL queries. Extend DuckDB with both Python and built-in tools such as MotherDuck, and gain practical insights into building robust and automated data pipelines.

about the technology

DuckDB makes data analytics fast and fun! You don’t need to set up a Spark or run a cloud data warehouse just to process a few hundred gigabytes of data. DuckDB is easily embeddable in any data analytics application, runs on a laptop, and processes data from almost any source, including JSON, CSV, Parquet, SQLite and Postgres.

about the book

DuckDB in Action guides you example-by-example from setup, through your first SQL query, to advanced topics like building data pipelines and embedding DuckDB as a local data store for a Streamlit web app. You’ll explore DuckDB’s handy SQL extensions, get to grips with aggregation, analysis, and data without persistence, and use Python to customize DuckDB. A hands-on project accompanies each new topic, so you can see DuckDB in action.

what's inside

  • Prepare, ingest and query large datasets
  • Build cloud data pipelines
  • Extend DuckDB with custom functionality
  • Fast-paced SQL recap: From simple queries to advanced analytics

about the reader

For data pros comfortable with Python and CLI tools.

about the authors

Mark Needham is a blogger and video creator at @‌LearnDataWithMark. Michael Hunger leads product innovation for the Neo4j graph database. Michael Simons is a Java Champion, author, and Engineer at Neo4j.

I use DuckDB every day, and I still learned a lot about how DuckDB makes things that are hard in most databases easy!

Jordan Tigani, Founder, MotherDuck

An excellent resource! Unlocks possibilities for storing, processing, analyzing, and summarizing data at the edge using DuckDB.

Pramod Sadalage, Director, Thoughtworks

Clear and accessible. A comprehensive resource for harnessing the power of DuckDB for both novices and experienced professionals.

Qiusheng Wu, Associate Professor, University of Tennessee

Excellent! The book all we ducklings have been waiting for!

Gunnar Morling, Decodable

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • DuckDB in Action ebook for free

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • DuckDB in Action ebook for free

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • DuckDB in Action ebook for free