Search Postgresql Archives

Re: autovacuum and immediate shutdown issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brad Nicholson <bnichols@xxxxxxxxxxxxxxx> writes:
> autoanalyze will automatically analyze new tables when they don't have
> stats.  It seems logical that it should handle this case where the table
> also does not have stats.

It will autoanalyze once a sufficient number of inserts have occurred.
The effect of a crash is just to reset the inserts-since-last-analyze
counters.  You really haven't made the case why that's so awful that
we need to do things that are unpleasant along other dimensions in order
to avoid it.  (The only ways of avoiding it that I can see would result
in very significant overhead added to the stats collection mechanism.)

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux