pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: henk de wit <henk53602@hotmail.com>
To: Erik Jones <erik@myemma.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Huge amount of memory consumed during transaction
Date: Fri, 12 Oct 2007 23:48:59 +0200
Message-ID: <BAY124-W42AEFF8386BF570F561B8DF5A00@phx.gbl> (raw)
In-Reply-To: <EAC95D94-3479-494E-B107-F8E366E8517C@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>

> > 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.

regards

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/=

view thread (16+ messages)  latest in thread

Message-ID: <BAY124-W42AEFF8386BF570F561B8DF5A00@phx.gbl>
Permalink:  ../BAY124-W42AEFF8386BF570F561B8DF5A00@phx.gbl/
Also on:    postgresql.org/message-id/BAY124-W42AEFF8386BF570F561B8DF5A00@phx.gbl

 · 

reply

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: henk53602@hotmail.com, erik@myemma.com
  Subject: Re: Huge amount of memory consumed during transaction
  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>

* 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