Technology1 min read

Get Started with GPU-Accelerated DuckDB Analytics Using the Sirius Core Extension

By · Published by Everything Blog

In short

The new Sirius extension allows DuckDB 2.0 to offload analytical query execution to compatible NVIDIA hardware while retaining its native SQL parsing and optimization logic. Setup requires just two SQL commands to install and activate the roughly 700 MB package. Any operations or features not currently supported by the GPU engine automatically fall back to CPU execution to ensure query completion. Developers validated the system's efficiency by benchmarking cold runs of TPC-H queries stored in Amazon S3 across scales from 100 GB to 10 TB.

Key points

  • Analytical operations can leverage NVIDIA hardware acceleration without any modifications…: Analytical operations can leverage NVIDIA hardware acceleration without any modifications to standard SQL syntax or existing database schemas.
  • DuckDB 2.0 maintains control over query parsing and optimization while Sirius handles phy…: DuckDB 2.0 maintains control over query parsing and optimization while Sirius handles physical execution on the GPU.
  • Performance and compute cost evaluations demonstrated scalability using Amazon S3 TPC-H b…: Performance and compute cost evaluations demonstrated scalability using Amazon S3 TPC-H benchmarks spanning from 100 GB up to 10 TB.

Sources checked by our analysis pipeline: 1

As datasets grow, analytical queries can take longer to run, slowing down data exploration, pipelines, and applications. For developers using DuckDB, reducing query times helps keep analytics responsive and can lower compute costs.

NVIDIA and DuckLabs collaborated to release Sirius as a DuckDB core extension, bringing GPU acceleration to DuckDB’s analytical query engine. With two SQL commands, you can install and load Sirius to accelerate supported analytical queries on NVIDIA GPUs without rewriting your SQL or changing database schemas.

Sirius, developed through a collaboration between the University of Wisconsin–Madison and NVIDIA, is an open-source, GPU-native SQL engine.

This post introduces the core extension, shows you how to run your first GPU query, and explains how Sirius integrates with DuckDB.

Accelerate DuckDB queries without rewriting SQL

Sirius accelerates supported queries as a whole. DuckDB handles SQL parsing and optimization, while Sirius executes the resulting query plans on the GPU. The core extension brings this capability into DuckDB’s standard workflow: install Sirius, load it, and run your queries.

With this release, you can:

- Install directly from DuckDB. Use

INSTALL sirius;

andLOAD…

Technology