Re: Hybrid Hash/Nested Loop joins and caching results from subplans
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2020-09-02T13:49:54Z
Lists: pgsql-hackers
On 2020-Sep-02, David Rowley wrote: > v7 (Separate Result Cache node) > Query 1: > Execution Time: 894.003 ms > > Query 2: > Execution Time: 854.950 ms > v7 + hacks_V3 (caching done in Nested Loop) > Query 1: > Execution Time: 770.470 ms > > Query 2 > Execution Time: 779.181 ms Wow, this is a *significant* change. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Add Result Cache executor node (take 2)
- 9eacee2e62d8 14.0 landed
-
Add Result Cache executor node
- b6002a796dc0 14.0 landed
-
Allow estimate_num_groups() to pass back further details about the estimation
- ed934d4fa30f 14.0 landed
-
Allow users of simplehash.h to perform direct deletions
- ff53d7b159b9 14.0 landed
-
Cache if PathTarget and RestrictInfos contain volatile functions
- f58b230ed0db 14.0 landed
-
Fix pull_varnos' miscomputation of relids set for a PlaceHolderVar.
- 55dc86eca70b 14.0 cited