Re: Spilling hashed SetOps and aggregates to disk
От
Tomas Vondra
Тема
Re: Spilling hashed SetOps and aggregates to disk
Дата
Msg-id
614905b5-9fb9-7a9c-5cb6-02d6876e109b@2ndquadrant.com
Ответ на
RE: Re: Spilling hashed SetOps and aggregates to disk (serge@rielau.com)
Список
Дерево обсуждения
Spilling hashed SetOps and aggregates to disk Heikki Linnakangas <hlinnaka@iki.fi>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk David Rowley <david.rowley@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk David Fetter <david@fetter.org>
Re: Spilling hashed SetOps and aggregates to disk David Fetter <david@fetter.org>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk Tom Lane <tgl@sss.pgh.pa.us>
Re: Spilling hashed SetOps and aggregates to disk David Fetter <david@fetter.org>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk David Rowley <david.rowley@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk David Gershuni <dgershun@cs.cmu.edu>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Robert Haas <robertmhaas@gmail.com>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Robert Haas <robertmhaas@gmail.com>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk Tom Lane <tgl@sss.pgh.pa.us>
Re: Spilling hashed SetOps and aggregates to disk Robert Haas <robertmhaas@gmail.com>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Claudio Freire <klaussfreire@gmail.com>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk David Gershuni <dgershun@cs.cmu.edu>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk David Gershuni <dgershun@cs.cmu.edu>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk David Gershuni <dgershun@cs.cmu.edu>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk Robert Haas <robertmhaas@gmail.com>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk David Rowley <david.rowley@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk David Rowley <david.rowley@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk David Rowley <david.rowley@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Andres Freund <andres@anarazel.de>
Re: Spilling hashed SetOps and aggregates to disk David Rowley <david.rowley@2ndquadrant.com>
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
RE: Re: Spilling hashed SetOps and aggregates to disk serge@rielau.com
Re: Spilling hashed SetOps and aggregates to disk Tomas Vondra <tomas.vondra@2ndquadrant.com>
RE: Re: Spilling hashed SetOps and aggregates to disk serge@rielau.com
Re: Re: Spilling hashed SetOps and aggregates to disk Jeff Davis <pgsql@j-davis.com>
Re: Spilling hashed SetOps and aggregates to disk David Rowley <david.rowley@2ndquadrant.com>
On 06/05/2018 03:41 PM, serge@rielau.com wrote: > In our code base we have added a WithStats-Flavor for creating memory > contexts. > This api accepts a pointer to metric for accounting and it is inherited > by all subcontexts unless overridden. > So we only needed to change context creation API where we wanted (such > as TopTansactionContext, Message Context, ..) > That's quite trivial, actually. I think that's pretty much what we tried when this patch was first discussed in 2015, but it added measurable overhead (1-3%) even when the accounting was disabled. Which is not quite desirable, of course. > Also we have fixed all those missing hash spills - albeit based on the > 9.6 hash table design I think. I don't think this part of the code changed all that much. > If there is interest by the community we are very willing to share. Absolutely! I think it'd be great to share both the code and the reasoning behind the design. > Cheers > Serge > Salesforce cheers -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления
От: Alexander Korotkov
Дата: