From: Gael Le Mignot <gael@pilotsystems.net>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: Memory usage of auto-vacuum
Date: Sat, 09 Jul 2011 10:39:30 +0200
Message-ID: <plop87pqljn8zh.fsf@aoskar.kilobug.org> (raw)
In-Reply-To: <4E1811F3.80705@postnewspapers.com.au>
References: <plop87tyavncer.fsf@aoskar.kilobug.org>
<4E1811F3.80705@postnewspapers.com.au>
Hello Craig!
Sat, 09 Jul 2011 16:31:47 +0800, you wrote:
> On 9/07/2011 3:25 PM, Gael Le Mignot wrote:
>>
>> 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.
> What is maintenance_work_mem set to in postgresql.conf?
It's the debian default, which is 16Mb. Do you think we should reduce it ?
I also forgot to add something which may be important : there are a lot
of INSERT (and SELECT) in those tables, but very few UPDATE/DELETE.
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
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, craig@postnewspapers.com.au
Subject: Re: Memory usage of auto-vacuum
In-Reply-To: <plop87pqljn8zh.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