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

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

Joe Conway <mail(at)joeconway(dot)com> writes:
> 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.

I'm not arguing that we don't need to work on the memory usage ... just
that I'm not very happy with that particular approach.

I wonder whether there is any reasonable way to determine which data
structures are responsible for how much space ... in my test I'm seeing

MessageContext: 822075440 total in 104 blocks; 4510280 free (1 chunks); 817565160 used
ExecutorState: 8024624 total in 3 blocks; 20592 free (12 chunks); 8004032 used

so it seems mostly not the executor's fault, but that's not much to go
on.

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Joe Conway 2006-08-02 14:42:09 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Tom Lane 2006-08-02 14:07:51 Re: Values list-of-targetlists patch for comments (was Re:

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2006-08-02 14:25:33 Re: ecpg test suite
Previous Message Zdenek Kotala 2006-08-02 14:20:53 Re: Allow commenting of variables in postgresql.conf to -

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2006-08-02 14:42:09 Re: Values list-of-targetlists patch for comments (was Re:
Previous Message Zdenek Kotala 2006-08-02 14:20:53 Re: Allow commenting of variables in postgresql.conf to -