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

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgreSQL(dot)org
Subject: Re: Values list-of-targetlists patch for comments (was Re:
Date: 2006-08-02 13:58:31
Message-ID: 44D0AF87.2030304@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers pgsql-patches

Tom Lane wrote:
> Joe Conway <mail(at)joeconway(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2006-08-02 14:07:51 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Tom Lane 2006-08-02 13:43:01 Re: Values list-of-targetlists patch for comments (was Re:

Browse pgsql-hackers by date

  From Date Subject
Next Message Kenneth Marshall 2006-08-02 14:00:36 Re: Hash indexes (was: On-disk bitmap index patch)
Previous Message Bruce Momjian 2006-08-02 13:55:37 Re: pg_dump dumping entire system catalogs

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-08-02 14:07:51 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Tom Lane 2006-08-02 13:43:01 Re: Values list-of-targetlists patch for comments (was Re: