Re: Have vacuum emit a warning when it runs out of maintenance_work_mem

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: Have vacuum emit a warning when it runs out of maintenance_work_mem
Дата
Msg-id 200705112218.31033.xzilla@users.sourceforge.net
обсуждение исходный текст
Ответ на Re: Have vacuum emit a warning when it runs out of maintenance_work_mem  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Ответы Re: Have vacuum emit a warning when it runs out of maintenance_work_mem  ("Jim C. Nasby" <jim@nasby.net>)
Список pgsql-patches
On Wednesday 09 May 2007 19:41, Guillaume Smet wrote:
> On 5/9/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > Jim Nasby <decibel@decibel.org> writes:
> > > Any time this happens it's generally a nasty surprise for users.
> >
> > Really?  Running out of work memory is expected on large tables.
>
> Sure. Perhaps we should find a better error message but it's an
> interesting information. Personnaly, I try to choose a sane value
> depending on my database but I'm never sure it's really sufficient or
> if I added 100MB it would have made a real difference.
>

If we were going to implement this (and I'm a tad skeptical as well), wouldn't
it be better if the warning occured at the end of vacuum, and told you how
much memory was actually needed, so you'd know what maintainence_work_mem
should be.

--
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tomas Doran
Дата:
Сообщение: Re: Implemented current_query
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Have vacuum emit a warning when it runs out of maintenance_work_mem