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 1hi05h-00071l-4Q for pgsql-general@arkaria.postgresql.org; Mon, 01 Jul 2019 17:27:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hi05f-0006px-LO for pgsql-general@arkaria.postgresql.org; Mon, 01 Jul 2019 17:27:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hi05f-0006pq-9d for pgsql-general@lists.postgresql.org; Mon, 01 Jul 2019 17:27:43 +0000 Received: from mail-oi1-x243.google.com ([2607:f8b0:4864:20::243]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hi05Z-0000hp-05 for pgsql-general@lists.postgresql.org; Mon, 01 Jul 2019 17:27:42 +0000 Received: by mail-oi1-x243.google.com with SMTP id e189so10557220oib.11 for ; Mon, 01 Jul 2019 10:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=vByfD/og1FhDlCEyRP/oG0G5lU2aUo5U6cdhXNxiHQA=; b=NQWiV5oQSBgh+Ts4wNFC4xYKKy1sfatkfcwDHCaN/JwE2IzMkbSO0GYnqlCEUrlWaN fd5qGdEcAMhmuOM8S6GBTzw1Au5w3aqdI9dnD7B+bO53Pl+sOg9Pj4Z7/KktJbEDO0tD fdtZ/FajJADowYufrZTW6+bDtYshbWvbLQWwI/1Ej6XERg1AUozG0+Zi51sO20BoVPRS 3mVwc9Cw2Qjsp1DkgtRNeTfJdR3F//qMX2Y7STz8zoIy2sBhtqQhnFa6M97rDSHEqeN6 bhTBm/zqlbAW4Iz6OCNIBo91zYDl3WCBNclinBLgh2xUskB62opzDJ0DnUrluX+86dGO eM8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=vByfD/og1FhDlCEyRP/oG0G5lU2aUo5U6cdhXNxiHQA=; b=Hg2dZmSqLNruaxqMwssLMVM2HO6QKyERhsNNUsAZobvMD/hjkBeXy1Db1sbxiAv6D3 FdziGHU6sfd/4uS3TExd9HX+4Gyw0DOBKTlDXNNYjIrM3GQVDjAKwx2uDWup0VRS/xMV uWlTCE1uVGOeWgSeCTT3wYN0l7z1yfArOh/gZHB4AdSy47BTPBZAwic5KDcMZz4vrgu1 6miI1zXU3FcmgkRPRKjLymwdLPwC9nRoY6cejPs0r1/qI97++5yCtTBoaxqx2uM6qrgq NTonbhXEvIPtypewHWjrcwBkHo3b2ZZWCZJzWpirl5AmIwvrQmGhnyNTmOfUE3RyjLvI ZbmA== X-Gm-Message-State: APjAAAXnsnCNTnvx3NyFqJXM30bJQEwtj1W3Fe9o/EJiXjFJT6xvfSVM UdOeTPi0hFmAdK0RgESD7YE02PagQA4= X-Google-Smtp-Source: APXvYqyjdU1MPg8pS3Qoleo+ZpMq9YI55a1c8kT9E/1FvQzDOVdBjqb2XKCmRagYkRJZqz0Wyq8HZQ== X-Received: by 2002:aca:55c2:: with SMTP id j185mr294463oib.100.1562002054566; Mon, 01 Jul 2019 10:27:34 -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 d200sm4456021oih.26.2019.07.01.10.27.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jul 2019 10:27:33 -0700 (PDT) To: "pgsql-general@lists.postgresql.org" From: Ron Subject: Statistics tables not being updated anymore Message-ID: <4939085b-d994-4d35-ce15-f14d6257e64a@gmail.com> Date: Mon, 1 Jul 2019 12:27:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------C6BD025AED5C70F688746F29" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------C6BD025AED5C70F688746F29 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi. v9.6.9 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. The first thing I checked was postgresql.conf (but it hasn't been modified since December 2018), and track_activities is turned on. Also, I connect as user "postgres", so it's not a privileges problem. Where else should I look? track_activities                    | on track_activity_query_size           | 1024 track_commit_timestamp              | off track_counts                        | on track_functions                     | none track_io_timing                     | off Thanks -- Angular momentum makes the world go 'round. --------------C6BD025AED5C70F688746F29 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi.

v9.6.9

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.

The first thing I checked was postgresql.conf (but it hasn't been modified since December 2018), and track_activities is turned on. Also, I connect as user "postgres", so it's not a privileges problem.

Where else should I look?

track_activities                    | on           
track_activity_query_size           | 1024         
track_commit_timestamp              | off          
track_counts                        | on           
track_functions                     | none         
track_io_timing                     | off          

Thanks

--
Angular momentum makes the world go 'round.
--------------C6BD025AED5C70F688746F29--