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

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


On Thu, May 30, 2013 at 11:49 AM, Igor Neyman <ineyman@perceptron.com> wrote:


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




On Thu, May 30, 2013 at 11:16 AM, Igor Neyman <ineyman@perceptron.com> wrote:


From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Rodrigo Barboza
Sent: Thursday, May 30, 2013 9:06 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] How do I know my table is bloated?

Hi, everyone.
I saw some people talking about the reindex command and I read in the docs the one reason to use reindex is when a table is bloated.
But how do I know when a table is bloated?

You could use PGSTATTUPLE extension, which you could read about here:

http://www.postgresql.org/docs/9.2/static/pgstattuple.html

Regards,
Igor Neyman


--Does auto-vaccum do the reindex process for us?

No, autovacuum and reindexing are 2 completely different processes.

Igor Neyman

pgsql-admin by date:

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