Re: last_analyze/last_vacuum not being updated

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: last_analyze/last_vacuum not being updated
Date: 2015-06-08 19:23:59
Message-ID: 20150608192359.GO133018@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> I'm looking at a case on 9.4.1 where the last_analyze and last_vacuum
> stats for a handful of tables seem stuck. They don't update after
> running an ANALYZE or VACUUM command, and they don't react to
> pg_stat_reset_single_table_counters(). All of the affected tables are
> system catalogs, some shared, some not. Other system catalogs and other
> tables have their statistics updated normally. Any ideas (before I try
> to blow it away)?

Interesting. Not sure what would cause this. Maybe their pgstat_info
pointer is invalid in their relcache entry for some reason. Are these
rd_isnailed?

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-06-08 19:25:06 Re: last_analyze/last_vacuum not being updated
Previous Message Fujii Masao 2015-06-08 19:23:09 Re: pg_stat_archiver issue with aborted archiver