Re: How do I know my table is bloated? - Mailing list pgsql-admin

From Igor Neyman
Subject Re: How do I know my table is bloated?
Date
Msg-id A76B25F2823E954C9E45E32FA49D70EC1B7E4F54@mail.corp.perceptron.com
Whole thread Raw
In response to Re: How do I know my table is bloated?  (Rodrigo Barboza <rodrigombufrj@gmail.com>)
Responses Re: How do I know my table is bloated?  (Rodrigo Barboza <rodrigombufrj@gmail.com>)
List pgsql-admin

From: Rodrigo Barboza [mailto:rodrigombufrj@gmail.com]
Sent: Thursday, May 30, 2013 11:10 AM
To: Igor Neyman
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] How do I know my table is bloated?

Well, so I need to do reindex frequentely in database? Is that right?
Or should I use cluster, as David said?
How frequently should I do this operation?

---------------------

Not necessarily.
If there is no table or index bloat, which you should be able to check first, - why bother?

Normally autovacuum does pretty good job even with default configuration parameters.
If not, you could start with adjusting autovacuum parameters.
And reindex only as a last resort, when your index size grows "uncontrollably".

Igor Neyman


pgsql-admin by date:

Previous
From: Rodrigo Barboza
Date:
Subject: Re: How do I know my table is bloated?
Next
From: Rodrigo Barboza
Date:
Subject: Re: How do I know my table is bloated?