My current side project is the Query Plan Explorer, a tool that helps users understand when the PostgreSQL optimizer switches from one plan to another and how accurate the tuple estimations are. The software iterates over a one- or two-dimensional search space and plans the given query for each parameter combination. The output is a “drawing” that visualizes results such as the chosen plan, estimated and actual returned tuples, and the mismatch between these values. This project explores the intersection of art and query optimizer insights.

See also the blog post about this project.

expected_tuples.svg
actual_tuples.svg