pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Statistics tables not being updated anymore
Date: Tue, 2 Jul 2019 06:36:13 -0700
Message-ID: <7527b5eb-c94b-e6c5-aca8-4e4502c5fcce@aklaver.com> (raw)
In-Reply-To: <e3771e01-5a74-05aa-fc45-e84b51625b13@gmail.com>
References: <4939085b-d994-4d35-ce15-f14d6257e64a@gmail.com>
	<25326.1562006905@sss.pgh.pa.us>
	<e3771e01-5a74-05aa-fc45-e84b51625b13@gmail.com>

On 7/2/19 6:28 AM, Ron wrote:
> On 7/1/19 1:48 PM, Tom Lane wrote:
>> Ron <ronljohnsonjr@gmail.com> writes:
>>> Statistics views like pg_stat_*_tables, pg_stat_*_indexes,
>>> pg_statio_*_tables and pg_statio_*_indexes aren't being updated anymore.
>>> Specifically, all counter fields are 0, and date fields are blank.
>> Does anything show up in the postmaster log when you try to query
>> one of those views?
>>
>> It seems like something must be wedged either in the stats collector
>> process or in backends' communication with that process.  Hard to say
>> what on the basis of this evidence though.
>>
>> If you can do a postmaster restart without too much trouble, that
>> might resolve the issue.
> 
> That did, in fact, solve the problem.
> 


It got it working again, it did not actually answer what caused the 
issue. The problem could still reappear.


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (17+ messages)  latest in thread

Message-ID: <7527b5eb-c94b-e6c5-aca8-4e4502c5fcce@aklaver.com>
Permalink:  ../7527b5eb-c94b-e6c5-aca8-4e4502c5fcce@aklaver.com/
Also on:    postgresql.org/message-id/7527b5eb-c94b-e6c5-aca8-4e4502c5fcce@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ronljohnsonjr@gmail.com
  Subject: Re: Statistics tables not being updated anymore
  In-Reply-To: <7527b5eb-c94b-e6c5-aca8-4e4502c5fcce@aklaver.com>
  References: <4939085b-d994-4d35-ce15-f14d6257e64a@gmail.com> <25326.1562006905@sss.pgh.pa.us> <e3771e01-5a74-05aa-fc45-e84b51625b13@gmail.com> <7527b5eb-c94b-e6c5-aca8-4e4502c5fcce@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox