Re: Hybrid Hash/Nested Loop joins and caching results from subplans

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: Hybrid Hash/Nested Loop joins and caching results from subplans
Дата
Msg-id
20200902134954.GA6711@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andres Freund <andres@anarazel.de>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andres Freund <andres@anarazel.de>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andres Freund <andres@anarazel.de>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Tom Lane <tgl@sss.pgh.pa.us>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andres Freund <andres@anarazel.de>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andres Freund <andres@anarazel.de>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Tom Lane <tgl@sss.pgh.pa.us>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Konstantin Knizhnik <k.knizhnik@postgrespro.ru>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Peter Geoghegan <pg@bowt.ie>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Robert Haas <robertmhaas@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Thomas Munro <thomas.munro@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Pavel Stehule <pavel.stehule@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Pavel Stehule <pavel.stehule@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Robert Haas <robertmhaas@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Peter Geoghegan <pg@bowt.ie>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Simon Riggs <simon@2ndquadrant.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andy Fan <zhihui.fan1213@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans Andres Freund <andres@anarazel.de>
Re: Hybrid Hash/Nested Loop joins and caching results from subplans David Rowley <dgrowleyml@gmail.com>
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


В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата:
От: Anastasia Lubennikova
Дата:
FAQ