jimexist / duckdb

DuckDB is an in-process SQL OLAP Database Management System

Home Page:http://www.duckdb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

 

Github Actions Badge codecov discord Latest Release

DuckDB

DuckDB is a high-performance analytical database system. It is designed to be fast, reliable 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), and more. For more information on the goals of DuckDB, please refer to the Why DuckDB page on our website.

Installation

If you want to install and use DuckDB, please see our website for installation and usage instructions.

Data Import

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.

SQL Reference

The website contains a reference of functions and SQL constructs available in DuckDB.

Development

For development, DuckDB requires CMake, Python3 and a C++11 compliant compiler. Run make in the root directory 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 detail of benchmarks is in our Benchmark Guide.

Please also refer to our Contribution Guide.

About

DuckDB is an in-process SQL OLAP Database Management System

http://www.duckdb.org

License:MIT License


Languages

Language:C++ 88.5%Language:C 4.8%Language:Python 2.4%Language:R 1.3%Language:Java 0.8%Language:Swift 0.7%Language:Julia 0.7%Language:CMake 0.4%Language:TypeScript 0.3%Language:JavaScript 0.1%Language:Shell 0.1%Language:Makefile 0.0%Language:CSS 0.0%