Re: Reindexing

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Reindexing
Дата
Msg-id 6a9ed5b7ca2f7c1ba61f27a969cebcbd50cff4b6.camel@cybertec.at
обсуждение исходный текст
Ответ на Reindexing  (Wasim Devale <wasimd60@gmail.com>)
Список pgsql-admin
On Fri, 2025-04-25 at 10:46 +0530, Wasim Devale wrote:
> I want to automate the reindexing and planning to do it concurrently twice a week.

That's probably unnecessary.

> Can someone highlight at what percentage of index bloat can decide the frequency of reindexing?

It is perfectly normal for a B-tree index to have an "avg_leaf_density" of 30 or so,
as determined with pgstatindex().  Consider reindexing only for indexes that are
doing worse *and that keep deteriorating*.

Yours,
Laurenz Albe



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