Even Faster Ducks: DuckDB 2.0 on MotherDuck
· 9 min read
MotherDuck now supports DuckDB 2.0! As a major release, 2.0 includes a variety of new features, but the headline improvement is faster performance. When you pick a database engine, you’re betting on the future of that technology, not just the current state. DuckLabs really cooked with this release, proving once again that the pace of improvement with DuckDB makes it a great choice for the long run.
We’re seeing significant performance improvements in key areas like 40% faster data ingestion and 30% faster cold queries when running on both AWS and now Azure. We even see up to 300% read speed improvements in DuckLake, a data lakehouse alternative to Iceberg. These gains are coming from DuckDB’s brand new async I/O capability.
This post will highlight the use cases where you’re likely to see the biggest wins from the upgrade, including data pipelines, data apps, and agentic analytics. We’ll also have a look at some industry trends that are strong duck-tailwinds for the DuckDB and MotherDuck approach.
The new version is already live on MotherDuck and you’ll get these benefits automatically. There are few words better than “free”, and free speed is quite a ducking nice free lunch! A lot of effort went into testing those automatic improvements though. We ran over 100 million queries and validated over 100,000 databases prior to this release!
A mental model for Async I/O
We’ll cover some concrete use cases where DuckDB 2.0 has the biggest improvements, but having a mental model of how Async I/O works will help you map them to your specific scenario.
> So, what is async I/O and why are we so excited about it?
In DuckDB 1.x, each time your data lived somewhere in the cloud (like S3 object storage), your DuckDB would spend a lot of time waiting for data. DuckDB parallelizes in small chunks of rows (called morsels) and it only reads data as it’s needed. That is what allows you to process a TB of data on your laptop if you only have 16GB of RAM! However in 1.x that came with a drawback. Each time your DuckDB went to pull some more data, your CPU would be idle while that request went all the way up to cloud storage and back.
In contrast, DuckDB 2.0 will kick off several requests for data in parallel ahead of time. That will keep your CPU constantly fed with new rows to process. Making those requests in advance is the asynchronous part of async I/O: network requests happen without forcing the CPU to sit idle and wait for them. The implementation is smart enough to only get slightly ahead, so memory use doesn’t get too high either.
While that may sound like a minor adjustment, this is a huge change that has significant impacts on the fundamental architecture of DuckDB. If you are curious about the details, have a look at the async I/O deep dive post here. The nice thing is that there are no changes needed from your side! This is completely abstracted away and is turned on by default. The workloads where the biggest benefits accumulate are when you are reading data from the cloud for the first time or “cold” queries.
Faster Flying Pipelines
The first major workloads that benefit from async I/O are data pipelines. Reading large amounts of data from the cloud is significantly faster now. In most pipelines, this is a cold read, because typically you only read data once per pipeline run and transform it once you’ve pulled it. This is where async I/O shines.
In our AI-native world, cloud object storage is playing an increasingly central role. Keeping a copy of your raw data in object storage is a great way to maintain ownership of your data so you can choose the right data processing engine for the job. Just as it is helpful to retain the option to swap out your LLM model, the easier it is to swap out your database query engine, the faster you can use the right tool for the job.
In the past, you might have needed Spark or another distributed system to parallelize this kind of I/O heavy operation, but now you can keep things simple and cost efficient by using DuckDB instead. In cloud systems, network bandwidth is continuing to outpace CPU scaling (and there are no signs of this trend slowing down). Don’t just take it from me though! In their 2026 paper Till Steinert, Maximilian Kuschewski, and Viktor Leis empirically showed networking far outpaced CPU improvements.
> “By far the largest gains in cost-normalized terms over the past decade was for networking, which improved by one order of magnitude in AWS”
If you are in the common situation of reading substantial amounts of data from object storage, that translates into a single compute node handling a larger and larger fraction of workloads. If you are familiar with the medallion architecture, this means MotherDuck has become a powerful option in the silver tier where bulk transformations take place. You can spin up a truly huge Giga duckling in a few seconds to chew through large datasets faster and more efficiently than ever.
When using the industry standard parquet file format we saw improvements of up to 40% in our internal benchmarks. If you are unlucky enough to be using a format like CSV (yes, the world does run on CSV sometimes), we’ll throw you a lifeline: 490% faster reads. JSON and other formats also get benefits in the 25% faster range.
Other 2.0 features that help with pipelines
This release also has several other features that further improve the ergonomics of duck powered data pipelines. Now you can complete multiple insert or update operations within the same SQL query as CTE’s (common table expressions), commonly known as WITH statements. This is especially convenient because it allows more operations to happen in a single SQL query rather than be spread out across multiple separate ones that need to be orchestrated by another language like Python.
Some personal favorites of mine are new JSON mutation functions where you can make targeted changes to semi-structured JSON data. This can simplify a variety of data pipelines, especially log parsing or observability use cases. It also allows a SQL query to handle a wider set of tasks rather than having to fall back to another language, reducing complexity and improving performance further.
Visit the DuckLake in record time
Data lakehouses have emerged as an effective way to manage significant amounts of data on cloud object storage while maintaining your sanity. Having atomic operations means that your data can’t get halfway-added when a loading job fails midway through, and multiple queries can safely modify data concurrently.
DuckLake is a data lakehouse built from the ground up for simplicity: store data in parquet on object storage and the metadata catalog in a SQL database. That architectural elegance leads to significant performance advantages as well, including ~10x higher transactions per second than alternatives.
In DuckDB 2.0, since DuckLake does a large number of bulk reads of parquet data from object storage, it benefits greatly from async I/O. In our benchmarks, we see 300% improvements in read query speeds. MotherDuck native storage remains roughly double as fast as DuckLake in the medium-scale benchmarks we are constantly running over and over, but DuckLake is more beneficial for the larger scale datasets it specializes in. If you have 10’s to 100’s of TBs of data, DuckLake is now an even more compelling option.
Lakehouses tend to fit best in the bronze or silver portions of the medallion approach, so this is another way that MotherDuck can scale up to handle larger bulk operations. 3x faster speeds with time based pricing means 3x better price per performance too!
Faster visuals and apps
Business intelligence and data app workloads are famously variable. While a traditional application can tune the performance of a finite set of queries, if you give your users ways to slice and dice their data, they are going to do just that! With that variety, cold queries are often what determine the performance of your dashboards. Thanks again to async IO, now your dashboards will become substantially more responsive without any changes!
We commonly saw over 30% faster cold read performance in both TPC-H and TPC-DS industry standard benchmarks across multiple instance sizes with some achieving 60% improvement. Now that MotherDuck is multi-cloud with Azure support, we can also compare across clouds and see similar improvement ratios. These are good representations of how typical data viz and data app workloads will improve. Your MotherDuck Dives and Dive Apps should automatically get snappier.
Agents get answers faster
If you think BI workloads have variety, try pointing your agent at your data! We have analyzed those query patterns and found that AI query patterns have higher burstiness. That means that when your agents are exploring your data, those cold queries play an important role. Agents love to ask tons of tiny questions and async IO makes even their more esoteric requests speedier. Reducing the impact of cold queries also reduces the tail latency of your queries, making your agents able to find answers in a more consistent amount of time.
While it is still early days for official AI query benchmarks (Transaction Processing Performance Council, where are you??) those 30% gains from TPC-H and TPC-DS are still good predictors here. So while you’re using the MotherDuck remote MCP to explore your data with your agent of choice, you’ll just get your questions answered quicker now.
We’re ready for you to get quacking on 2.0!
As you’ve already seen, DuckDB 2.0 is an incredible feat of engineering from our friends at DuckLabs. Since we are the largest commercial deployment of DuckDB, we have a unique vantage point from which to profile the new release. There has been a tremendous amount of collaboration as we fine tuned 2.0 on over 100 million queries before this launch.
Now, we are ready for you to enjoy it! Your 7 day free trial includes all the DuckDB 2.0 goodies.
Table of contents