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 1hi21n-00042K-Vc for pgsql-general@arkaria.postgresql.org; Mon, 01 Jul 2019 19:31:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hi21m-0004Wn-SG for pgsql-general@arkaria.postgresql.org; Mon, 01 Jul 2019 19:31:50 +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 1hi20Y-00089D-O2 for pgsql-general@lists.postgresql.org; Mon, 01 Jul 2019 19:30:34 +0000 Received: from mail-ot1-x341.google.com ([2607:f8b0:4864:20::341]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hi20R-0000am-LI for pgsql-general@lists.postgresql.org; Mon, 01 Jul 2019 19:30:33 +0000 Received: by mail-ot1-x341.google.com with SMTP id l15so14658788otn.9 for ; Mon, 01 Jul 2019 12:30:27 -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=UQqnhd6FO9HPXd0Hl8W+L6RZkIhMFEmgMdHdY3ZzHC0=; b=qoZto3yhpQyXMQ2tk8O/bTMaYOdqyukGBUS+1+PUeBbajP5X9/hrJ/nj/wPkBlkweJ MHGQYiyScPaRoRbNbF5//92m3Se+4m3NANAGWGXF0zrWT+ZzkzQlHrEl7qUQbszL6+Sy /gN5WBkOCL50R5VtxkDNh9RSFxUNlE3TzKnhV0M6ab5JHnWasRFzONv+HMwcFOaL6OWq xPLbtsbjS6eoPoadtmUzDCZ8C0Fokt/YlpLCoTOaiRAbLq1cjSVymmctHpkCb81dCHNi 8B510sHyWjVkADgIJ5/Z1I6PigXzABQN2B0OzyJ8aPXB0WvzDNz0qmAFqoEVEufCjx2X 9ZeQ== 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=UQqnhd6FO9HPXd0Hl8W+L6RZkIhMFEmgMdHdY3ZzHC0=; b=KsW7aeH7oyTO+YSoDdbkDnZyFgTct3rbE0LD+KAuyVuFPHt/Lb2hG9gwbyTBO/QEH8 lqo4c9Svm9PeraFzhN15kM9MD285EwZWCTTIgW3nZBUxRwXhQEiasl0DfKlkQbYvx7VD +oeAQEL/K7QCe8tLk2Oe5+dtxPPWAxGp1FMjX7IyU84XnFv6XCFTl0Tv+W/zSAMUb4SS BtZ3cC3bFOEa+BU4BZsNhiCbdpKTx8NrMl9/D9xyzHqjsVSM2lWAiOrYbUTYSByGOKf4 x5kCfAhrEpCjAd5TNgfUR4SmqB4KIXiw3+Jyd9O37knI2wAmP90K7+p1HDb/+DlmnMBy sS8g== X-Gm-Message-State: APjAAAUuqmesY94mj5AfQs6nsl01v+8fsuLVW3dftPLNXc5V0C9Zl96O PsRzZdwtCs390pULpK77LHgpSVpEgjI= X-Google-Smtp-Source: APXvYqzy29ISiqCrNxXEauJ7D6DOVR2mmvHPkkVgGoLQ3esKkqGizBbr8mo/nXhiv8qlzPPgEqS3Jg== X-Received: by 2002:a05:6830:2010:: with SMTP id e16mr19788313otp.344.1562009426572; Mon, 01 Jul 2019 12:30:26 -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 y4sm4392996otj.56.2019.07.01.12.30.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jul 2019 12:30:25 -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: <931f460e-18c7-942b-41cd-bbd6bfeaa9af@gmail.com> Date: Mon, 1 Jul 2019 14:30:24 -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? No. > 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. I'll try and get that approved. -- Angular momentum makes the world go 'round.