Re: what happens to indexes when TRUNCATEing

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: what happens to indexes when TRUNCATEing
Дата
Msg-id 2f4958ff0812170339j436fe5d6o1e127c337adda894@mail.gmail.com
обсуждение исходный текст
Ответ на what happens to indexes when TRUNCATEing  ("Willy-Bas Loos" <willybas@gmail.com>)
Ответы Re: what happens to indexes when TRUNCATEing  ("Willy-Bas Loos" <willybas@gmail.com>)
Список pgsql-general
On Wed, Dec 17, 2008 at 11:37 AM, Willy-Bas Loos <willybas@gmail.com> wrote:
>>> 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?
>
someone asked the same question here not so long time ago. The answer
is - yes, it applies to indices too.



--
GJ

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: what happens to indexes when TRUNCATEing
Следующее
От: "Willy-Bas Loos"
Дата:
Сообщение: Re: what happens to indexes when TRUNCATEing