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 1s9oTA-005JiI-0v for pgsql-general@arkaria.postgresql.org; Wed, 22 May 2024 16:05:37 +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 1s9oT9-000xL1-2t for pgsql-general@arkaria.postgresql.org; Wed, 22 May 2024 16:05:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s9oT7-000xKs-Me for pgsql-general@lists.postgresql.org; Wed, 22 May 2024 16:05:34 +0000 Received: from wfout5-smtp.messagingengine.com ([64.147.123.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s9oT3-000E5X-5L for pgsql-general@lists.postgresql.org; Wed, 22 May 2024 16:05:32 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.west.internal (Postfix) with ESMTP id 2A4121C000FB; Wed, 22 May 2024 12:05:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 22 May 2024 12:05:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= 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=1716393925; x=1716480325; bh=VcTZpbaAC+oX1vMX+gaKf49ZVFVdzKHObxgKDbwYDy8=; b= OjgYcW46G+43ooAu/0IdM6fx95LmhLzx45cH/f0XD84mEJAWCnUJZPaPpw5ky2K6 6+1z61PU6wBb6SJWjcCe3sLam9rS4k3WjaEEgkSKAA3iWeTnepqFFgIrocz61TVV N3N7HRtiNv3Mx5S4rNhe6x+UKW4ZlNpMstJwtN4WjlOJX32gmZQWZ8szvtc4OOS0 VNHjd6y2vPV5W3QFcBf++y6F6Ykeyg31nLczwwPo2tnes+c7cqccB7WZax9skqlE x8pe8yaEXyarBS6jjO7hIveagEEYsHFt7UwinTLdkmycsMTU5x1IsoZvN9rEQVY5 gp2K/tGX6I80EPi8ApxuNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716393925; x= 1716480325; bh=VcTZpbaAC+oX1vMX+gaKf49ZVFVdzKHObxgKDbwYDy8=; b=K vaiQBqb+qmKe5Jq3HX6GHu+nCDJFFTuMB28UWpO2SQr4KOVmopNQC1Qe71sU8mPS iLF4mrhwe6+bUF3IzKB3feY6Vx8M2XR5BI9uWNUd0u5eFp4390CtL03ZEChaeSPZ aymtMdcnHKQ0wHB4wPJBB/JfYx7kn/xnrsVtiSo3XD3lA0Hppq40OD3w38GcxpsW OeAR/VanDjPxDx2uIvmcuwoQMpwcg9WmObLLnyfUK7FrzH2QcU76P1utR43d98ad jndm7Xy/Pxj3dcxMDJWJ8u/fr1mrR9l+TzsJVxezEHwNPAybmBKoVBYcMVKZOdYJ T7cbuMDneOLHT0ZjRj9Og== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeigedgvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeekfeehuddvjeeigfeifeejtdduudffledvfeelheef tdeiffeugfdvkeelgedtvdenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhi rghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 May 2024 12:05:24 -0400 (EDT) Message-ID: <49a5340c-7eb6-4063-8fad-ea15444c598e@aklaver.com> Date: Wed, 22 May 2024 09:05:24 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Restore of a reference database kills the auto analyze processing. To: HORDER Philip , "pgsql-general@lists.postgresql.org" References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/22/24 08:55, HORDER Philip wrote: > Classified as: {OPEN} > >> https://www.postgresql.org/docs/15/release-15-5.html#id-1.11.6.7.4 > >> Fix race condition in database dropping that could lead to the autovacuum launcher getting stuck > > Wow, that sounds like our problem! Another thought I had is that since you are on Windows maybe there is an AV program seeing the autovacuum as virus-like and killing it. Though I would expect there to be more errors in that case. Anyway it might be worth investigating should an upgrade not fix it. > > I will investigate. Maybe try and find the orphaned stats entry to prove it. It would be a good idea to upgrade to 15.7 in any case to get all the other bug/security fixes. > > Phil Horder > Database Mechanic > > Thales > Land & Air Systems > > -- Adrian Klaver adrian.klaver@aklaver.com