When it comes to optimization of a query not only indexes come into play. Of course modifications to data access methods are very important and often offer huge performance gain but it’s definitely not a “silver bullet”.
This talk focuses on some of the most important concepts of query processing including layers above data access methods, i.e. the flow and dependencies between subqueries, the methods of writing queries and its consequences and also some “hacks” for the optimizer will be shown.
Presented in Prague on Prague PostgreSQL Meetup
https://www.meetup.com/pl-PL/Prague-PostgreSQL-Meetup/events/254172810/