pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexy Khrabrov <deliverable@gmail.com>
To: pgsql-performance@postgresql.org
Subject: two memory-consuming postgres processes
Date: Fri, 2 May 2008 12:24:35 -0700
Message-ID: <A728C858-76CF-473F-917B-3C9EA4AA75CF@gmail.com> (raw)

Greetings -- I have an UPDATE query updating a 100 million row table,  
and allocate enough memory via shared_buffers=1500MB.  However, I see  
two processes in top, the UPDATE process eating about 850 MB and the  
writer process eating about 750 MB.  The box starts paging.   Why is  
there the writer taking almost as much space as the UPDATE, and how  
can I shrink it?

Cheers,
Alexy



view thread (21+ messages)  latest in thread

Message-ID: <A728C858-76CF-473F-917B-3C9EA4AA75CF@gmail.com>
Permalink:  ../A728C858-76CF-473F-917B-3C9EA4AA75CF@gmail.com/
Also on:    postgresql.org/message-id/A728C858-76CF-473F-917B-3C9EA4AA75CF@gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: deliverable@gmail.com
  Subject: Re: two memory-consuming postgres processes
  In-Reply-To: <A728C858-76CF-473F-917B-3C9EA4AA75CF@gmail.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