Presented by:

Dsc00097

Rebecca Taft

Cockroach Labs
No video of the event yet, sorry!

Using a declarative language like SQL with a relational database provides many benefits since it creates separation between the logical representation of the database and the physical representation. It gives us the ability to change the physical layout of the data without changing the queries or applications that use the database.

But it also means we need to bridge that gap somehow, and that’s where something like a query optimizer comes in. Query optimizers use statistics to find the lowest cost alternative among several possible execution plans. In this talk, CockroachDB Engineer Rebecca Taft will walk through the limitations of a heuristics-based planner and the development of CockroachDB’s cost-based query optimizer. She will conclude the talk by giving a preview of what the query optimizer team at Cockroach Labs plans to tackle next: making the optimizer choose the best execution plan even when the data in the database is distributed across the globe.

Date:
Duration:
50 min
Room:
Conference:
Postgres Conference 2020
Language:
Track:
Distributed SQL
Difficulty:
Medium