Re: More Praise for 7.4RC2

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: More Praise for 7.4RC2
Дата
Msg-id x7u156mysa.fsf@yertle.int.kciLink.com
обсуждение исходный текст
Ответ на Re: More Praise for 7.4RC2  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список pgsql-general
>>>>> "RG" == Rick Gigger <rick@alpinenetworking.com> writes:


RG> Are there any guidelines on how often one should do a reindex?

regularly monitor your index sizes with a query such as this:

SELECT relname,relpages FROM pg_class WHERE relname LIKE 'user_list%' ORDER BY relname;

On my most busy tables, index bloat in PG 7.2 is horrendous.  I have
one index that more than triples in size after about 10 days.  After
reindex it gets to a respectable 22k relpages.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Conservation of OIDs
Следующее
От: dalgoda@ix.netcom.com (Mike Castle)
Дата:
Сообщение: Re: [HACKERS] Proposal for a cascaded master-slave replication system