Baptiste LHOSTE wrote:
> Today I consulted the log of my PostgreSQL server and I saw that
> autovacuum tasks took to much time to do their work. I thought that
> ANALYZE was a fast operation ?
That depends on configuration settings and on whether the computer
(or VM) is so swamped that the autovacuum task is starved for cycles.
Also on any overrides of statistics targets for those tables.
Please show us the output from running this query:
http://wiki.postgresql.org/wiki/Server_Configuration
Have you overridden any statistics targets?
A description of the environment would also be good. Hardware? Load?
-Kevin