Re: Does VACUUM reorder tables on clustered indices

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Does VACUUM reorder tables on clustered indices
Дата
Msg-id 20051220214124.GR28771@pervasive.com
обсуждение исходный текст
Ответ на Re: Does VACUUM reorder tables on clustered indices  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-sql
On Sun, Dec 18, 2005 at 07:01:39PM -0300, Alvaro Herrera wrote:
> Martin Marques escribi?:
> > On Sun, 18 Dec 2005, frank church wrote:
> > 
> > >
> > >Does VACUUMing reorder tables on clustered indices or is it only the 
> > >CLUSTER
> > >command that can do that?
> > 
> > Cluster does that. Vacuum only cleans dead tuples from the tables.
> 
> Note that while reordering, CLUSTER also gets rid of dead tuples, so if
> you cluster you don't need to vacuum.

It also does a REINDEX...
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Sub-query as function argument
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Performance of a view