Re: Table maintenance: order of operations important?

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: Table maintenance: order of operations important?
Дата
Msg-id 40ACFEBF.7000406@bigfoot.com
обсуждение исходный текст
Ответ на Re: Table maintenance: order of operations important?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Tom Lane wrote:

> Jeff Boes <mur@qtm.net> writes:
>
>>   DELETE FROM foo WHERE date_expires < now();
>>   VACUUM ANALYZE foo;
>>   CLUSTER foo;
>>   REINDEX TABLE foo;
>
>
>>How would you choose to order these (under 7.4.x) for fastest
>>turn-around? Does it matter?
>
>
> If you are going to CLUSTER then the VACUUM and the REINDEX are both
> utterly redundant.

Without cluster with 7.4.2 a REINDEX is redundant after a VACUUM FULL ?



Regards
Gaetano Mendola



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

Предыдущее
От: Kris Kiger
Дата:
Сообщение: Clustering Postgres
Следующее
От: "David F. Skoll"
Дата:
Сообщение: Exponential behaviour with UPDATE collisions?