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>)
Список pgsql-general
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"
Дата:
Сообщение: what happens to indexes when TRUNCATEing
Следующее
От: "Grzegorz Jaśkiewicz"
Дата:
Сообщение: Re: what happens to indexes when TRUNCATEing