Focusing on the big ticket items that bring your big-O complexity down. This section is all about the shapes of query plans and the power of the query optimiser.
Component — Planner
Query Planner — Leaderboard
The Query plan quality is measured by the amount of operations that the database must perform while executing the plan.
Database Engines are ranked by running individual queries from various datasets. The best scorer for each query and operation gets 5 points, second best: 4, etc... If you are not in the top 5, you get zero points. All scores per query are then added up to form the final score below.
| Rank | Scan Scan | Join Probe Join | Sort Sort | Hash Build Hash | Aggregate Agg | Distribute Dist |
|---|---|---|---|---|---|---|
| 1 | PostgreSQL | SQL Server | DuckDB | SQL Server | PostgreSQL | Soon |
| 2 | SQL Server | DuckDB | SQL Server | DuckDB | SQL Server | Soon |
| 3 | DuckDB | PostgreSQL | PostgreSQL | PostgreSQL | DuckDB | Soon |