{"schemaVersion":1,"id":"duckdb","name":"DuckDB","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/duckdb/","officialUrl":"https://github.com/duckdb/duckdb","isCatalog":false,"description":"An embedded analytical SQL database: it runs local queries against tables and files and is useful for data analysis and embedded analytics.","tasks":["Run an analytical SQL query against local data","Write an aggregation query and compare the result with reference data"],"categoryIds":["backend"],"subcategoryIds":["backend.databases"],"tags":["DuckDB","database","Development"],"aliases":["duckdb/duckdb","duckdb","duck-database"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Compute, your own hosting, and external services are paid for separately if selected.","license":"MIT: code; dependencies have separate licenses.","selectionGuide":{"purpose":"Run an analytical SQL query against local data","chooseWhen":["Run an analytical SQL query against local data","Write an aggregation query and compare the result with reference data"],"considerInstead":["When choosing for this topic, compare DuckDB with Apache Superset. A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.","When choosing for this topic, compare DuckDB with ClickHouse. A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."],"requirements":[],"limitations":["Costs and limits of free use: Compute, your own hosting, and external services are paid for separately if selected.","Terms of use: MIT: code; dependencies have separate licenses."],"faq":[{"question":"What can you use for free in DuckDB?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with DuckDB?","answer":"Compute, your own hosting, and external services are paid for separately if selected."},{"question":"What terms of use matter for DuckDB?","answer":"MIT: code; dependencies have separate licenses."},{"question":"How do you get started with DuckDB?","answer":"Connect a table or file dataset to DuckDB. Write an SQL aggregation and compare the result with reference data. Save the query and input file schema; repeat the calculation with a new sample and missing data."},{"question":"Must CSV or Parquet be imported into a table first?","answer":"In the example, DuckDB reads a file directly from FROM: SELECT * FROM 'myfile.csv' or 'myfile.parquet'. A standalone CLI and Python, R, Java, and Wasm clients are available. SQL includes window functions, correlated subqueries, and nested arrays/structs/maps."}],"related":[{"id":"apache-superset","reason":"A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"clickhouse","reason":"A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"metabase","reason":"A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."}],"sources":["https://github.com/duckdb/duckdb","https://raw.githubusercontent.com/duckdb/duckdb/HEAD/README.md","https://raw.githubusercontent.com/duckdb/duckdb/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Run an analytical SQL query against local data.","inputs":["A schema, test dataset, and queries.","A supported database or runtime."],"steps":["Connect a table or file dataset to DuckDB.","Write an SQL aggregation and compare the result with reference data.","Save the query and input file schema; repeat the calculation with a new sample and missing data."],"checks":["Aggregates match reference data; check NULL, types, and time zones.","Files can be read within available memory; the workflow does not require promised managed hosting."]},"sources":["https://github.com/duckdb/duckdb","https://raw.githubusercontent.com/duckdb/duckdb/HEAD/README.md","https://raw.githubusercontent.com/duckdb/duckdb/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"Purpose, the current repository license, and the boundaries between code, services, and models were reviewed. The product was not run or security-audited.","relatedIds":["metabase","apache-superset","clickhouse"],"dataVersion":"cbbe7123b47a5ae80983","type":"Database / data tool","kind":"tool","pricingNote":"Code and local use under MIT. Compute, your own hosting, and external services are paid for separately if selected.","notes":null,"labeledSources":[{"url":"https://github.com/duckdb/duckdb","label":"Official source"},{"url":"https://raw.githubusercontent.com/duckdb/duckdb/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/duckdb/duckdb/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}