Re: Advice on selecting good values for work_mem?

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: Advice on selecting good values for work_mem?
Дата
Msg-id 20061218161805.04699b10.wmoran@collaborativefusion.com
обсуждение исходный текст
Ответ на Re: Advice on selecting good values for work_mem?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Advice on selecting good values for work_mem?  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-performance
In response to Tom Lane <tgl@sss.pgh.pa.us>:

> Bill Moran <wmoran@collaborativefusion.com> writes:
> > Does the creation of a temp file trigger any logging?
>
> No; but it wouldn't be hard to add some if you wanted.  I'd do it at
> deletion, not creation, so you could log the size the file reached.
> See FileClose() in src/backend/storage/file/fd.c.

Is this along the lines of what you were thinking?  Is this acceptable
to get pulled into the tree (maintaining local patches sucks ;)  I've
only been using this patch a day and I'm already giddy about how much
it helps tuning work memory sizes ...

--
Bill Moran
Collaborative Fusion Inc.

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Insertion to temp table deteriorating over time
Следующее
От: Bill Moran
Дата:
Сообщение: Re: Advice on selecting good values for work_mem?