Re: Droping indexes - Mailing list pgsql-sql

From Alvaro Herrera
Subject Re: Droping indexes
Date
Msg-id 20070116150855.GB24671@alvh.no-ip.org
Whole thread Raw
In response to Re: Droping indexes  (Mario Behring <mariobehring@yahoo.com>)
List pgsql-sql
Mario Behring wrote:
> Hi Tomas,
> 
> Thank you.
> 
> Please help me here.....I am not a database guy...........how do I use this CLUSTER command and what does it do?
Pleasekeep in mind that I do not have disk space left.........
 

If the disk is full you cannot use CLUSTER anyway.  Suggestion: make a
note of the indexes that exist.  Drop them.  Do a VACUUM FULL of the
table.  Create the indexes again.

After that's done:

1. read the CLUSTER documentation, as it may help you in the future

2. consider restructuring the table so that redundant information is
kept only on one place (for example, the eventackuser could probably be
put on a separate table and on this one store just an integer ID).  This
will make the table and the index on that column a lot smaller.

3. add more disks to your installation

4. research a more effective VACUUM policy

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-sql by date:

Previous
From: Mario Behring
Date:
Subject: Re: Droping indexes
Next
From: Mario Behring
Date:
Subject: Re: Droping indexes