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 1hiIpz-0006e7-8T for pgsql-general@arkaria.postgresql.org; Tue, 02 Jul 2019 13:28:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hiIpx-00070H-7v for pgsql-general@arkaria.postgresql.org; Tue, 02 Jul 2019 13:28:45 +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 1hiIpw-0006tx-NL for pgsql-general@lists.postgresql.org; Tue, 02 Jul 2019 13:28:44 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hiIpp-0000Wa-Eg for pgsql-general@lists.postgresql.org; Tue, 02 Jul 2019 13:28:43 +0000 Received: by mail-io1-xd2c.google.com with SMTP id u13so37006882iop.0 for ; Tue, 02 Jul 2019 06:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=XlSlKETrjWHlbvzsX+CVNbS+nEDyTQYg7c60JGadxf0=; b=AEtMkVz/vNrpn+ZevEPihHnuFOMIFJYJOMIueZOEVTevPTWNjMKJ+HzDR4ZPODhFSF U/fq/PpuqcQaepSQuMOyKwhN+snx6IH7eOgp3L8TWR6QKYM/ixVKlsjKk9xsLMCga2mu Q2RCiyWokOxMs+jfPfmHX15Qi13tZl3vSLc3bvTKNPaGyO8GyxvPuDnZjnuwW7rp1/pb xPq20/WTcGY6Toft8SYTjP7/abz6WQ4d/Q3/USy9ta8OqG4PKXbe1NAseHMr+dFuXMyZ 61PIPTrDILuSVfuUcIj8dKwEiEwxANjkeXV9YvQiBH14/jyLsngHfJEO0C/0AVv4jOWh /y0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=XlSlKETrjWHlbvzsX+CVNbS+nEDyTQYg7c60JGadxf0=; b=i1TSZ1dyo7LV7PGJ0QpIEsghuSyptvhFCQEzYfzg8Zc210VUQvfsA+fotrxjbLs8uU PQ68BoaZMWJvPylPxcIAUcXN0inLhCGOsFntIxDSyIsNk956lh6oTc0IuO4d1YUJiJlS bQg4UbUFA7/pzE8w6M6zFDJU7wr8QvhyvIw28ejS/EvKGNNE+xEOqu49Ps7u/bVmaDV6 dgsDsgWQS/e2GMTUgmvISuahRmI6txVCmpK6lLOyqFwQtGeEhwV+1gYhD+XGXM7T74nt 64DICeH5HiJfoXIEvFRaQS2RhNiEzctnc8n6N7Yrb6+D7aJnstndqMY/D8fa8+PA4mpE 1Z5Q== X-Gm-Message-State: APjAAAVqnq+c6KwzHfm7BB7tOV7m1LKhzzdpkrmPZzDJM9rIfpqp5nnX 4OCfYYhezlCTixJIB+30GFUBWPxmI0M= X-Google-Smtp-Source: APXvYqzL0/X3wwDAeq5JBhpV3PtGsZlASzDbkfI0XXTQBYsx9EhPeNE8Cs6FsZsIUnWgWOjOhT/E9w== X-Received: by 2002:a02:7642:: with SMTP id z63mr22868563jab.36.1562074116223; Tue, 02 Jul 2019 06:28:36 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id z17sm22456513iol.73.2019.07.02.06.28.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jul 2019 06:28:35 -0700 (PDT) Subject: Re: Statistics tables not being updated anymore To: "pgsql-general@lists.postgresql.org" References: <4939085b-d994-4d35-ce15-f14d6257e64a@gmail.com> <25326.1562006905@sss.pgh.pa.us> From: Ron Message-ID: Date: Tue, 2 Jul 2019 08:28:34 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <25326.1562006905@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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. -- Angular momentum makes the world go 'round.