Re: Statistics tables not being updated anymore - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Statistics tables not being updated anymore
Date
Msg-id 7527b5eb-c94b-e6c5-aca8-4e4502c5fcce@aklaver.com
Whole thread Raw
In response to Re: Statistics tables not being updated anymore  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-general
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



pgsql-general by date:

Previous
From: Ron
Date:
Subject: Re: Statistics tables not being updated anymore
Next
From: Tom Lane
Date:
Subject: Re: plpgsql: How to modify a field in an array of records