Re: reducing postgresql disk space

From: Vick Khera <vivek(at)khera(dot)org>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: reducing postgresql disk space
Date: 2010-05-26 14:48:05
Message-ID: AANLkTim00k7_HALPsFkW-StHZDqp5H91zdLUsmtuTil8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, May 26, 2010 at 10:16 AM, paladine <yasinmalli(at)gmail(dot)com> wrote:
> Anyone know another method ?
>

options to reclaim disk space:

vacuum full
dump/restore (sometimes faster than vacuum full)
cluster (not mvcc safe as far as i know)
alter a table column to its own type, like this:
alter table foo alter column my_counter type integer; -- my_counter
is already an integer

sometimes all you need to do is reindex the table (or just the larger
indexes on the table selectively)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message paladine 2010-05-26 14:50:43 Re: reducing postgresql disk space
Previous Message Thom Brown 2010-05-26 14:37:36 Re: reducing postgresql disk space