Re: Space occupied by Postgres index. - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Space occupied by Postgres index.
Date
Msg-id 4CF4F3D80200002500037F9E@gw.wicourts.gov
Whole thread Raw
In response to Re: Space occupied by Postgres index.  ("Shridhar Polas" <shridharpolas@gmail.com>)
List pgsql-admin
"Shridhar Polas" <shridharpolas@gmail.com> wrote:

> In my test setup I found that the disk space consumed by Postgers
> is not getting declined even after deleting records from tables,
> if I do not perform VACUUM FULL and REINDEX.

True, but if you expect the tables to grow again it's generally
better to leave the space allocated to PostgreSQL than to make it
give it back up to the OS for the moment and have to go ask for it
again later.

If you don't expect PostgreSQL to need the space again and you want
to release it back to the OS, prior to release 9.0 it is usually
better to use CLUSTER than to use VACUUM FULL and REINDEX.

-Kevin

pgsql-admin by date:

Previous
From: Kenneth Marshall
Date:
Subject: Re: Space occupied by Postgres index.
Next
From: Samuel Stearns
Date:
Subject: Re: Setting Schema on Restore