# DuckDB

DuckDB SQL database with documented deployment, data preservation and task\-specific substitution limits\.

ID: Q1359 · Revision: 1407

Type: software · License: MIT[^duck-why] · Status: active

Website: https://duckdb.org/



DuckDB is a SQL database engine designed for analytical workloads such as aggregations and joins across substantial portions of a dataset\. It can run within an application process and integrates with languages including Python and R\. Its columnar, batch\-oriented execution targets analysis rather than assuming that every database workload benefits from the same architecture\.[^duck-why]

## Analytical workflow

DuckDB supports complex SQL, transactions and a native single\-file format, alongside extensions for additional data formats and systems\. In\-process execution can keep analysis close to data already held by a host application\. This makes it useful for analytical scripts and embedded reporting, but the design focus should not be converted into an unsupported claim of superiority for every transactional workload\.[^duck-why]

## Concurrency by deployment model

For native in\-process access, one process can read and write, while multiple processes can share read\-only access\. Multiple writer threads within the writing process are supported, but conflicting changes can fail\. Current documentation separately describes the Quack remote protocol, marked beta as of v1\.5\.2, and DuckLake with a coordinating catalog\. Those alternatives should not be confused with unrestricted multi\-process writes to an ordinary local database file\.[^duck-concurrency]

## Working with SQLite data

The SQLite extension can read and write SQLite files and transfer data between SQLite and DuckDB tables\. DuckDB's type expectations can expose values that SQLite's flexible typing accepted: the documentation gives an integer\-declared column containing text as a mismatch example\. Accessing the same file is therefore not a promise that every query or value will behave identically\.[^duck-sqlite]

## Export and licensing

EXPORT DATABASE writes schema information and table data to a directory, with CSV or Parquet options, and IMPORT DATABASE can reload that output\. This provides a documented movement path rather than requiring consumers to understand DuckDB's internal file format\. DuckDB itself is MIT licensed; extensions and external systems should still be evaluated for the particular deployment\.[^duck-export][^duck-why]

## Substitution considerations

DuckDB can substitute for [SQLite](/sqlite) for embedded SQL analysis when the workload centers on reporting, aggregation and larger scans\. Its SQLite extension can help access existing data, but concurrency, typing and application APIs remain different\. The assessment does not imply that replacing a SQLite library beneath a transactional application preserves behavior, nor that a chosen analytical query will be faster without measurement\.[^duck-why][^duck-sqlite][^duck-concurrency]

## Capabilities and substitutions

### Embedded analytical SQL — supported

Targets analytical joins and aggregations with columnar\-vectorized execution\.[^duck-why]

Use case: SQL data storage and querying · Platforms: Linux, Windows, macOS, Embedded language clients · Region: Deployment, version, engine and application compatibility apply

### SQLite data access — limited

Extension supports read/write access, but type mismatches can require adaptation\.[^duck-sqlite]

Use case: SQL data storage and querying · Platforms: Linux, Windows, macOS, Embedded language clients · Region: Deployment, version, engine and application compatibility apply

### [Substitute for SQLite](/sqlite) — limited

Assessment: substitutes for analytical tasks, with SQLite data access through an extension; native concurrency, type behavior and APIs differ\.[^duck-why][^duck-concurrency][^duck-sqlite]

Use case: Embedded SQL analysis · Platforms: Linux, Windows, macOS, Embedded language clients · Region: Deployment, version, engine and application compatibility apply

## References

[^duck-why]: [Why DuckDB](<https://duckdb.org/why_duckdb>) — Analytical execution, in\-process deployment, language clients and MIT license (vendor; retrieved 2026-10-07T02:11:22Z)

[^duck-concurrency]: [DuckDB concurrency](<https://duckdb.org/docs/current/connect/concurrency>) — Native in\-process access, conflicting writes, Quack beta and DuckLake distinction (vendor; retrieved 2026-10-07T02:11:41Z)

[^duck-sqlite]: [DuckDB SQLite extension](<https://duckdb.org/docs/current/core_extensions/sqlite>) — Read/write SQLite attachment, type mismatch and SQLite\-controlled locking (vendor; retrieved 2026-10-07T02:11:59Z)

[^duck-export]: [DuckDB export and import](<https://duckdb.org/docs/current/sql/statements/export>) — Schema and data export directories with CSV or Parquet (vendor; retrieved 2026-10-07T02:11:48Z)

Source revision: https://substitutefor.net/entities/Q1359?revision=1407
