HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

DuckDB – The SQLite for Analytics (Mark Raasveldt, CWI)

CMU Database Group2 HN recommenders · recommended in 3 months, 2020-2026
YouTube
28K views · 6 years ago · talk · evergreen

Mark Raasveldt of CWI presents DuckDB, an embeddable analytical database described as the SQLite for analytics, in a CMU Database Group talk. He explains why it was built, what it is for, and how it works.

HN recommends it as the definitive talk from the implementer on DuckDB's motivation and design.

Databases & storageData science & statistics#duckdb#sqlite#olap#embeddeddatabase#datascience

7 comments from Hacker News

@mrtimo2026 · in “Design and Implementation of DuckDB Internals”

If you are a data scientist or do anything with data... duckdb is like a swiss army knife. So many great ways it can help your workflow. The original video from CMU in 2020 [1] is a classic. Minutes 3-8 present a good argument for adding duckdb to your data cleaning/processing workflow. And if you want to add a semantic layer on top of data, Malloy [2] is my favorite so far (it has duckdb built in): [1]: ▶ this video [2]: link

Strongly recommendsView on HN
@mrtimo2025 · in “Polars Cloud and Distributed Polars now available”

I agree with this 100%. The creator of duckdb argues that people using pandas are missing out of the 50 years of progress in database research, in the first 5 minutes of his talk here [1]. I've been using Malloy [2], which compiles to SQL (like Typescript compiles to Javascript), so instead of editing a 1000 line SQL script, it's only 18 lines of Malloy. I'd love to see a blog post comparing a pandas approach to cleaning to an SQL/Malloy approach. [1] ▶ this video [2] link

CitesView on HN
@mrtimo2025 · in “Databases in 2024: A Year in Review”

Enjoyed his roundup in the "Shoving Ducks into Everything" section. DuckDB is a great tool. In April 2020, the creator of DuckDB gave a talk at CMU. In the beginning he makes a convincing argument (in 5 minutes) why data scientists don't use RDBMS and how this was the genesis of DuckDB. Here is a video that starts 3 minutes into the talk (where is argument starts): ▶ this video

RecommendsView on HN
@snidane2021 · in “Many small queries are efficient in SQLite”

If you're using sqlite, but for a static website, you might consider using duckdb. It's still evolving, but it has huge potential. It's also an embedded single file database like sqlite, but stores data in columns. Duckdb to sqlite is like redshift to postgres. Hopefully they will add compression for string columns, so that host your entire static site from a single file in a very efficient way. link ▶ this video

CitesView on HN
@snthpy2020 · in “DuckDB – An embeddable SQL database like SQLite, but supports Postgres features”

DuckDB looks very interesting and I'm quite excited to examine it more closely in the next few days! I just wanted to add to the discussion that an unchanging file format, or at least a backwards compatible one, is a key feature of sqlite. See for example Richard Hipp's comments here [1] (I think he also mentioned earlier in the talk that the file format has become a limiting factor now in terms of some of the refactoring that they can do). The file format therefore seems likely to be a major factor in the long term success of this project and I am glad to see that you are taking your time before settling on any architecture here. Given that you are targeting the data science and analytics space, what are your plans for integration with arrow and the feather file format? From a purely user/developer perspective, arrow's aim of shared memory data structures across different analytics tools, seems like a great goal. I know Wes McKinney and Ursa Labs have also spent quite some time at the file storage part of this, see for example the Feather V2 announcement [2]. What are your thoughts on the tradeoffs they considered and how do you see the requirements of DuckDB in relation to theirs? From the Carnegie Mellon DuckDB talk [3], I saw that you already have a zero-copy reader to the pandas memory data structures, so the vision I have is that DuckDB could be the universal SQL interface to arrow datasets which can then also be shared with more complex ML models. Is that something tha

CitesView on HN
@kyllo2020 · in “DuckDB: SQLite for Analytics”

Here's a YT video of one of the implementers giving a talk to CMU students about what DuckDB is, why they made it, and how it works: ▶ this video In a nutshell, it's a file-per-database embedded DB like SQLite, and it's installable as a Python or R package from PyPI or CRAN, but unlike SQLite, it's a column store with vectorized operations so it's more performant for analytical queries.

RecommendsView on HN
@kyllo2020 · in “SQLite 3.32”

I was wondering the same--I guess because it's fairly new (2018) and it came out of a database research group at a European university, rather than a SV tech firm. Therefore, limited marketing budget. By the way, here's a YT video of a talk given by one of the DuckDB implementers about why they made it, what it's for, and how it works: ▶ this video

RecommendsView on HN
Rich Hickey: Deconstructing the Database1:06:24

Rich Hickey: Deconstructing the Database

InfoQ
106K views • 14 years ago
AWS re:Invent 2018: Amazon DynamoDB Deep Dive: Advanced Design Patterns for DynamoDB (DAT401)59:56

AWS re:Invent 2018: Amazon DynamoDB Deep Dive: Advanced Design Patterns for DynamoDB (DAT401)

Amazon Web Services
468K views • 7 years ago
An Introduction to SQLite51:02

An Introduction to SQLite

Google TechTalks
80K views • 19 years ago
Avi Bryant demos Dabble db8:37

Avi Bryant demos Dabble db

Tavis Rudd
5K views • 14 years ago
Lucas Cavalcanti & Edward Wible - Exploring four hidden superpowers of Datomic40:42

Lucas Cavalcanti & Edward Wible - Exploring four hidden superpowers of Datomic

ClojureTV
29K views • 11 years ago
AWS re:Invent 2018: Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321)53:43

AWS re:Invent 2018: Amazon DynamoDB Under the Hood: How We Built a Hyper-Scale Database (DAT321)

Amazon Web Services
112K views • 7 years ago
How Modern SQL Databases Come up with Algorithms that You Would Have Never Dreamed Of by Lukas Eder50:31

How Modern SQL Databases Come up with Algorithms that You Would Have Never Dreamed Of by Lukas Eder

Devoxx
55K views • 9 years ago
SQLite: The Database at the Edge of the Network with Dr. Richard Hipp59:58

SQLite: The Database at the Edge of the Network with Dr. Richard Hipp

Method
82K views • 11 years ago
AWS re:Invent 2019: [REPEAT 1] Amazon DynamoDB deep dive: Advanced design patterns (DAT403-R1)59:13

AWS re:Invent 2019: [REPEAT 1] Amazon DynamoDB deep dive: Advanced design patterns (DAT403-R1)

AWS Events
115K views • 6 years ago
Lower Latency Graph Queries in Cypher with Redis GraphRoi Lipman, Redis LabsTim Davis, Texas A&M U46:06

Lower Latency Graph Queries in Cypher with Redis GraphRoi Lipman, Redis LabsTim Davis, Texas A&M U

Redis
3K views • 8 years ago
Episode 1 - Mongo DB Is Web Scale5:36

Episode 1 - Mongo DB Is Web Scale

gar1t
1.2M views • 16 years ago
Dabble DB demo6:46

Dabble DB demo

krueggen
10K views • 19 years ago
Introduction to NoSQL • Martin Fowler • GOTO 201254:52

Introduction to NoSQL • Martin Fowler • GOTO 2012

GOTO Conferences
1M views • 13 years ago
SQLite: Protégé of PostgreSQL39:00

SQLite: Protégé of PostgreSQL

Andrea Ross
8K views • 12 years ago
"Turning the database inside out with Apache Samza" by Martin Kleppmann47:43

"Turning the database inside out with Apache Samza" by Martin Kleppmann

Strange Loop Conference
205K views • 12 years ago
"Datafun: a functional query language" by Michael Arntzenius42:31

"Datafun: a functional query language" by Michael Arntzenius

Strange Loop Conference
9K views • 9 years ago
The Maximal Graph - Wilker Silva39:15

The Maximal Graph - Wilker Silva

ClojureTV
8K views • 6 years ago
Breakout Session Presented by Dan Robinson of Heap at PGConf Silicon Valley 201554:54

Breakout Session Presented by Dan Robinson of Heap at PGConf Silicon Valley 2015

Citus Data
14K views • 10 years ago
Seattle Conference on Scalability: YouTube Scalability52:41

Seattle Conference on Scalability: YouTube Scalability

Google TechTalks
30K views • 19 years ago
Bringing the Unix Philosophy to Big Data by Bryan Cantrill: FutureStack1331:09

Bringing the Unix Philosophy to Big Data by Bryan Cantrill: FutureStack13

New Relic
18K views • 12 years ago