Re: Statistics tables not being updated anymore

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Ron <ronljohnsonjr(at)gmail(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Statistics tables not being updated anymore
Date: 2019-07-02 13:36:13
Message-ID: 7527b5eb-c94b-e6c5-aca8-4e4502c5fcce@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/2/19 6:28 AM, Ron wrote:
> On 7/1/19 1:48 PM, Tom Lane wrote:
>> Ron <ronljohnsonjr(at)gmail(dot)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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2019-07-02 13:52:57 Re: plpgsql: How to modify a field in an array of records
Previous Message Ron 2019-07-02 13:28:34 Re: Statistics tables not being updated anymore