Re: relpages of btree indexes are not truncating even after deletingall the tuples from table and doing vacuum

Поиск
Список
Период
Сортировка
От Mahendra Singh
Тема Re: relpages of btree indexes are not truncating even after deletingall the tuples from table and doing vacuum
Дата
Msg-id CAKYtNArA8kEfsHKhkogk026rbewAL7RtKuF8VSdXWUm+QY5zmw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: relpages of btree indexes are not truncating even after deletingall the tuples from table and doing vacuum  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
On Tue, 24 Dec 2019 at 02:41, Peter Geoghegan <pg@bowt.ie> wrote:
>
> On Mon, Dec 23, 2019 at 11:05 AM Mahendra Singh <mahi6run@gmail.com> wrote:
> > From above example, we can see that after deleting all the tuples from table and firing vacuum command, size of
tableis reduced but size of index relation is same as before vacuum.
 
>
> VACUUM is only able to make existing empty pages in indexes recyclable
> by future page splits within the same index. It is not possible for it
> to reclaim space for the filesystem. Workload characteristics tend to
> determine whether or not this limitation is truly important.

Thank you for the clarification.

Thanks and Regards
Mahendra Singh Thalor
EnterpriseDB: http://www.enterprisedb.com



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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: table partition and column default
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: Avoid full GIN index scan when possible