Re: RES: How to improve postgres performace

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Rodrigo Moreno" <rodrigo(dot)miguel(at)terra(dot)com(dot)br>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: RES: How to improve postgres performace
Date: 2005-04-18 17:32:48
Message-ID: 23919.1113845568@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-performance

"Rodrigo Moreno" <rodrigo(dot)miguel(at)terra(dot)com(dot)br> writes:
> The current values for:
> max_fsm_pages = 1048576
> max_fsm_relations = 1000
> this is enough ?

That max_fsm_pages value is enough to cover 8Gb, so it should work OK
for a database disk footprint up to 10 or so Gb. I don't know how many
tables in your installation so I can't say if max_fsm_relations is high
enough, but you can check that by looking at the tail end of the output
of VACUUM VERBOSE. (Or just count 'em ;-))

Offhand these look reasonable, though, so if you are seeing database
bloat over time it probably means you need to tweak your autovacuum
settings. I'm not much of an autovacuum expert, but maybe someone
else can help you there.

You might want to keep track of physical file sizes over a period of
time and try to determine exactly where the bloat is happening.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Rodrigo Moreno 2005-04-18 17:46:56 RES: RES: How to improve postgres performace
Previous Message Rodrigo Moreno 2005-04-18 16:31:22 RES: How to improve postgres performace

Browse pgsql-performance by date

  From Date Subject
Next Message Alan Stange 2005-04-18 17:34:28 Re: How to improve db performance with $7K?
Previous Message Jacques Caron 2005-04-18 17:32:09 Re: How to improve db performance with $7K?