Re: DELETE TABLE xx do not erase index file after a vacuum full ?

Поиск
Список
Период
Сортировка
От Hervé Piedvache
Тема Re: DELETE TABLE xx do not erase index file after a vacuum full ?
Дата
Msg-id 200407020950.56490.herve@elma.fr
обсуждение исходный текст
Ответ на Re: DELETE TABLE xx do not erase index file after a vacuum full ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom,

Le jeudi 1 Juillet 2004 19:22, Tom Lane a écrit :
> =?iso-8859-15?q?Herv=E9_Piedvache?= <herve@elma.fr> writes:
> > I have done a :
> > DELETE from my_table;
>
> TRUNCATE would serve you a lot better.

Impossible for this table because it's used by another table with a
referential integrity ... so truncate is refused ...

> For major reductions in table size VACUUM FULL is not the best tool;
> you really want to reconstruct the indexes from scratch.  Consider
> REINDEX, CLUSTER, or (in this case) TRUNCATE.
>

OK Thanks REINDEX is perfect ! ;o)

regards,
--
Hervé Piedvache

Elma Ingénierie Informatique
6 rue du Faubourg Saint-Honoré
F-75008 - Paris - France
Pho. 33-144949901
Fax. 33-144949902

В списке pgsql-general по дате отправления:

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: administrating permisions, groups, owners
Следующее
От: Shridhar Daithankar
Дата:
Сообщение: Re: Enough RAM for entire Database.. cost aside, is this