filmov
tv
pg_hint_plan - get the right plan without surprises
Показать описание
I use pg_hint_plan to learn about the optimizer, to understand the query planner choices, and sometimes work around a problem in production. But hinting is not easy. Fixing the exact plan needs more than one hint. In this live demo session, we will go through understanding and examples of how to use pg_hint_plan in a predictable way. It is also a good occasion to understand the access paths, join order and methods, and how to read an execution plan