pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Reid Thompson <Reid.Thompson@ateb.com>
To: AI Rumman <rummandba@gmail.com>
Cc: reid.thompson@ateb.com
Cc: pgsql-performance@postgresql.org
Subject: Re: REINDEX not working for wastedspace
Date: Wed, 21 Sep 2011 08:21:20 -0400
Message-ID: <1316607691.17526.60.camel@raker.ateb.com> (raw)
In-Reply-To: <CAGoODpcBxGLyF=bY3_5opO4YckgJqFGwBxveU_cYsrXBbN4NgQ@mail.gmail.com>
References: <CAGoODpcBxGLyF=bY3_5opO4YckgJqFGwBxveU_cYsrXBbN4NgQ@mail.gmail.com>

On Wed, 2011-09-21 at 13:01 +0600, AI Rumman wrote:
> I am using Postgresql 9.0.1.
> 

> I REINDEXED  both the indexes and table, but I did not find any change
> in wastedspace or wastedispace.
> Could you please tell me why?

you need to 

1) either vacuum full or cluster the table
2) analyze the table
3) check bloat again




view thread (11+ messages)  latest in thread

Message-ID: <1316607691.17526.60.camel@raker.ateb.com>
Permalink:  ../1316607691.17526.60.camel@raker.ateb.com/
Also on:    postgresql.org/message-id/1316607691.17526.60.camel@raker.ateb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Reid.Thompson@ateb.com, rummandba@gmail.com
  Subject: Re: REINDEX not working for wastedspace
  In-Reply-To: <1316607691.17526.60.camel@raker.ateb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox