Documentation Index
Fetch the complete documentation index at: https://mintlify.com/duckdb/duckdb/llms.txt
Use this file to discover all available pages before exploring further.
Core In-Tree Extensions
DuckDB includes several core in-tree extensions that provide fundamental functionality. These extensions are maintained by the DuckDB team and are considered essential to the database’s capabilities.Parquet
Apache Parquet file format supportRead and write Parquet files with full support for:
- Columnar storage format
- Compression (Snappy, ZSTD, etc.)
- Encryption and decryption
- Statistics and bloom filters
- Nested data types
- Dictionary encoding
JSON
JSON data type and functionsComprehensive JSON support including:
- Native JSON data type
- JSON parsing and generation functions
- JSONPath-style extraction
- JSON schema inference
- Reading/writing JSON and NDJSON files
- Streaming JSON processing
read_json() and scalar functions for JSON manipulation.ICU
International Components for UnicodeProvides internationalization support:
- Locale-based collation for string ordering
- Time zone support for timestamp operations
- Support for 100+ locales
- Case-insensitive comparisons
- Unicode normalization
Autocomplete
SQL autocomplete functionalityPowers intelligent SQL completion:
- PEG-based grammar parser
- Context-aware suggestions
- Keyword and identifier completion
- Schema-aware table/column suggestions
TPC-H
TPC-H benchmark data generatorGenerate TPC-H benchmark data:
- Scale factor support (0.01 to large scales)
- 22 TPC-H benchmark queries
- Answer validation for scale factors 0.01, 0.1, and 1
- Multi-threaded data generation
dbgen(sf => scale_factor)- Generate TPC-H schema and datatpch_queries()- List all TPC-H queriestpch_answers()- Get expected query resultsPRAGMA tpch(query_number)- Run specific TPC-H query
TPC-DS
TPC-DS benchmark data generatorGenerate TPC-DS benchmark data:
- Scale factor support
- Complete TPC-DS query suite
- Answer validation for multiple scale factors
- Schema generation with optional keys
dsdgen(sf => scale_factor)- Generate TPC-DS schema and datatpcds_queries()- List all TPC-DS queriestpcds_answers()- Get expected query resultsPRAGMA tpcds(query_number)- Run specific TPC-DS query
Usage Examples
TPC-H Benchmark
TPC-DS Benchmark
Parquet Files
JSON Processing
ICU Collation
Extension Information
To see which extensions are loaded or available:Next Steps
Loading Extensions
Learn how to install and load extensions at runtime
Building Extensions
Build custom extensions from source