DuckDB is an analytical in-process SQL database management system
DuckDB is an analytical in-process SQL database management system
DuckDB is a high-performance analytical database system. It is designed to be fast, reliable, portable, and easy to use. DuckDB provides a rich SQL dialect with support far beyond basic SQL. DuckDB supports arbitrary and nested correlated subqueries, window functions, collations, complex types (arrays, structs, maps), and several extensions designed to make SQL easier to use.
DuckDB is available as a standalone CLI application and has clients for Python, R, Java, Wasm, etc., with deep integrations with packages such as pandas and dplyr.
For more information on using DuckDB, please refer to the DuckDB documentation.
If you want to install DuckDB, please see our installation page for instructions.
For CSV files and Parquet files, data import is as simple as referencing the file in the FROM clause:
SELECT * FROM 'myfile.csv';
SELECT * FROM 'myfile.parquet';Refer to our Data Import section for more information.
The documentation contains a SQL introduction and reference.
For development, DuckDB requires CMake, Python 3 and a C++17 compliant compiler. In the root directory, run make to compile the sources. For development, use make debug to build a non-optimized debug version. You should run make unit and make allunit to verify that your version works properly after making changes. To test performance, you can run BUILD_BENCHMARK=1 BUILD_TPCH=1 make and then perform several standard benchmarks from the root directory by executing ./build/release/benchmark/benchmark_runner. The details of benchmarks are in our Benchmark Guide.
Please also refer to our Build Guide and Contribution Guide.
See the Support Options page and the dedicated endoflife.date page.
Memory corruption crash from ASOF join over the recursive CTE
disable_parquet_prefetching: v2.0 issues 51x more HTTP requests (33 -> 1,697) and a 2s remote TOP-N becomes 20s
TPC-DS data generated with multiple threads does not match single-threaded data
COPY statement with `plan` function results in infinite loop if function is not changed by `plan` function.
`Function::EraseArgument` and deserialization exception
Arrow scan of list<dictionary> fails when the first 2048 rows hold no list elements
Streamed Arrow export reserves batch_size rows per column, even for a 1-row result
NewVuln67 Sequence nextval Skips Minimum Value at INT64_MIN Boundary
Partitioned COPY to S3 sends two blocking existence HEADs per output file (2.0-alpha is ~2× slower than 1.5.4)
Wrong result for correlated EXISTS with rowid predicate when optimizer is enabled