Re: How do I know my table is bloated?

From: Rodrigo Barboza <rodrigombufrj(at)gmail(dot)com>
To: Igor Neyman <ineyman(at)perceptron(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 18:23:51
Message-ID: CANs8QJZ9Ekd06zwwk7n=Lu0=eWxC2dinxa+RHxvkFoVPuYaXNw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, May 30, 2013 at 1:35 PM, Igor Neyman <ineyman(at)perceptron(dot)com> wrote:

>
>
> From: Rodrigo Barboza [mailto:rodrigombufrj(at)gmail(dot)com]
> Sent: Thursday, May 30, 2013 12:04 PM
> To: Igor Neyman
> Cc: pgsql-admin(at)postgresql(dot)org
> Subject: Re: [ADMIN] How do I know my table is bloated?
>
> I have some tables that I do a lot of updates, deletes and inserts.
> So I am worried that my cluster can grow up to a huge size...
> The best option would be to create a scheduled process to check if it is
> bloated and if so, reindex?
>
> --------------------------
>
> Depends on whether it's table bloat or index bloat.
> But first, you try to minimize bloat by tuning autovacuum.
>
> Igor Neyman
>
>
I am using the defualt values for autovaccum.
How do you suggest to tune the autovacuum?
If the problem is index bloat, autovaccum won't be a solution, am I right?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Igor Neyman 2013-05-30 18:36:32 Re: How do I know my table is bloated?
Previous Message Michał Rus 2013-05-30 18:13:31 Re: Change built-in default privileges for CREATE DATABASE?