vacuum full alternative

Поиск
Список
Период
Сортировка
От Martin von Oertzen
Тема vacuum full alternative
Дата
Msg-id AANLkTi=nFbK8u0cORZqo6M_8ZxXSUNwLOi=NB6L8W5he@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin
hi,

i'm very thankful for a new solution to the Vacuum-Full-Problem, as
it was reported in the wiki:
http://wiki.postgresql.org/wiki/VACUUM_FULL#ALTER_TABLE_.._SET_DATA_TYPE

but I have the feeling, that this command is not faster, than a cluster.

prior to 9.0 the syntax does not contain "SET DATA", so i would modify
the example:
ALTER TABLE your_table ALTER an_integer_column TYPE integer;

at the next solution i would modify the text
"The main reason you may want to use SELECT ... INTO instead of CLUSTER
 is if you don't want to sort the table."
to
"The main reason you may want to use SELECT ... INTO instead of CLUSTER
 is, if you want to avoid an exclusive lock."

regards, maletin.

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

Предыдущее
От: Selva manickaraja
Дата:
Сообщение: Re: Trigger File Behaviour
Следующее
От: amjad usman
Дата:
Сообщение: replication of whole database from one machine to another