From: Erik Jones <erik@myemma.com>
To: henk de wit <henk53602@hotmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Huge amount of memory consumed during transaction
Date: Fri, 12 Oct 2007 17:13:14 -0500
Message-ID: <C604C8A9-C05F-41CE-AD21-F612809EF7AB@myemma.com> (raw)
In-Reply-To: <BAY124-W42AEFF8386BF570F561B8DF5A00@phx.gbl>
References: <BAY124-W276814F77A7A7ABE7596B1F5A70@phx.gbl>
<13678.1192114295@sss.pgh.pa.us>
<BAY124-W19797F87C0FFF00AECDBA8F5A70@phx.gbl>
<15391.1192152419@sss.pgh.pa.us>
<BAY124-W43C954E257CFF824F682CCF5A00@phx.gbl>
<4144.1192219156@sss.pgh.pa.us>
<BAY124-W27B12597CAD62CB7C05790F5A00@phx.gbl>
<EAC95D94-3479-494E-B107-F8E366E8517C@myemma.com>
<BAY124-W42AEFF8386BF570F561B8DF5A00@phx.gbl>
On Oct 12, 2007, at 4:48 PM, henk de wit wrote:
> > > I have work_mem set to 256MB.
> > Wow. That's inordinately high. I'd recommend dropping that to
> 32-43MB.
>
> Ok, it seems I was totally wrong with the work_mem setting. I'll
> adjust it to a more saner level. Thanks a lot for the advice everyone!
>
> > Explain is your friend in that respect.
>
> It shows all the operators, but it doesn't really say that these
> all will actually run in parallel right? Of course I guess it would
> give a good idea about what the upper bound is.
You can determine what runs in parellel based on the indentation of
the output. Items at the same indentation level under the same
"parent" line will run in parallel
Erik Jones
Software Developer | Emma®
erik@myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)
Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: erik@myemma.com, henk53602@hotmail.com
Subject: Re: Huge amount of memory consumed during transaction
In-Reply-To: <C604C8A9-C05F-41CE-AD21-F612809EF7AB@myemma.com>
References: <BAY124-W276814F77A7A7ABE7596B1F5A70@phx.gbl> <13678.1192114295@sss.pgh.pa.us> <BAY124-W19797F87C0FFF00AECDBA8F5A70@phx.gbl> <15391.1192152419@sss.pgh.pa.us> <BAY124-W43C954E257CFF824F682CCF5A00@phx.gbl> <4144.1192219156@sss.pgh.pa.us> <BAY124-W27B12597CAD62CB7C05790F5A00@phx.gbl> <EAC95D94-3479-494E-B107-F8E366E8517C@myemma.com> <BAY124-W42AEFF8386BF570F561B8DF5A00@phx.gbl> <C604C8A9-C05F-41CE-AD21-F612809EF7AB@myemma.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox