Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBhCG-0007Qf-AN for pgsql-general@arkaria.postgresql.org; Mon, 15 Feb 2021 16:58:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lBhCF-0007Ba-16 for pgsql-general@arkaria.postgresql.org; Mon, 15 Feb 2021 16:58:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBhCE-0007BT-M1 for pgsql-general@lists.postgresql.org; Mon, 15 Feb 2021 16:58:02 +0000 Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lBhCC-0007Y4-CC for pgsql-general@lists.postgresql.org; Mon, 15 Feb 2021 16:58:01 +0000 Received: by mail-qv1-xf2e.google.com with SMTP id p12so3419747qvv.5 for ; Mon, 15 Feb 2021 08:58:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=americanefficient-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=ZJJ5f435roKBv6aCcSJI7EsEdj+ogA5TJeMollt/bXE=; b=UF4wA9FqmPSGU1fa0FZHPutEaBTmjpQzt9b3amubiN0yj4l0Xvs272zIWdM1GrTNJa XM+6N8bcRD/O9h0NEu5H8bne61qF8T3DFR2WXR/ztNiH6EO2C/wcsXsneJWNR7DEs0jw veqjgmwJ5KD636JGUUhSW3iriSTaY63o6Ui8IloJNt2hUMjEpYxVXRSUGOAfc6UxJJ/d kG1L0x5JQKcg7VlhmWp/4qQvvcH3NHFkte2XmjP1GMq8grZ1YXkmAjPdX7zRiv6TGVIZ y8IvIw5Rib4KcNaEvrpLGeipqhzxm4L9l1d+nLXix7iSE1z/g0U9+a7NVPxU0kNNiWyj LDzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=ZJJ5f435roKBv6aCcSJI7EsEdj+ogA5TJeMollt/bXE=; b=V8BpgA3i15wsqxy3jnOA/ROze6H7lJEq8PMjvFzGQvQ4pklvKFfGGZv4BMx7uyan4C i3uFtsQLvZr9qVejuQnx8o3CQ6ALit2CfhHYt5kbfxeQCaZxKfFGsl3T3sUr0xCFKp2E iI50GYYDkyDcX2maGfbMbEWDiKwbzal/hrfA2Zo1z82IcR5mHH7ekQ4OUxC+3Ia42nkD Owz2XYFhLi8yXPftxPZ/EndTWMZf27lue1oBzRB2/I5TkxT6nH3wLwI+169/opyAqPK+ xgheZ/ZOIddf+Tn6kYFvsHyPiodBq/XNOu/CSacsBzY8f/6VWIYfQBmuMu6ZkUDWWd1E dlnA== X-Gm-Message-State: AOAM532oK3Ze0Lh9SAfFP1TVIVkTLnP44wr0DrFpaSNKabww2dKk4nq9 XmK3OjXEq8sHkHOrBXyE0snklkO/xq9ZTfLig81DksPVSIF1mgbv4UuBcmzhzJtdX25UwFReMyU LhEtIqBakuROtLD6C/eBI9iGdJPWjKKOQCAdgsrlrpf6m3um5l78+44tPhMq+Mcw6iXEbwHZM94 DqYS6HIme0UseU6aJYevL/uQ== X-Google-Smtp-Source: ABdhPJzp/OhFAijiVV6CyJRo6wmKekimOch5ENckynkV8jszJBLKDSSBNx638sWYBM32lW9AhJhSYw== X-Received: by 2002:a05:6214:118d:: with SMTP id t13mr7497041qvv.33.1613408276493; Mon, 15 Feb 2021 08:57:56 -0800 (PST) Received: from [10.0.1.10] (cpe-98-26-29-163.nc.res.rr.com. [98.26.29.163]) by smtp.gmail.com with ESMTPSA id 12sm1279099qtt.88.2021.02.15.08.57.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Feb 2021 08:57:55 -0800 (PST) From: Philip Semanchuk Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: pg_stat_user_tables.n_mod_since_analyze persistence? Message-Id: Date: Mon, 15 Feb 2021 11:57:55 -0500 To: PostgreSQL General X-Mailer: Apple Mail (2.3654.60.0.2.21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi all, I saw some unexpected behavior that I'm trying to understand. I suspect = it might be a quirk specific to AWS Aurora and I'd like to confirm that. When I restart my local Postgres instance (on my Mac), the values in = pg_stat_user_tables.n_mod_since_analyze are preserved. In other words, = if table foo had n_mod_since_analyze=3D33 before the reboot, it still = has n_mod_since_analyze=3D33 after the restart.=20 When I restart an AWS Aurora instance, the values in = pg_stat_user_tables.n_mod_since_analyze all seem to be reset to 0.=20 Can anyone confirm (or refute) that the behavior I see on my Mac = (preservation of these values through a restart) is common & expected = behavior? Thanks Philip=