duckdb /

DuckDB

Live map
Snapshotmain · f8e1c96

A connection turns SQL into optimized physical pipelines that scan and transform vectors backed by transactional storage.

Click a building or route
Choose a path

Turn SQL into optimized pipelines and stream vectors back.

System map7 components · 8 connections
130%
DuckDB: analytical SQL runs inside the process architectureFollow a query from the connection across parsing, planning, optimization, pipeline execution, and storage.query stringparsed statement treetyped logical operatorsphysical operators and…DataChunks and row ide…materialized or stream…ConnectionSQL parserBinder &plannerOptimizerPipelineexecutorTransactionmanagerStoragemanager
Connections
BuildingsEntryServiceComputeStorageRuntimeToolingExternal

Terms, in plain English

DataChunkA collection of column vectors processed together by physical operators.

How to study this repo

  1. 1
    Bind a statement

    Trace a parsed table reference into a typed logical plan.

  2. 2
    Watch a rewrite

    Find where the optimizer pushes a filter closer to its scan.

  3. 3
    Follow a DataChunk

    Track one vector batch from storage through a pipeline to a result.