pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Szabolcs BALLA <szballa@confinsystems.com>
To: Robin Iddon <robin@edesix.com>
To: pgsql-admin@postgresql.org
Subject: Re: Autovacuum probably not working?
Date: Fri, 28 Apr 2006 14:03:17 +0200
Message-ID: <44520485.1050002@confinsystems.com> (raw)
In-Reply-To: <4451FEB3.7070801@edesix.com>
References: <4451DB51.9080403@confinsystems.com>
	<4451FEB3.7070801@edesix.com>

Robin Iddon írta:
> Szabolcs BALLA wrote:
>
>> Hi,
>>
>> I delete 30M record from the db (8.1.0). I made query about size of the
>> tables, but after 1 day the size of the tables not changed. (Autovacuum
>> settings was original)
>> So, I change the autovacuum setting but after another day the size not
>> changed.
>>
>> autovacuum_naptime = 10
>> autovacuum_vacuum_threshold = 1000
>> autovacuum_analyze_threshold = 500
>> autovacuum_vacuum_scale_factor = 0.1
>> autovacuum_analyze_scale_factor = 0.1
>> autovacuum_vacuum_cost_delay = -1
>> autovacuum_vacuum_cost_limit = -1
>>  
>>
>
> Check your FSM sizes in postgresql.conf ...
>
> Robin
>
>
shared_buffers = 153600
work_mem = 524288
maintenance_work_mem = 786432
max_fsm_pages = 510000
max_fsm_relations = 10000

Cost-Based Vacuum Delay is on default settings.
So, i thing my settings are ok. What do you think?


Thanks,
Szabek



view thread (3+ messages)  latest in thread

Message-ID: <44520485.1050002@confinsystems.com>
Permalink:  ../44520485.1050002@confinsystems.com/
Also on:    postgresql.org/message-id/44520485.1050002@confinsystems.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 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-admin@postgresql.org
  Cc: szballa@confinsystems.com, robin@edesix.com
  Subject: Re: Autovacuum probably not working?
  In-Reply-To: <44520485.1050002@confinsystems.com>
  References: <4451DB51.9080403@confinsystems.com> <4451FEB3.7070801@edesix.com> <44520485.1050002@confinsystems.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