DuckDB
This article needs additional citations for verification. (March 2024) |
Developer(s) | DuckDB Labs |
---|---|
Stable release | v1.1.2
/ October 14, 2024 |
Repository | |
Written in | C++ |
Operating system | Cross-platform |
Type | Column-oriented DBMS RDBMS |
License | MIT License |
Website | www |
DuckDB is an open-source column-oriented relational database management system (RDBMS) originally developed by Mark Raasveldt and Hannes Mühleisen at the Centrum Wiskunde & Informatica (CWI) in the Netherlands[1] and first released in 2019.[2] The project has over 6 million downloads per month.[3][4][5] It is designed to provide high performance on complex queries against large databases in embedded configuration,[1] 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.[6]
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 the 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 match poorly the requirements of the enterprise data storage.[7]
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.[8] 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[1]).
Commercial use
[edit]DuckDB is used at Facebook, Google, and Airbnb.[9]
DuckDB co-author Mühleisen also runs a support and consultancy firm for the software, DuckDB Labs.[2] 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".[5] Another company, MotherDuck, has received $100m funding for its data platform based on DuckDB, with investors including Andreessen Horowitz.[10]
DuckDB Foundation
[edit]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.[11] The DuckDB Foundation's statutes ensure DuckDB remains open-source under the MIT license in perpetuity.[12]
Language support
[edit]In addition to the native C and C++ APIs, DuckDB supports a range of programming languages.
Language | Notes | Reference |
---|---|---|
Java | The Java API is implemented using JNI.[13] Integration with the Apache Arrow[14] format is provided. | [15] |
Python | The Python API implements support for the Pandas,[16] Apache Arrow[17] and Polars data analysis packages. | [18] |
Rust | The Rust API is distributed as a rust crate that exposes an elegant wrapper over the native C API. | [19] |
Node.JS | Node API | [20] |
R | R API | [21] |
Julia | Julia API | [22] |
Swift | Swift API | [23] |
References
[edit]- ^ a b c Kamphuis, Chris (2020). "Graph Databases for Information Retrieval". Advances in Information Retrieval. Vol. 12036. Cham: Springer International Publishing. pp. 608–612. doi:10.1007/978-3-030-45442-5_79. ISBN 978-3-030-45441-8. PMC 7148032.
- ^ a b Clark, Lindsay. "DuckDB reaches version 0.5.0". www.theregister.com. Archived from the original on 2024-03-07. Retrieved 2024-03-23.
- ^ "PyPi Download Stats". www.pypistats.org. Archived from the original on 2024-08-13. Retrieved 2024-08-13.
- ^ "DuckDB Python Downloads Dashboard". duckdbstats.com. Archived from the original on 2024-08-13. Retrieved 2024-08-13.
- ^ a b Clark, Lindsay. "DuckDB Labs puts limit on free support, rules out VC funding". www.theregister.com. Archived from the original on 2024-03-23. Retrieved 2024-03-23.
- ^ Raasveldt, Mark; Mühleisen, Hannes (2019-06-25). DuckDB: an Embeddable Analytical Database. ACM. pp. 1981–1984. doi:10.1145/3299869.3320212. ISBN 978-1-4503-5643-5.
- ^ Bannert, M. (2024). Research Software Engineering: A Guide to the Open Source Ecosystem. Chapman & Hall/CRC Data Science Series. CRC Press. p. 25. ISBN 978-1-04-000513-2. Archived from the original on 2024-03-23. Retrieved 2024-03-23.
- ^ "DuckDB Building Instructions". Retrieved 2024-08-16.
- ^ Clark, Lindsay. "Scale-up database wrangler MotherDuck scores $47.5 million". www.theregister.com. Archived from the original on 2024-03-23. Retrieved 2024-03-23.
- ^ Clark, Lindsay. "MotherDuck serverless analytics platform wins $52.5M funding". www.theregister.com. Archived from the original on 2024-03-23. Retrieved 2024-03-23.
- ^ "DuckDB Foundation". Retrieved 2024-11-09.
- ^ "DuckDB Project FAQs". Retrieved 2024-11-09.
- ^ "Java JNI Source Code". www.github.com. Retrieved 2024-09-07.
- ^ "DuckDB Java Arrow Source Code". www.github.com. Retrieved 2024-09-07.
- ^ "DuckDB Java Source Code". www.github.com. Retrieved 2024-09-07.
- ^ "DuckDB Pandas Source". www.github.com. Retrieved 2024-09-07.
- ^ "DuckDB PyArrow Source". www.github.com. Retrieved 2024-09-07.
- ^ "DuckDB Python Source Code". www.github.com. Retrieved 2024-09-07.
- ^ "DuckDB Rust Source Code". www.github.com. Retrieved 2024-09-07.
- ^ "DuckDB Node Source Code". www.github.com. Retrieved 2024-09-07.
- ^ "DuckDB R Source Code". www.github.com. Retrieved 2024-09-07.
- ^ "DuckDB Jullia Source Code". www.github.com. Retrieved 2024-09-07.
- ^ "DuckDB Swift Source Code". www.github.com. Retrieved 2024-09-07.
Further reading
[edit]- Woodie, Alex (5 March 2024). "DuckDB Walks to the Beat of Its Own Analytics Drum". Datanami.
External links
[edit]