Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tEETH-0068Tu-O6 for pgsql-general@arkaria.postgresql.org; Thu, 21 Nov 2024 21:12:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tEETF-001Z5I-9j for pgsql-general@arkaria.postgresql.org; Thu, 21 Nov 2024 21:12:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tEETE-001Z3Q-V3 for pgsql-general@lists.postgresql.org; Thu, 21 Nov 2024 21:12:12 +0000 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tEETB-003705-Qz for pgsql-general@postgresql.org; Thu, 21 Nov 2024 21:12:11 +0000 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.stl.internal (Postfix) with ESMTP id BB8311140196; Thu, 21 Nov 2024 16:12:08 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Thu, 21 Nov 2024 16:12:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1732223528; x=1732309928; bh=KA0va27+ksclec6FGAfL/f6LNq2NwqI8ncxTbsDcZz4=; b= AvTK3FdJb/BfikUD+YqpRb9mYB/tN+oN0x9Y99f22yxnRg+geNQqodLrzgvKp2Ol 8Xx+s3K0uxfqF1k7TE0J3p+D0jkle5YWH0G0YtD+/rK5Mvnp+igXoXEPWUIIcIeq MEkbo14/P0zWY8/LMHH613AVXWrPndVGRXthlm1m4OEopBxGde9RFvpVWu6zDT02 8l5Od3VPUwhj5Q4YkNgyo1M9frBBugsOXJ7YAWwpb8ClM0W2F/vh+mN9UKwJH6FK 8jl0Ibn9cKjbpnpoAickhJwLXUGxlL7Jjleuc0S5Q4FnjiRt6Nua4F3rRHZzAPc6 88yDG4Lj2hR4geMVtHFztQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1732223528; x= 1732309928; bh=KA0va27+ksclec6FGAfL/f6LNq2NwqI8ncxTbsDcZz4=; b=k x+jW67ITqRj7ZZtzrU002Ph/H6T4nRv2f2hWuYkeYjFYEU6psMcykqYT/J9aRd75 7I+6Pu/ooVdL+A6VePfJrHP0/fujZNBiBHh2289qhKnikApJPgOFHSTHRrCx+Ffw nHUN35lm78VDKL0nHHyCUZY2VSX5d0ChQBfON6EKf/zJY7Eg0Ni7EUq5Mvn9AHC9 qR16PHgsT6i3QFeIx0v5IvYN4Fz7dqHo+CnEYKDm430bk58u9ZF2VONxRRht3TL+ qCrsj19TOxMUvVqo65mEKybIPWPTk+7jUI8rl2F79G7X7UjxHOGV4KTmy19xnE0q +d1n+vNuJqR/bmuxwmUEA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrfeeigddugeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdej necuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrh esrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepfeegfeeiuedtgffgteeg gfehkeejheetieeliefgteeikeejvdeiveeigfehvedtnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghk lhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepshgsohhulhgrnhhgvghrvdelsehgmhgrihhlrdgtohhmpdhrtghpthht ohepphhgshhqlhdqghgvnhgvrhgrlhesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 21 Nov 2024 16:12:07 -0500 (EST) Message-ID: <1e2db3f5-00f4-4ec2-800f-46136c2fad59@aklaver.com> Date: Thu, 21 Nov 2024 13:12:07 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Database stats ( pg_stat_database.stats_reset ) get reset on daily basis - why? To: Steeve Boulanger Cc: pgsql-general References: <6a157286-5948-48ac-bc50-7bb4e65ee5e5@aklaver.com> <38725031-5e80-46ee-b403-a92107b24c39@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/21/24 12:57, Steeve Boulanger wrote: > > > Please reply to list also. > > My apologies - I thought I did a "Reply all", but apparently not. I'm a > little bit of a noob with email distrib lists. > > > 1) What is log_min_error_statement set to? > >           name           | setting | pending_restart > -------------------------+---------+----------------- >  log_min_error_statement | error   | f > > > 2) Did you reload the server when changing?: > > yes - pg_reload_conf() All I can think to do is look at the logs around the stats_reset times for the databases and see if there is anything relevant. > > -Steeve -- Adrian Klaver adrian.klaver@aklaver.com