Re: vacuum vs vacuum full

Поиск
Список
Период
Сортировка
От Ravi Krishna
Тема Re: vacuum vs vacuum full
Дата
Msg-id 3C986184-C865-4069-B9D7-CA0580222080@yahoo.com
обсуждение исходный текст
Ответ на Re: vacuum vs vacuum full  (Paul Förster <paul.foerster@gmail.com>)
Ответы Re: vacuum vs vacuum full  (Paul Förster <paul.foerster@gmail.com>)
Список pgsql-general

Experience shows that global index in Oracle lead to problems when dropping a partition. rebuilding an index, or other such nice administrative stuff, often leading to unnecessarily long downtimes.



I think Oracle fixed it later by allowing asynchronous update of global index after the detachment of partition.

ALTER TABLE TABLE_NAME DROP PARTITION PARTITION_NAME UPDATE INDEXES;

will immediately start maintenance of global index by cleaning it up asynchronously, while the index is marked valid and can be used by the applications.

DB2 also has the same feature for a long time and it works fine.

I am sure there are genuine use cases of global indexes.

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

Предыдущее
От: Paul Förster
Дата:
Сообщение: Re: vacuum vs vacuum full
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: How to select values in a JSON type of column?