Relation of indices to ANALYZE

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Relation of indices to ANALYZE
Дата
Msg-id 3F16B68F.7060207@potentialtech.com
обсуждение исходный текст
Ответы Re: Relation of indices to ANALYZE  (Richard Huxton <dev@archonet.com>)
Re: Relation of indices to ANALYZE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Hello all,

I'm putting together a database that has me wondering about the interaction of ANALYZE
with indices.  I guess the basic question is: are indices affected by the results of
ANALYZE.

The particular application I've got is doing a batch insert of lots of records.  For
performance, I'm dropping the indexes on the table, doing the inserts, then recreating
the indexes a then doing a VACUUM ANALYZE.  Specifically, I'm wondering if I should do
the ANALYZE before or after I recreate the indexes, or whether it matters.

Any feedbackis welcome.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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

Предыдущее
От: Paul Thomas
Дата:
Сообщение: Re: index / sequential scan problem
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Hardware performance