Re: Unexpected disk space growth controlling measures - Mailing list pgsql-admin

From Gnanakumar
Subject Re: Unexpected disk space growth controlling measures
Date
Msg-id 005101cb307e$1b12f1b0$5138d510$@com
Whole thread Raw
In response to Re: Unexpected disk space growth controlling measures  (Scott Marlowe <scott.marlowe@gmail.com>)
Responses Re: Unexpected disk space growth controlling measures  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-admin
Hi Scott,

Thanks for your valuable suggestion.  Our production server is running
PostgreSQL 8.2.3 on Red Hat 4.1.1-52.

>  Esp in 8.3 and before where blowing out the free space map is quite easy
to do and it can go unnoticed for some time.

As you pointed out rightly, recently in our Production server there is a
warning showing up in VACUUM ANALYZE VERBOSE.
WARNING:  relation "public.oneofmytable" contains more than "max_fsm_pages"
pages with useful free space
HINT:  Consider compacting this relation or increasing the configuration
parameter "max_fsm_pages".

Currently, there are 439 tables and 743 indexes, adding up 1182 relations.
What would you recommend me to set the value for "max_fsm_pages" and
"max_fsm_relations" parameters?

> Where I work we use about 2.5M entries but have our fsm set to 10M so we
don't have to worry about blowing it out overnight or anything.
If you don't mind, can you make me clear here.  Is 2.5M entries in a single
table or is it something else?

> Lastly, make sure your IO subsystem can keep up.  If you're on the hairy
edge, then vacuum may never be able to keep up.
How do I confirm/make sure that IO subsystem can keep up?



pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Unexpected disk space growth controlling measures
Next
From: Scott Marlowe
Date:
Subject: Re: Unexpected disk space growth controlling measures