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 1sA9h0-007t0P-1u for pgsql-general@arkaria.postgresql.org; Thu, 23 May 2024 14:45:19 +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 1sA9gz-00DFo3-Sw for pgsql-general@arkaria.postgresql.org; Thu, 23 May 2024 14:45:17 +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 1sA9gy-00DFnv-CU for pgsql-general@lists.postgresql.org; Thu, 23 May 2024 14:45:17 +0000 Received: from wfhigh7-smtp.messagingengine.com ([64.147.123.158]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sA9gu-001dNk-8W for pgsql-general@lists.postgresql.org; Thu, 23 May 2024 14:45:14 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.west.internal (Postfix) with ESMTP id 2C3EC180016B; Thu, 23 May 2024 10:45:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 23 May 2024 10:45:10 -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=1716475509; x=1716561909; bh=GLzuL9qb17PB6zCXOAOaV0892WcHnRazM7JEDEOAc8A=; b= K7Nx5aTTfJGUCUI3jedQ3yZqWBw/lx8PuimTzw8NTGxYfI1K+LbOH/AnZOdoQ9E3 T/HV7p3wR9IE1OmL8hCcBGIghpWpHHMOdpxjoYDCT/MHXUSYUSL2fQLs3VGPDn1k sOwc6oP58uG8wN9odP/FuJ1dkBAtHmoh8TGkdg8QBB85KrzllzqtDVeTakEH7fRj vgkZV4ivAJ167nCGxYcSwICQhyIXDW1lWk9IHJe05S2o1kch+2U0Tl/V9Y25vGGn OexlApisY8UX4pLPnd0N52ciwzikAoh7QTu89PrgMTjc5u8KCFEPJUad4JF/2FCF rG9OonmM6E+PdBSk7maQ/Q== 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=1716475509; x= 1716561909; bh=GLzuL9qb17PB6zCXOAOaV0892WcHnRazM7JEDEOAc8A=; b=m xSLKWchaqSIvsQcpFoh+uIzVi3Y+2xcQsaMS61fQ38yuWPsLDj7iPNHN2i8pLMC5 Bm5GwNzGckJxj15UKsxAXyDV9uYmI2j/FNOYTxV+Sp5OqNn4/p0Kmthc06paNvMp ewuQw7g9N/FlGvuZdTtxNsh3MAACHyDG9GriLOUl4wlEIl3OqE/OAnucuWgnOnMg oGL1D+aWVChszNP/9sqAQlH4hzA1UCkEJ4TCA4ByVSmqm3trB4G8yOeSxdCjdI11 DIiTSoJM+aiH1U1yfE0iacuSuEDmAKzTP5ixZg9P2MNPeExPVK07XisqlHmuHmFO b6mn1XZlSEtEDpjnNTDlQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeiiedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeekfeehuddvjeeigfeifeejtdduudffledvfeelheef tdeiffeugfdvkeelgedtvdenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhi rghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 May 2024 10:45:08 -0400 (EDT) Message-ID: <3ca42bdd-1753-4870-bad7-e4f05214c423@aklaver.com> Date: Thu, 23 May 2024 07:45:08 -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/23/24 06:01, HORDER Philip wrote: > Classified as: {OPEN} > > I actually hadn't thought to look for Postgres bugs, the system is so reliable for us, it just doesn't go wrong! > > I can trigger the fault be running a reload of the lfm database, and we've been running Postgres 10 & 13 for several years now without seeing this problem. > > Our symptoms match that bug description exactly, so I'm pretty confident this is the problem. > I'll have to push through the right paperwork to get a Postgres update, and that will take a while While you are doing the paperwork make sure it is for upgrade to 15.7. Also might mention minor upgrades (x in X.x) are a good idea as Postgres, like any software, does get bugs and the minor releases fix them. Point the folks in charge at: https://www.postgresql.org/docs/15/release.html Also minor releases as a rule do not require dump/restore or pg_upgrade or other heavy lifting. There have been exceptions, but they are rare. > > Thank you so much for your time. > > Phil Horder > Database Mechanic > > Thales > Land & Air Systems > -- Adrian Klaver adrian.klaver@aklaver.com