Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET instead of batching
От
Peter Geoghegan
Тема
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching
Дата
Msg-id
CAM3SWZQOJsZ54CVYWHY90-GdrvYU2ChPHJK9Oz2Hv7tvdm4+vQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET instead of
batching Tomas Vondra <tv@fuzzy.cz>
Re: PATCH: hashjoin - gracefully increasing
NTUP_PER_BUCKET instead of batching Kevin Grittner <kgrittn@ymail.com>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Robert Haas <robertmhaas@gmail.com>
Re: PATCH: hashjoin - gracefully increasing
NTUP_PER_BUCKET instead of batching Kevin Grittner <kgrittn@ymail.com>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Robert Haas <robertmhaas@gmail.com>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Tomas Vondra <tv@fuzzy.cz>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Robert Haas <robertmhaas@gmail.com>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Tomas Vondra <tv@fuzzy.cz>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Michael Paquier <michael.paquier@gmail.com>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Robert Haas <robertmhaas@gmail.com>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Tomas Vondra <tv@fuzzy.cz>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Robert Haas <robertmhaas@gmail.com>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Tomas Vondra <tv@fuzzy.cz>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Robert Haas <robertmhaas@gmail.com>
Re: PATCH: hashjoin - gracefully increasing NTUP_PER_BUCKET
instead of batching Peter Geoghegan <pg@heroku.com>
On Fri, Dec 12, 2014 at 5:19 AM, Robert Haas wrote: > Well, this is sort of one of the problems with work_mem. When we > switch to a tape sort, or a tape-based materialize, we're probably far > from out of memory. But trying to set work_mem to the amount of > memory we have can easily result in a memory overrun if a load spike > causes lots of people to do it all at the same time. So we have to > set work_mem conservatively, but then the costing doesn't really come > out right. We could add some more costing parameters to try to model > this, but it's not obvious how to get it right. I've heard of using "set work_mem = *" with advisory locks plenty of times. There might be a better way to set it dynamically than a full admission control implementation. -- Peter Geoghegan
В списке pgsql-hackers по дате отправления