pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gael Le Mignot <gael@pilotsystems.net>
To: pgsql-performance@postgresql.org
Subject: Memory usage of auto-vacuum
Date: Sat, 09 Jul 2011 09:25:32 +0200
Message-ID: <plop87tyavncer.fsf@aoskar.kilobug.org> (raw)


Hello,

We are running  a PostgreSQL 8.4 database, with  two tables containing a
lot (> 1 million) moderatly  small rows. It contains some btree indexes,
and one of the two tables contains a gin full-text index.

We noticed  that the  autovacuum process  tend to use  a lot  of memory,
bumping the postgres process near 1Gb while it's running.

I looked in  the documentations, but I didn't find  the information : do
you know  how to estimate the  memory required for the  autovacuum if we
increase the number of rows ? Is it linear ? Logarithmic ? 

Also, is  there a way  to reduce that  memory usage ? Would  running the
autovacuum more frequently lower its memory usage ?

Regards,

-- 
Gaël Le Mignot - gael@pilotsystems.net
Pilot Systems - 9, rue Desargues - 75011 Paris
Tel : +33 1 44 53 05 55 - www.pilotsystems.net
Gérez vos contacts et vos newsletters : www.cockpit-mailing.com



view thread (13+ messages)  latest in thread

Message-ID: <plop87tyavncer.fsf@aoskar.kilobug.org>
Permalink:  ../plop87tyavncer.fsf@aoskar.kilobug.org/
Also on:    postgresql.org/message-id/plop87tyavncer.fsf@aoskar.kilobug.org

 · 

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: gael@pilotsystems.net
  Subject: Re: Memory usage of auto-vacuum
  In-Reply-To: <plop87tyavncer.fsf@aoskar.kilobug.org>

* 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