Standfirst: Sirius, the GPU engine that ships as a core extension in DuckDB 2.0.1, promises GPU-accelerated SQL with two commands and no query rewrites. We ran it on the cheapest GPU most people can get for free — a Colab Tesla T4 — against a retail-style analytical workload. Join-and-sort queries ran up to 4.67× faster. Two of six queries ran slower on the GPU. And getting to a clean run took three attempts, each failing in a different, instructive way. Here is the full record.
TL;DR
- Sirius is real and works as documented:
INSTALL sirius; LOAD sirius;is all it takes on Linux. DuckDB keeps parsing and optimising; Sirius executes supported plans on the GPU and silently falls back to the CPU engine for anything it does not support. - On a T4 with a small (SF1-scale, 21 MB) synthetic retail dataset, speedups were workload-dependent: 4.67× (multi-way join + sort), 3.37× (join + Top-N), 1.91× (join + aggregation), 1.70× (window function) — but 0.73× and 0.84× on two aggregation-heavy queries, where GPU overhead exceeded the compute saved.
- At this data scale the GPU is not a free lunch. Sirius’s published 3.25–5.50× figures come from tuned multi-GPU runs at far larger scale factors. Small data is precisely where GPU acceleration is weakest, and our results show it.
- Operationally, Sirius on a small GPU has sharp edges: run it in-process (a subprocess load crashed), initialise it once per process (a second initialisation tried to reserve ≈13.8 GiB of VRAM and failed on a 15 GB card), and always verify with
sirius_status()because fallback to CPU is silent.
What Sirius is
Sirius is an open-source, GPU-native SQL engine developed at the University of Wisconsin–Madison together with NVIDIA, released as a core extension in DuckDB 2.0.1 (November 2026). The division of labour is clean: DuckDB parses SQL and builds the query plan; Sirius takes over execution of the plans it supports and runs them on the GPU through a CUDA backend; results return through the same connection. Queries using unsupported features fall back to the standard CPU engine rather than failing — convenient, but it means a query can quietly run on the CPU while you believe it ran on the GPU.
Requirements, per the DuckDB 2.0.1 release announcement:
| Requirement | Detail |
|---|---|
| DuckDB version | 2.0.1 or later (Sirius ships as a core extension) |
| Operating system | Linux only (x86-64 and arm64) |
| GPU | NVIDIA, compute capability 7.5 or newer |
| Driver | CUDA 12 or 13 driver (driver ≥ 570.26 class); Sirius auto-detects the driver and downloads the matching backend (sirius_cuda12 or sirius_cuda13, roughly 700 MB–1 GB) |
| Enablement | INSTALL sirius; LOAD sirius; — no mode switch is required; check health with FROM sirius_status(); |
There is no Windows build. We confirmed this the hard way on a Windows 11 laptop (Core i7-13700HX, RTX 5050 Laptop 8 GB, driver 597.13): the extension install returns HTTP 404, the distributed binaries are ELF Linux shared objects, and WSL2 was unavailable on that machine (no administrator rights, virtualisation disabled in BIOS). If your estate is Windows-only, Sirius is not currently an option — plan around a Linux host or a cloud GPU.
Test setup and methodology
Because the Windows route is closed, the benchmark ran on Google Colab’s free tier:
- GPU: Tesla T4, 15 GB VRAM (15,360 MiB)
- Driver / CUDA: 580.82.07 / CUDA 13.0 (Sirius selected the
sirius_cuda13backend) - DuckDB: 2.0.1 (pip; Colab’s preinstalled 1.3.2 was replaced)
- CPU baseline: the same Colab host CPU, same DuckDB connection, CPU pass executed first
Dataset — read this before quoting any number. The workload uses a synthetic, TPC-DS-style dataset at SF1 scale, generated by script with a fixed seed. It is not the official TPC-DS dataset and these are not TPC-DS results. Tables: store_sales 1,000,000 rows; customer 100,000; customer_sales 100,000; item 10,000; date_dim 3,650; store 10. Database file: 21 MB. One disclosure on provenance: the original generator script reached us truncated, so the generator was reconstructed to the same schema, row counts and seed; every query below returns identical row counts across the local and Colab runs, and the database size measured in Colab (21 MB) is what we report.
Queries. Six analytical queries in the retail mould, each run 5 times; we report best and average. Speedup is best-vs-best.
| Query | Shape |
|---|---|
| Q1_Aggregation | store_sales ⋈ item, group by category/class, order, limit 20 |
| Q2_Join_Sort | 4-way join (customer_sales ⋈ customer ⋈ store_sales ⋈ store), group, sort by spend, limit 20 |
| Q3_MultiJoin | 4-way join with a state filter, group by category/year/month (2,400 rows out) |
| Q4_TopN_Scan | customer ⋈ store_sales, group, Top-10 by total |
| Q5_HashAgg | single-table hash aggregation over store_sales by day, Top-100 |
| Q6_Window | join + RANK() window partitioned by category |
Two methodology notes for completeness. First, the CPU pass ran with DuckDB’s default threading; the GPU pass set threads = 1 on the host side after loading Sirius, exactly as scripted — host threads do not execute the GPU plan, but we report the configuration as run. Second, our script contained a legacy SET sirius.mode = 'gpu' line, kept inside a try/except. It failed with a parser error — and per the official announcement, no such setting is needed: once Sirius is loaded it takes over supported plans automatically. The line was a script artifact, disclosed here rather than silently edited out; it does not affect the GPU timings, which were produced with Sirius loaded and sirius_status() reporting healthy.
Results
All times in milliseconds, Colab T4, DuckDB 2.0.1.
| Query | CPU best | CPU avg | GPU best | GPU avg | Speedup (best) |
|---|---|---|---|---|---|
| Q1_Aggregation | 40.74 | 47.28 | 21.30 | 95.01 | 1.91× |
| Q2_Join_Sort | 199.12 | 213.36 | 42.66 | 48.23 | 4.67× |
| Q3_MultiJoin | 15.23 | 17.27 | 20.83 | 29.85 | 0.73× |
| Q4_TopN_Scan | 91.65 | 105.29 | 27.21 | 31.44 | 3.37× |
| Q5_HashAgg | 11.16 | 11.88 | 13.30 | 14.00 | 0.84× |
| Q6_Window | 30.94 | 32.21 | 18.22 | 25.89 | 1.70× |
What the numbers say
Joins with real data movement win. Q2 — the heaviest query, a four-way join with grouping and a sort over the million-row fact table — went from 199 ms to 43 ms. Q4’s join-and-Top-N improved 3.37×. These are the classic GPU shapes: wide scans, hash joins and sorts over enough rows to keep thousands of cores busy.
Small aggregations lose. Q3 (0.73×) and Q5 (0.84×) finished slower on the GPU. Both complete in 11–21 ms on the CPU; at that scale, kernel launch and host↔device transfer overhead costs more than the parallel compute saves. Q5 is a single-table aggregation over one million rows — a reminder that “GPU-accelerated” is a property of a query’s shape and size, not of the engine’s badge.
First-query warm-up is real. GPU Q1 averaged 95.01 ms against a best of 21.30 ms: the first execution carries compilation and initialisation costs that later runs amortise. Any benchmarking — or production rollout — that judges Sirius on a cold first query will understate it; conversely, workloads made of one-shot ad-hoc queries will genuinely pay some of that cost every time.
Scale is the missing variable. NVIDIA’s published Sirius evaluation reports 3.25–5.50× over the best CPU configurations — on tuned, dual-GPU AWS instances at TPC-H scale factors orders of magnitude larger than SF1. Our T4/SF1 numbers are not a contradiction of theirs; they are the other end of the curve. GPU advantage grows with data size; at 21 MB, you are measuring overhead as much as compute.
Three ways it breaks (and the fixes)
The most valuable output of this test was not the speedup table. It was the failure log — three distinct failures, each with a different cause, that anyone deploying Sirius on modest hardware is likely to meet.
1. Loading Sirius from a subprocess crashed. Running the benchmark as a standalone !python3 subprocess in Colab, the load of the sirius_cuda13 backend aborted the process (core dumped). The same load inside the notebook kernel succeeded. Practical rule: initialise Sirius in the process that will run the queries, and treat subprocess/embedded launches as untested territory until you have verified them in your own stack.
2. Initialising Sirius twice in one process ran out of VRAM. In a kernel where Sirius had already been loaded once, a second initialisation attempted to allocate 14,855,231,897 bytes (≈13.8 GiB) through the RMM memory resource and failed with cudaErrorMemoryAllocation — on a card with 15,360 MiB total. On a fresh runtime, a single initialisation succeeded immediately. Practical rules: initialise once per process; on small-VRAM cards, keep anything else off the GPU during initialisation; and do not assume a 15 GB card gives Sirius 15 GB of headroom.
3. The mode switch that isn’t. As noted above, SET sirius.mode = 'gpu' is not part of the current Sirius interface and raises a parser error. The documented flow is load-and-go, verified by sirius_status(). If a tutorial tells you to set a mode, it is describing something other than the shipped core extension — and because unsupported queries fall back to the CPU silently, sirius_status() plus per-query timing is the only reliable evidence that the GPU did the work.
Where this fits in practice
Sirius is best understood as an accelerator for DuckDB-shaped analytics that have outgrown one CPU but not yet justified a warehouse migration. Concretely, the shapes that won in our test map to familiar enterprise workloads:
- BI and report offload on star schemas. Fact/dimension joins with grouping and sorting — the Q2/Q4 pattern — are the daily bread of sales, finance and operations reporting. A 3–5× cut in report latency on hardware you may already have (or can rent by the hour) is the strongest case for Sirius today.
- Retail and e-commerce analytics. TPC-DS-style questions — category performance, customer spend ranking, promotion analysis — are exactly the join-heavy shapes that benefited. Teams already prototyping these in DuckDB on Parquet or DuckDB files can test Sirius with zero query rewrites.
- Ad-hoc exploration over data-lake files. DuckDB’s strength is querying files in place; Sirius extends the size at which “just query the Parquet” stays interactive — provided the working set fits VRAM discipline (see failure 2).
- Batch aggregation steps in ETL/validation pipelines, where queries are large, repeated and latency-tolerant enough to amortise warm-up.
And the anti-fits, equally concrete:
- Small data. Below tens of millions of rows, expect overhead to eat the gains — two of our six queries are the receipt.
- OLTP and high-frequency small queries. Sirius is a batch analytical engine; per-query launch overhead makes it the wrong tool for point lookups.
- Windows-only estates. No build exists; see the requirements table.
- Anything you cannot monitor. Silent CPU fallback means an unmonitored deployment can quietly become a CPU deployment.
sirius_status()checks belong in your job wrapper.
Cost path. The sensible evaluation ladder is the one we climbed: free-tier Colab (T4) for a proof of concept, then an hourly cloud GPU instance for a realistic-scale test, and only then a hardware conversation. Keep the scale caveat front and centre when budgeting: benefits at SF100-class data are documented by the vendor; benefits at SF1 are, as shown, mixed.
Limitations of this test
- Synthetic TPC-DS-style data, not the official TPC-DS benchmark; SF1 scale (1M fact rows, 21 MB) is far below the scales where GPU engines are designed to shine.
- One GPU model (T4, a 2018-era inference card) on a shared free-tier host; absolute times will differ on A10/L4/A100-class hardware and dedicated machines.
- Best-of-5 timing flatters both engines equally but hides variance; averages are reported alongside for that reason.
- The generator was reconstructed after the original arrived truncated; schema, row counts and query results were verified identical across environments, and the reconstruction is disclosed rather than hidden.
- The GPU pass ran with host
threads = 1as scripted; the CPU pass used DuckDB defaults. Both configurations are reported as run.
FAQ
Can I run Sirius on Windows? No. Sirius ships for Linux (x86-64 and arm64) only. On Windows the extension is not available for install; a Linux VM, WSL2 (where available), or a cloud GPU instance is required.
What GPU do I need? An NVIDIA GPU with compute capability 7.5 or newer and a CUDA 12/13-class driver. The T4 (CC 7.5) used here is the floor in practice — and its 15 GB of VRAM already imposes the initialise-once discipline described above.
Is Sirius always faster than CPU DuckDB? No. In this test, two of six queries were slower on the GPU. Acceleration depends on query shape and data volume; large joins, scans and sorts benefit first.
How do I know a query actually ran on the GPU?
Check FROM sirius_status(); after loading, and compare timings. There is no per-query “ran on GPU” badge, and unsupported features fall back to the CPU silently — verify, don’t assume.
Can I try it for free?
Yes — this entire test ran on Colab’s free T4 tier. Install DuckDB 2.0.1, run INSTALL sirius; LOAD sirius;, and check sirius_status().
Reproducibility
The benchmark ran in a Colab notebook (Tesla T4 runtime) whose outputs — environment, sirius_status(), all CPU and GPU timings, and both result JSON files — are preserved with the notebook. The two scripts used (dataset generator and benchmark, adapted only in how Sirius is loaded: core extension instead of local binaries) are kept with this article’s project files, together with the full verification log covering the Windows dead end, both failed attempts, and the successful run. Every number in the results table traces to a recorded run; where an earlier run produced different figures, the final clean run is the one reported.
The enabling sequence on any qualifying host is exactly three commands:
INSTALL sirius;
LOAD sirius;
FROM sirius_status();
Further Reading
- DuckDB 2.0 Deep Dive: From Embedded Engine to a Servable Database — the 2.0 release this extension ships with.
- 172 Million Rows on a Laptop: Browsing and Reconciling a 45 GB OLAP Export with DuckDB — the CPU-scale ceiling: where a single laptop starts to hurt.
- 773 Rules, One Export: Auditing a Production Planning System Offline with DuckDB 2.0 — a production configuration audit run on DuckDB 2.0.
- Exporting Essbase Data to DuckDB for Offline Analytics: 5.28M Rows, Zero Reconciliation Difference — the offline-analytics pattern this GPU experiment extends.
Sources
- DuckDB, Announcing DuckDB 2.0.1 LTS — Sirius as a core extension, requirements, enablement and fallback behaviour: https://duckdb.org/2026/11/20/announcing-duckdb-201
- NVIDIA Developer Blog (23 November 2026), Get Started with GPU-Accelerated DuckDB Analytics Using the Sirius Core Extension — Sirius release and published TPC-H evaluation (3.25–5.50×, tuned dual-GPU configurations): https://developer.nvidia.com/blog/get-started-with-gpu-accelerated-duckdb-analytics-using-the-sirius-core-extension — vendor figures, cited as such in the text above.
- Sirius source repository: https://github.com/sirius-db/sirius
- DuckDB documentation, Sirius core extension (requirements, enablement, fallback behaviour): https://duckdb.org/docs/2.0/core_extensions/sirius
Tested 27 November 2026 · DuckDB 2.0.1 · Sirius (core extension, sirius_cuda13 backend) · Tesla T4 15 GB, driver 580.82.07 · Dataset: synthetic TPC-DS-style, SF1 — not an official TPC-DS result.
