How do I vacuum safely? And how often should I reindex

Поиск
Список
Период
Сортировка
От Florian Helmberger
Тема How do I vacuum safely? And how often should I reindex
Дата
Msg-id OPEOLKEAAIMGBAMJNACKAEEDDFAA.f.helmberger@uptime.at
обсуждение исходный текст
Ответы Re: How do I vacuum safely? And how often should I reindex  (Marc Spitzer <marc@oscar.eng.cv.net>)
Список pgsql-admin
Hi!

> > 2: how often should I reindex my db, are there any standards
> >    or accepted practices out there
>
> I recreate my indices every week, or after any extensive updates or
> deletes.  Again, I believe that 7.2 has some new stuff to deal with this
> issue.

This brings me to another point. Is it really necessary to recreate indices
if you vacuum analyze your database regulary (say, every once in a week)?

Cheers,
Florian


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

Предыдущее
От: "Andrew G. Hammond"
Дата:
Сообщение: Re: Resetting connection errors and incomplete restores.
Следующее
От: Marc Spitzer
Дата:
Сообщение: Re: How do I vacuum safely? And how often should I reindex