Re: CLUSTER, VACUUM, and TABLESPACEs (oh my)

Поиск
Список
Период
Сортировка
От Demitri Muna
Тема Re: CLUSTER, VACUUM, and TABLESPACEs (oh my)
Дата
Msg-id 7C25659B-FAD1-421E-8617-62793147FBE0@demitri.com
обсуждение исходный текст
Ответ на Re: CLUSTER, VACUUM, and TABLESPACEs (oh my)  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: CLUSTER, VACUUM, and TABLESPACEs (oh my)  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-general
> On Jan 24, 2021, at 9:03 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
>
>> VACUUM FULL unclusters the table??
>
> It will rebuild the table without sorting the data according to the index used with CLUSTER (without any sorting
actually).

Thank you for the clarification; that’s very helpful. For the case above. If I CLUSTER a table, add/delete no rows,
thenVACUUM, will the existing order remain or be changed? 

Demitri


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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: CLUSTER, VACUUM, and TABLESPACEs (oh my)
Следующее
От: Andrew Stuart
Дата:
Сообщение: Can I use Postgres rules to reset session variables before/after queries?