- Source: DuckDB
DuckDB is an open-source column-oriented relational database management system (RDBMS). It is designed to provide high performance on complex queries against large databases in embedded configuration, such as combining tables with hundreds of columns and billions of rows. Unlike other embedded databases (for example, SQLite) DuckDB is not focusing on transactional (OLTP) applications and instead is specialized for online analytical processing (OLAP) workloads. The project has over 6 million downloads per month.
History
DuckDB was originally developed by Mark Raasveldt and Hannes Mühleisen at the Centrum Wiskunde & Informatica (CWI) in the Netherlands. The project co-founders designed DuckDB to address the need for an in-process OLAP database solution. DuckDB was first released in 2019. DuckDB version 1.0.0 was released on June 3, 2024 under the codename SnowDuck.
Features
DuckDB uses a vectorized query processing engine. DuckDB is special amongst database management systems because it does not have any external dependencies and can build with just a C++11 compiler. DuckDB also deviates from the traditional client–server model by running inside a host process (it has bindings, for example, for a Python interpreter with the ability to directly place data into NumPy arrays). DuckDB's SQL parser is derived from the pg_query library developed by Lukas Fittl, which is itself derived from PostgreSQL's SQL parser that has been stripped down as much as possible. DuckDB uses a single-file storage format to store data on
disk, designed to support efficient scans
and bulk updates, appends and deletes.
Comparison
DuckDB in its OLAP niche does not compete with the traditional DBMS like MSSQL, PostgreSQL and Oracle database. While using SQL for queries, DuckDB targets serverless applications and provides extremely fast responses using Apache Parquet files for storage. These attributes make it a popular choice for large dataset analysis in interactive mode, but certain commenters have indicated that they believe the serverless nature of DuckDB makes it, as a stand alone tool, "not so suitable for enterprise data warehousing".
Commercial use
DuckDB is used at Facebook, Google, and Airbnb.
DuckDB co-author Mühleisen also runs a support and consultancy firm for the software, DuckDB Labs. The company has chosen not to take venture capital funding, stating "We feel investment would force the project direction towards monetization, and we would much prefer keeping DuckDB open and available for as many people as possible". Another company, MotherDuck, has received $100m funding for its data platform based on DuckDB, with investors including Andreessen Horowitz.
DuckDB Foundation
The independent non-profit DuckDB Foundation safeguards the long-term maintenance and development of DuckDB. The foundation holds much of the intellectual property of the project and is funded by charitable donations. The DuckDB Foundation's statutes ensure DuckDB remains open-source under the MIT license in perpetuity.
Language support
In addition to the native C and C++ APIs, DuckDB supports a range of programming languages.
References
Further reading
Woodie, Alex (5 March 2024). "DuckDB Walks to the Beat of Its Own Analytics Drum". Datanami.
External links
Official homepage of DuckDB
Kata Kunci Pencarian:
- DuckDB
- Peter Boncz
- Centrum Wiskunde & Informatica
- Apache Parquet
- Data orientation
- Neo4j
- Embedded database
- Online analytical processing
- List of column-oriented DBMSes
- List of in-memory databases