Re: what happens to indexes when TRUNCATEing

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: what happens to indexes when TRUNCATEing
Дата
Msg-id
20081217113917.GA4456@alvh.no-ip.org
Ответ на
Список
Дерево обсуждения
what happens to indexes when TRUNCATEing "Willy-Bas Loos" <willybas@gmail.com>
Re: what happens to indexes when TRUNCATEing Alvaro Herrera <alvherre@commandprompt.com>
Re: what happens to indexes when TRUNCATEing "Willy-Bas Loos" <willybas@gmail.com>
what happens to indexes when TRUNCATEing "Willy-Bas Loos" <willybas@gmail.com>
Re: what happens to indexes when TRUNCATEing "Grzegorz Jaśkiewicz" <gryzman@gmail.com>
Re: what happens to indexes when TRUNCATEing "Willy-Bas Loos" <willybas@gmail.com>
Re: what happens to indexes when TRUNCATEing "Grzegorz Jaśkiewicz" <gryzman@gmail.com>
Re: what happens to indexes when TRUNCATEing Alvaro Herrera <alvherre@alvh.no-ip.org>
Willy-Bas Loos escribió:
> >> What happens to indexes on a table that is TRUNCATEd?
> >They are truncated too.
> From the manual:
> "Furthermore, [truncate] reclaims disk space immediately, rather than
> requiring a subsequent VACUUM operation."
> Does this go for indexes too?

Yes.

-- 
Alvaro Herrera                 http://www.amazon.com/gp/registry/DXLWNGRJD34J
"El sabio habla porque tiene algo que decir;
el tonto, porque tiene que decir algo" (Platon).
В списке pgsql-general по дате отправления
От: Willy-Bas Loos
Дата:
От: Grzegorz Jaśkiewicz
Дата:
FAQ