Re: pg_upgrade and statistics

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_upgrade and statistics
Дата
Msg-id 20120313141443.GJ10441@momjian.us
обсуждение исходный текст
Ответ на Re: pg_upgrade and statistics  (Daniel Farina <daniel@heroku.com>)
Ответы Re: pg_upgrade and statistics
Список pgsql-hackers
On Tue, Mar 13, 2012 at 12:33:09AM -0700, Daniel Farina wrote:
> On Mon, Mar 12, 2012 at 8:10 PM, Bruce Momjian <bruce@momjian.us> wrote:
> > To answer your specific question, I think clearing the last analyzed
> > fields should cause autovacuum to run on analyze those tables.  What I
> > don't know is whether not clearing the last vacuum datetime will cause
> > the table not to be analyzed.
> 
> Thank you very much for this reference.  I will look into it.

I assume a missing last_analyze would trigger an auto-analyze, but I am
unclear if we assume a last_vacuum included an analyze;  I think you
need to look at autovacuum.c for the details;  let me know if you need
help.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Explicitly specifying use of IN/OUT variable in PL/pgSQL functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Explicitly specifying use of IN/OUT variable in PL/pgSQL functions