Re: How do I know my table is bloated?

From: Igor Neyman <ineyman(at)perceptron(dot)com>
To: Rodrigo Barboza <rodrigombufrj(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How do I know my table is bloated?
Date: 2013-05-30 15:17:33
Message-ID: A76B25F2823E954C9E45E32FA49D70EC1B7E4F54@mail.corp.perceptron.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

From: Rodrigo Barboza [mailto:rodrigombufrj(at)gmail(dot)com]
Sent: Thursday, May 30, 2013 11:10 AM
To: Igor Neyman
Cc: pgsql-admin(at)postgresql(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rodrigo Barboza 2013-05-30 16:03:47 Re: How do I know my table is bloated?
Previous Message Rodrigo Barboza 2013-05-30 15:10:28 Re: How do I know my table is bloated?