Percona has released an experimental MySQL 9.7 build that allows tables to use DuckDB as a storage engine via ENGINE=DuckDB. This setup enables analytical queries to run directly on the source data within the same server process, eliminating the need for a separate copy. Benchmarks on TPC-H at scale factor 10 showed that while InnoDB timed out on six queries and consumed significant CPU, the DuckDB engine handled the workload differently.
- Experimental MySQL 9.7 build supports ENGINE=DuckDB for analytical workloads.
- Queries run in-process on the same server, avoiding data duplication.
- TPC-H SF10 tests show InnoDB struggling with timeouts and CPU usage.
- Designed for OLAP tasks within a standard MySQL connection context.