# Thunderduck > Thunderduck is a modular data warehouse built for agentic data teams, powered by DuckDB: one isolated engine per agent, sub-second queries on terabytes, and every database, warehouse and bucket joined in one SQL statement. Agents build dbt pipelines on branches and explain and fix failed queries, inside guardrails that price every query before it runs and scope access to each person. Managed cloud, your own cloud (BYOC) or on-premise. Thunderduck is a lakehouse query engine: DuckDB running over a company's own catalogs (Iceberg on Glue, Nessie and R2; BigQuery; PostgreSQL; MySQL; ClickHouse; MongoDB; files in S3, GCS and Azure), addressed as catalog.schema.table. Every query runs in its own container, sized from its plan and priced before it starts. It ships a console (SQL studio, query history, scheduled queries, dbt pipelines, LakeOps table maintenance), a native MCP server, and JDBC, SQLAlchemy and .NET drivers. ## Docs - [Documentation](https://docs.thunderduck.ai/): Connecting catalogs, querying, MCP setup, drivers, pipelines and security. ## Product - [Home](https://thunderduck.ai/): What Thunderduck is, in one page. - [AI & Agents](https://thunderduck.ai/ai/): The native MCP server: Claude, ChatGPT and other MCP clients query your data with each person's own identity, read-only by default, with every query priced before it runs. - [Product](https://thunderduck.ai/product/): How Thunderduck queries S3, GCS, Azure, PostgreSQL and MySQL where the data lives — no ETL, no copies — and what the console does. - [Deploy](https://thunderduck.ai/deploy/): The three deployment options — Managed Cloud, your own cloud (BYOC), or on-premise — on the same engine. - [Pricing](https://thunderduck.ai/pricing/): Usage-based pricing on SaaS; a platform fee for BYOC and on-prem. - [Savings calculator](https://thunderduck.ai/savings/): Estimate what a current warehouse workload would cost on Thunderduck. ## Features - [Integrations](https://thunderduck.ai/integrations/): The sources Thunderduck connects to — PostgreSQL, MySQL, SQL Server, Oracle, BigQuery, ClickHouse, MongoDB, Iceberg and files in S3, GCS, Azure and R2 — and how to join them in one query. - [Connectivity](https://thunderduck.ai/connectivity/): The ways in: the MCP server for AI agents, Python (SQLAlchemy), Node.js (TypeScript), .NET (ADO.NET), the JDBC driver, the Apache Airflow provider and the REST API, all with the same catalogs, access rules and cost checks. - [Isolated compute](https://thunderduck.ai/isolated-compute/): Why every query runs on its own engine, sized from its plan and priced before it starts, with no shared warehouse. - [Automation](https://thunderduck.ai/automation/): Scheduled SQL, exports to your bucket, and dbt run from Git on the same engine, with alerts on failures and stale data. - [LakeOps](https://thunderduck.ai/lakeops/): Iceberg table maintenance: daily compaction to a 512 MiB target file size and snapshot expiry with seven-day retention on Glue and Nessie catalogs, per-table policies, and what it does not cover. ## Solutions - [Data engineering](https://thunderduck.ai/data-engineering/): dbt pipelines from Git, schedules, alerts, freshness and Iceberg maintenance, without hosting Airflow or Kubernetes. - [Data science](https://thunderduck.ai/data-science/): Joining new datasets with production data from Jupyter or Colab, with pandas or Polars, without waiting for a pipeline. - [Analytics and reporting](https://thunderduck.ai/analytics-reporting/): Answers from Claude shared as artifacts, dashboards in Superset, and reports from Python, .NET or JDBC, all on live sources. ## Deployment options - [Managed Cloud](https://thunderduck.ai/deploy/saas/): Fully managed Thunderduck on AWS (us-east-1): nothing to install, compute per query, upgrades handled. - [Bring Your Own Cloud (BYOC)](https://thunderduck.ai/deploy/byoc/): Thunderduck in your own AWS or Google Cloud account; data, credentials and compute stay behind your network and IAM while we run the platform. - [On-premise](https://thunderduck.ai/deploy/on-prem/): Thunderduck in your own Kubernetes with S3-compatible storage such as MinIO, including air-gapped environments. ## Comparisons - [Thunderduck vs DuckDB](https://thunderduck.ai/thunderduck-vs-duckdb/): Thunderduck runs on DuckDB; this covers what a team needs around DuckDB beyond one laptop. - [Thunderduck vs ClickHouse](https://thunderduck.ai/thunderduck-vs-clickhouse/): A database you load data into versus an engine that queries data in place. - [Thunderduck vs Trino](https://thunderduck.ai/thunderduck-vs-trino/): A cluster you run versus a fresh container per query. - [Thunderduck vs Dremio](https://thunderduck.ai/thunderduck-vs-dremio/): A lakehouse platform versus just the engine, priced before each query starts. ## Blog - [Blog index](https://thunderduck.ai/blog/): Every post, newest first. - [DuckDB vs Polars vs pandas: timings on 10 and 100 million rows](https://thunderduck.ai/blog/duckdb-vs-polars-vs-pandas/): We ran the same five queries in DuckDB, Polars and pandas over 10 and 100 million rows of Parquet. DuckDB and Polars stayed within a factor of 1.5 of each other on four of the five; pandas took up to 23 times longer and up to 71 times the memory. The numbers, the code, and how the three work together. - [DuckDB for BI: Superset and Metabase on a DuckDB file](https://thunderduck.ai/blog/duckdb-bi-superset-metabase/): We put Apache Superset and Metabase on the same DuckDB file and wrote down what it took: the driver each one needs, the version trap, the lock that makes dashboards fail during a load, and what changes when the engine is Thunderduck instead of a file on the BI server. - [Stop paying for BI seats: build a self-updating dashboard in Google Sheets](https://thunderduck.ai/blog/google-sheets-mini-bi/): Most BI tools charge per seat, so the bill grows with every person who looks. We built our website dashboard in Google Sheets instead: Thunderduck writes one small tab per report with a COPY statement, Sheets draws seven charts from those tabs, and a Monday schedule keeps it current for under ten cents a month. - [Finding 886 rows in a billion-row join: making DuckDB 4× faster without touching the query](https://thunderduck.ai/blog/billion-row-join-duckdb-iceberg/): An eight-table audience query over Iceberg in S3 had to search nearly a billion rows to return 886 of them. It took 438 seconds with the CPU 10% busy. Without rewriting the query or adding hardware, we got it to 101 seconds: more DuckDB threads than cores, memory headroom so those threads don't get the container killed, join-key pushdown that actually fires, and tables sorted on the join keys. Here is what each step bought, with the numbers. - [Cloudflare R2 and Basin, joined with everything else you already have](https://thunderduck.ai/blog/cloudflare-r2-basin/): Most data platforms start by copying everything into one warehouse, even data that never needed to move. Thunderduck sits in the middle instead: it queries data where it lives, and moves only what has to move, to the place it will be used. Today that includes Cloudflare: R2 for files and Basin for Iceberg tables, each connected with one form and joinable with S3, GCS, Azure, Glue, Postgres, MySQL, ClickHouse and BigQuery. - [DuckDB and Apache Iceberg on AWS Glue: the SQL that works and the limits](https://thunderduck.ai/blog/duckdb-iceberg-aws-glue/): Reading Iceberg tables in AWS Glue from DuckDB takes four statements. Writing them took us three layers of debugging: Glue requires a table location, DuckDB does not send one, and Glue ignores the database's. Here is the SQL that works, the IAM it needs, and the limits we still live with. - [DuckDB with SQLAlchemy: duckdb-engine or duckdb-sqlalchemy?](https://thunderduck.ai/blog/thunderduck-sqlalchemy-for-data-scientists/): Three drivers put DuckDB behind SQLAlchemy, and they are not interchangeable. Which local driver still works on SQLAlchemy 2.1 and DuckDB 2.0, how to read and load data with pandas and Polars, and where thunderduck-sqlalchemy takes over when the data is not on your laptop. - [Zero ETL first — then ETL, when you actually need it](https://thunderduck.ai/blog/zero-etl-and-when-you-still-need-etl/): Federated queries delete most of the pipelines you were about to build: no copies, no sync lag, one SQL statement across your lake and your databases. But some workloads genuinely want a materialized table — so Thunderduck runs CREATE TABLE AS, incremental loads and full dbt Medallion modeling on the same engine, against the same catalogs. - [Hello world: the birth of Thunderduck](https://thunderduck.ai/blog/hello-world/): Why Thunderduck exists: making your data AI-ready should take an afternoon, not two quarters and a five-figure monthly bill. Our mission, our vision, and the two questions every company should be asking about its data platform. ## Glossary - [Glossary index](https://thunderduck.ai/glossary/): Definitions of SQL, database, lakehouse, pipeline and AI terms. - [Agentic analytics](https://thunderduck.ai/glossary/agentic-analytics/): Agentic analytics is data analysis carried out by an AI agent that plans its own steps: it looks up the schema, writes SQL, runs it, inspects the result and decides what to do next until it can answer the question. A person sets the question and the limits; the agent does the loop. - [Apache Iceberg](https://thunderduck.ai/glossary/apache-iceberg/): Apache Iceberg is an open table format that turns a set of data files, usually Parquet in object storage, into a table with atomic commits, snapshots, schema evolution and hidden partitioning. Any engine that implements the spec, such as Spark, Trino, Flink or DuckDB, can read the same table. - [Columnar database](https://thunderduck.ai/glossary/columnar-database/): A columnar database stores the values of each column together on disk, instead of storing each row together. Analytical queries then read only the columns they need and compress far better, at the cost of slower single-row inserts and updates. - [Data federation](https://thunderduck.ai/glossary/data-federation/): Data federation is a way to query data that lives in several systems, such as databases, warehouses and files, as if it were one database, without copying it into a central store first. A federation engine sends each source the part of the query it can run, then combines the results. - [Data freshness](https://thunderduck.ai/glossary/data-freshness/): Data freshness is how up to date a table is: the time since its last successful update, or since the newest row it contains. A table is stale when that age exceeds what its consumers expect, such as a daily report built on data that hasn't loaded in two days. - [Data lineage](https://thunderduck.ai/glossary/data-lineage/): Data lineage is the record of where a dataset comes from and what is built from it: which sources feed a table, which transformations run in between, and which reports depend on the result. It is usually drawn as a directed graph from sources to dashboards. - [Data virtualization](https://thunderduck.ai/glossary/data-virtualization/): Data virtualization is an approach that gives users and tools one place to query data from many systems, through virtual tables and views that are computed from the sources at query time. The data is not copied. The layer stores definitions, access rules and sometimes cached results. - [ELT vs ETL](https://thunderduck.ai/glossary/elt-vs-etl/): ETL (extract, transform, load) cleans and reshapes data in a separate tool before loading it into the warehouse. ELT (extract, load, transform) loads the raw data first and transforms it inside the warehouse or query engine, usually with SQL. - [Federated query](https://thunderduck.ai/glossary/federated-query/): A federated query is a single SQL statement that reads from two or more separate systems, such as a PostgreSQL database and Parquet files in object storage, and returns one result. The engine that runs it fetches data from each source at query time, and nothing is loaded in advance. - [Hive partitioning](https://thunderduck.ai/glossary/hive-partitioning/): Hive partitioning is a way of laying out data files in folders named key=value, such as event_date=2026-11-23/, so the partition value is part of the path. Query engines turn those folder names into columns and skip every folder that a filter rules out. - [Iceberg vs Delta Lake](https://thunderduck.ai/glossary/iceberg-vs-delta-lake/): Apache Iceberg and Delta Lake are both open table formats that add atomic commits, snapshots and schema tracking to Parquet files in object storage. Iceberg vs Delta Lake comes down to how metadata is stored, how partitioning works, and which engines and catalogs you already use. - [Medallion architecture](https://thunderduck.ai/glossary/medallion-architecture/): Medallion architecture is a way to organize a lakehouse into three layers of tables: bronze holds raw data as it arrived, silver holds cleaned and typed data, and gold holds business-level tables built for reports. Each layer is built from the one before it, so downstream data can always be rebuilt from the raw copy. - [OLAP vs OLTP](https://thunderduck.ai/glossary/olap-vs-oltp/): OLTP (online transaction processing) is the workload of an application: many small reads and writes, each touching a few rows by key. OLAP (online analytical processing) is the workload of analysis: fewer queries, each scanning and aggregating millions of rows across a few columns. - [Open table format](https://thunderduck.ai/glossary/open-table-format/): An open table format is a public specification for the metadata that turns a collection of data files in object storage into a database table, with atomic commits, snapshots and a tracked schema. Apache Iceberg, Delta Lake and Apache Hudi are the three in wide use. - [Parquet](https://thunderduck.ai/glossary/parquet/): Apache Parquet is an open-source columnar file format for analytics. A Parquet file stores each column separately, typed and compressed, with statistics that let a query engine read only the columns and row groups a query needs. - [PostgreSQL vs MySQL](https://thunderduck.ai/glossary/postgres-vs-mysql/): PostgreSQL and MySQL are the two most widely used open-source relational databases, both built for transactional (OLTP) workloads. Postgres has the broader SQL feature set and extension system; MySQL is simpler to run and has a long history behind high-traffic web applications. - [Predicate pushdown](https://thunderduck.ai/glossary/predicate-pushdown/): Predicate pushdown is a query optimization that moves a filter, the predicate in a WHERE clause, down to where the data is read. The file scan or the source database then discards data that cannot match before it reaches the query engine, so less is read from disk, sent over the network and processed. - [SQL PIVOT](https://thunderduck.ai/glossary/sql-pivot/): A SQL pivot turns the distinct values of one column into separate columns, with an aggregate filling each cell, such as one row per region and one column per quarter. Some engines have a PIVOT keyword; everywhere else the same result comes from conditional aggregation with CASE or FILTER. - [SQL QUALIFY](https://thunderduck.ai/glossary/sql-qualify/): QUALIFY is a SQL clause that filters rows on the result of a window function, the way HAVING filters on the result of an aggregate. It turns the common latest-row-per-key query into one SELECT instead of a subquery. - [SQL Server vs PostgreSQL](https://thunderduck.ai/glossary/sql-server-vs-postgres/): SQL Server is Microsoft's commercial relational database, with its own T-SQL dialect; PostgreSQL is an open-source relational database run by a community project. Both handle transactional workloads at scale; they differ most in licensing, default concurrency behavior and SQL dialect. - [Text-to-SQL](https://thunderduck.ai/glossary/text-to-sql/): Text-to-SQL is the task of turning a question in plain language, such as "what was revenue last month?", into a SQL query that answers it. Today it is usually done by a large language model given the question and a description of the database schema. - [Upsert](https://thunderduck.ai/glossary/upsert/): An upsert writes a row by key: if no row with that key exists it inserts one, and if one exists it updates it instead. Databases spell it differently: INSERT ... ON CONFLICT, ON DUPLICATE KEY UPDATE, MERGE or INSERT OR REPLACE. - [Zero-ETL](https://thunderduck.ai/glossary/zero-etl/): Zero-ETL is an approach where data can be analyzed without a pipeline you build and run to extract, transform and load it. It covers two different things: querying data in place where it already lives, and managed replication where a vendor copies the data for you. ## Optional - [About us](https://thunderduck.ai/about/): Why Thunderduck exists, its mission and vision, and the company behind it. - [Contact](https://thunderduck.ai/contact-us/): Talk to the team or book a demo. - [Privacy policy](https://thunderduck.ai/privacy/): What personal data thunderduck.ai collects and how to opt out. - [Trust center](https://trust.thunderduck.ai/): Security and compliance status (SOC 2 and ISO 27001 in progress). - [Console](https://console.thunderduck.ai): Sign in to run queries.