Re: BUG #6068: automatic analyze runs endlessly - Mailing list pgsql-bugs

From Jeff Janes
Subject Re: BUG #6068: automatic analyze runs endlessly
Date
Msg-id BANLkTikDWPuJry7TUL7VK7_An5Nsrh=jVw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #6068: automatic analyze runs endlessly  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On 6/19/11, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Jeff Janes" <jeff.janes@gmail.com> writes:
>> Starting with commit b4b6923e03f4d29636a94f6f4cc2f5cf6298b8c8,
>> "Fix VACUUM so that it always updates pg_class.reltuples/relpages."
>
>> After running make installcheck, the tables regression.public.slow_emp4000
>> and regression.public.fast_emp4000 get analyzed once a minute even though
>> they have no activity.  None of the other installcheck tables, just those
>> two.
>
>> This has no direct negative effect that I know of, but it seems to be a
>> worrying symptom that pg_class or some related entity may not be getting
>> updated correctly.
>
> Hmm ... seems worrisome, all right, but I don't see that happening here.
> At least I don't see any indication of it in
> pg_stat_all_tables.last_autoanalyze.  Are you looking at that, or some
> other evidence?  Do you have any nondefault settings?


Just log_autovacuum_min_duration=0

Both evidence and setting.

Cheers, Jeff

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #6068: automatic analyze runs endlessly
Next
From: "Kevin Grittner"
Date:
Subject: Re: BUG #6064: != NULL, <> NULL do not work [sec=UNCLASSIFIED]