Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hiIxN-0006wo-3g for pgsql-general@arkaria.postgresql.org; Tue, 02 Jul 2019 13:36:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hiIxL-000058-GS for pgsql-general@arkaria.postgresql.org; Tue, 02 Jul 2019 13:36:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hiIxJ-000051-O5 for pgsql-general@lists.postgresql.org; Tue, 02 Jul 2019 13:36:23 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hiIxG-0000c1-8Z for pgsql-general@lists.postgresql.org; Tue, 02 Jul 2019 13:36:20 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 79D1A3F0; Tue, 2 Jul 2019 09:36:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 02 Jul 2019 09:36:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=p 3zEdAgHAvjsrH9OzjMxrOw8WP2wqvxYUGHhWQetpm8=; b=MOovcYEneidnbeWhI sG+j3GnmYe3flyYeq618HrYEpto9/CCBUC9ksMFD4993pxONEQ5uyMkSVOYLmu2k HzoZ55cSvCYHZaj09xbtCZbf/VfVtuBBdHu09hgVGdf6X9hjxuX6OPzDdGopLF0O M+rBIwukHlJK9lYG71LHI3mU/2P3KSRgEy5FL56JUmHf0Dcrz0ryaf1SdFozOedS Pu1hEqD1ToZ46vimmbWG+MIlC4eGyVnA91Snnk6V5PCqHxHa8oRckvlf05QsBKfM Lm0Haxl0AydUJtFFMwFUh9u6qzGr5460vHAOQzH0azJ90d6EH9RvKhwv+pPfiynD M04WQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=p3zEdAgHAvjsrH9OzjMxrOw8WP2wqvxYUGHhWQetp m8=; b=bDePhiw+PXNOPKiJXXt4783rQ4N0x3ct7zn/J7GIDUNnhILXpYecsyQ3b tzn+hhtzhm2iI4CIxSDetMx4n+sC5Q4HuS9SfkL4jSEGVhZYE7BfhhWsNDlUlK1K C0fj589f4a6/kPHLNZ0NYEjTQ8oKGk+GIax9sJ0sJghCkWcR0NON9mRugayD7O4o VQV2pt60jXsnFWGrNgbGF1yxFaqMAYo+kHC1XOr4Dz3YD1abu0GGv0AM3iTZfciQ 8AnMQZzYYQMbsvxd8eb0bYSwkMy9U/uYp4jTntGEA7srLJvzAF3rrWCllKMY+nXG p2Myaoc1esKjbVyT4b5xjQoNwCoJA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrvdekgdeilecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucfkphepjedurddvuddvrdduhedtrddvtd dvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhl rghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 02BF480063; Tue, 2 Jul 2019 09:36:13 -0400 (EDT) Subject: Re: Statistics tables not being updated anymore To: Ron , "pgsql-general@lists.postgresql.org" References: <4939085b-d994-4d35-ce15-f14d6257e64a@gmail.com> <25326.1562006905@sss.pgh.pa.us> From: Adrian Klaver Message-ID: <7527b5eb-c94b-e6c5-aca8-4e4502c5fcce@aklaver.com> Date: Tue, 2 Jul 2019 06:36:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/2/19 6:28 AM, Ron wrote: > On 7/1/19 1:48 PM, Tom Lane wrote: >> Ron 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