Re: Droping indexes

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Droping indexes
Дата
Msg-id 20070116150855.GB24671@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Droping indexes  (Mario Behring <mariobehring@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: Mario Behring
Дата:
Сообщение: Re: Droping indexes
Следующее
От: Mario Behring
Дата:
Сообщение: Re: Droping indexes