Queries and EXPLAIN
EXPLAIN plans can be output in XML, JSON, or YAML formats, to make it easier to analyze them with external tools (or to write such tools yourself). EXPLAIN (BUFFERS) allows monitoring of the actual I/O done by a particular query, instead of just showing its costs. EXPLAIN output shows more information about how the increasingly useful hash nodes in query plans.
Window functions have some new options, such as PRECEDING, FOLLOWING, and starting with CURRENT ROWS, all of which allow writing some new types of windowed queries. Outer joins that reference tables not actually used to satisfy the query can now be removed from the query plan to improve their performance. Queries with that issue are commonly created by object-relational ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access