Re: BUG #6068: automatic analyze runs endlessly

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6068: automatic analyze runs endlessly
Date: 2011-06-19 17:35:26
Message-ID: BANLkTikDWPuJry7TUL7VK7_An5Nsrh=jVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 6/19/11, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Jeff Janes" <jeff(dot)janes(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Pilling, Michael 2011-06-19 23:43:12 Re: BUG #6064: != NULL, <> NULL do not work [sec=UNCLASSIFIED]
Previous Message Tom Lane 2011-06-19 17:31:48 Re: BUG #6068: automatic analyze runs endlessly