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 1u5Q9D-0000HO-LS for pgsql-general@arkaria.postgresql.org; Thu, 17 Apr 2025 14:23:24 +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 1u5Q9B-009Ibc-Rt for pgsql-general@arkaria.postgresql.org; Thu, 17 Apr 2025 14:23:22 +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 1u5Q9B-009Iax-GK for pgsql-general@lists.postgresql.org; Thu, 17 Apr 2025 14:23:22 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u5Q9A-000YF6-0P for pgsql-general@postgresql.org; Thu, 17 Apr 2025 14:23:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 53HENIiB2195605; Thu, 17 Apr 2025 10:23:18 -0400 From: Tom Lane To: Anton Shepelev cc: pgsql-general@postgresql.org Subject: Re: Cannot turn track_counts on In-reply-to: <20250417170534.b2e919e950b77c4d4dbd5483@gmail.com> References: <20250416122749.2b2d25cafcd76aa7d633ed07@gmail.com> <1900177.1744815217@sss.pgh.pa.us> <20250417170534.b2e919e950b77c4d4dbd5483@gmail.com> Comments: In-reply-to Anton Shepelev message dated "Thu, 17 Apr 2025 17:05:34 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2195603.1744899798.1@sss.pgh.pa.us> Date: Thu, 17 Apr 2025 10:23:18 -0400 Message-ID: <2195604.1744899798@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Anton Shepelev writes: >> What extensions do you have installed? > Nothing much: > db=# show shared_preload_libraries; > shared_preload_libraries > --------------------------- > online_analyze, plantuner Never heard of either of those, but just from the names, they sound like they might be things that would take it on themselves to fool with your stats-collection settings. I'd check their code for something close to SetConfigOption("track_counts", ..., PGC_S_OVERRIDE); regards, tom lane