The alpha version of DuckDB 2.0 has been released, with the full version expected in the fall. This update brings performance improvements, particularly for users building data tables and pipelines. The primary focus of the performance gains is on how data is handled, especially with external sources.
A significant new feature in DuckDB 2.0 is asynchronous I/O. This change directly impacts queries that read large Parquet files from remote storage like S3. Previously, workers would sequentially download data, wait, then decode it, leading to idle CPU time during network waits. With async I/O, a dedicated pool of threads handles downloads, buffering data, while another pool of workers focuses solely on decoding, ensuring continuous CPU utilization.
Testing a query that reads a 2.2 GB Parquet file from S3 showed performance gains. The file, containing 228 million rows across 2268 row groups, had one column (230 MB) read and processed. The new asynchronous I/O mechanism keeps dozens of row groups in flight for download, ensuring that decoding workers always have data ready, thus making network and CPU operations concurrent.
The asynchronous I/O feature is enabled by default, controlled by the `read_ahead_depth` setting. This setting determines how many row groups the download pool can fetch ahead of the workers. A default value of -1 enables automatic sizing based on thread count, while setting it to 0 reverts to the previous synchronous behavior. This enhancement means users can see speed improvements without altering their existing queries, provided their data access patterns benefit from concurrent I/O and processing.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
DuckDB 2.0 alpha is available, featuring asynchronous I/O that improves query performance, especially when reading Parquet files from S3. This change allows network I/O and CPU processing to occur concurrently, reducing idle time for workers and speeding up data retrieval from remote storage.