Re: Auto ANALYZE criteria

Поиск
Список
Период
Сортировка
Искать
От
Kevin Grittner
Тема
Re: Auto ANALYZE criteria
Дата
Msg-id
4C9799D50200002500035A16@gw.wicourts.gov
Ответ на
Список
Дерево обсуждения
Auto ANALYZE criteria Joe Miller <joe.d.miller@gmail.com>
Re: Auto ANALYZE criteria Tom Lane <tgl@sss.pgh.pa.us>
Re: Auto ANALYZE criteria Joe Miller <joe.d.miller@gmail.com>
Re: Auto ANALYZE criteria Tom Lane <tgl@sss.pgh.pa.us>
Re: Auto ANALYZE criteria Joe Miller <joe.d.miller@gmail.com>
Re: Auto ANALYZE criteria Robert Haas <robertmhaas@gmail.com>
Re: Auto ANALYZE criteria "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Auto ANALYZE criteria Joe Miller <joe.d.miller@gmail.com>
Joe Miller  wrote:
 
> I can set up a cron job to run the ANALYZE manually, but it seems
> like the autovacuum daemon should be smart enough to figure this
> out on its own.  Deletes can have as big an impact on the stats as
> inserts and updates.
 
But until the deleted rows are vacuumed from the indexes, an index
scan must read all the index entries for the deleted tuples, and
visit the heap to determine that they are not visible.  Does a
manual run of ANALYZE without a VACUUM change the stats much for
you, or are you running VACUUM ANALYZE?
 
-Kevin
В списке pgsql-performance по дате отправления
От: Joe Miller
Дата:
Сообщение: Auto ANALYZE criteria
От: Tom Lane
Дата:
Сообщение: Re: Auto ANALYZE criteria
FAQ