Re: Values list-of-targetlists patch for comments (was Re:

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Values list-of-targetlists patch for comments (was Re:
Дата
Msg-id 44D0AF87.2030304@joeconway.com
обсуждение исходный текст
Ответ на Re: Values list-of-targetlists patch for comments (was Re:  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Values list-of-targetlists patch for comments (was Re:  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Joe Conway <mail@joeconway.com> writes:
>
>>This patch retains the memory consumption savings but doesn't break any
>>regression tests...
>
>
> I'm unconvinced that retail pfree's are the way to go.  I just did some
> profiling of this test case:

<snip>

> It's slightly depressing that there's not more time being spent in
> places we can easily tweak, but anyway the salient point to me is
> that AllocSetFree is already chewing a nontrivial part of the runtime.

That's undoubtedly true, and important for the case that isn't memory
constrained (but where I'm already seeing us perform relatively well).
But once we start the machine swapping, runtime goes in the toilet. And
without addressing the memory leak somehow, we will start a machine
swapping significantly earlier than mysql.

Joe

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Values list-of-targetlists patch for comments (was Re:
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: Allow commenting of variables in postgresql.conf to -