Re: reducing postgresql disk space - Mailing list pgsql-general

From Vick Khera
Subject Re: reducing postgresql disk space
Date
Msg-id AANLkTim00k7_HALPsFkW-StHZDqp5H91zdLUsmtuTil8@mail.gmail.com
Whole thread Raw
In response to reducing postgresql disk space  (paladine <yasinmalli@gmail.com>)
Responses Re: reducing postgresql disk space
List pgsql-general
On Wed, May 26, 2010 at 10:16 AM, paladine <yasinmalli@gmail.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)

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: reducing postgresql disk space
Next
From: paladine
Date:
Subject: Re: reducing postgresql disk space