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 1s9SbC-002S11-Po for pgsql-general@arkaria.postgresql.org; Tue, 21 May 2024 16:44:28 +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 1s9SbC-00BGV1-JD for pgsql-general@arkaria.postgresql.org; Tue, 21 May 2024 16:44:26 +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 1s9SbC-00BGUs-7s for pgsql-general@lists.postgresql.org; Tue, 21 May 2024 16:44:26 +0000 Received: from fhigh2-smtp.messagingengine.com ([103.168.172.153]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s9Sb9-001Jmy-P0 for pgsql-general@lists.postgresql.org; Tue, 21 May 2024 16:44:25 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 2E55A114010E; Tue, 21 May 2024 12:44:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 21 May 2024 12:44:22 -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=1716309862; x=1716396262; bh=MkAqt8qSQZlNzjFj4qtq6MPa0PFZdWmWL1BnEL3rCwI=; b= rHQyK2kBmet5Z0kf1m9cSvZ8mknFaDNOsNiwyZ50FGJ07pWpO0dxybBzOAe/DbMc kaj00KSs1FBVExaQEkgI9y+sDfqibLvuWtUN/wtjkeNEaNVCoOKVVcqa8x3zc+TI 9SvzkSVwzH4W/5K9Roj5lfAir4dEvnVAu4aUJGnoT2f+LpBMSSR4kW2d8vetCmGs VDqQDO7CuNyah/6qeAyfMBu2hBePslsZQJ55j1xg0MXmr1XFcwDZJTp9gX+qE36p Pt9BpTnsr6ysgDulwM+JZuxgWsA33gS/AHZy6G24nwWr2pifY8bU4Xf7E9+/BVG5 74RmhqtqzcQ3XbhnKDAa3g== 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=1716309862; x= 1716396262; bh=MkAqt8qSQZlNzjFj4qtq6MPa0PFZdWmWL1BnEL3rCwI=; b=p qE+jDA0i2iuts7yUhnrA02zZ85PDQi/DexoczbmOxy9ziQbKtaBPhOIb5hbwyxm3 mQbatK4WGHVCgbfTkK8vmzUsG2CeI+P/bgLoiuHLfVNm1Tj/Fxidcf59dWkL5TpW Q0roacTgkrlGz7GPFJvhrDoYj2RrTFb6+mwaG/+NF1F7K6AvVS4KX8p3XpX6cyqs gUNwvggh1Rr6+IoPwMeOjqE++bGyffG7TM2OE7lKY7fuVlciqc0gHJKTcEdoWDQE U7Gqr0chNpgQO9Je9jCmVZG02Y5mcz0nAJkQJvku0MCys49aUQcRN7BlfAig+maN R9xTu3xzgycEyRrAX7Ecw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeivddguddtvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepiedvhfeiheehgeeuieeljeeitedtjeehudegfeel kedvleekhedtgfeiffefkedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 21 May 2024 12:44:20 -0400 (EDT) Message-ID: Date: Tue, 21 May 2024 09:44:18 -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/21/24 9:29 AM, HORDER Philip wrote: > Classified as: {OPEN} > >> I am having a hard time figuring out how both of the above can be true. >> Dropping and recreating the database would wipe out the statistics. > > We have multiple databases on the one Postgres server. > The 'postgres' database contains our main application, with tables in schema 'a'. > We have two other databases, one of which is 'lfm'. My mistake, I was over concentrating on the log messages and did not pay attention to the psql prompt which was showing postgres as the database. > Phil Horder > Database Mechanic > > Thales > Land & Air Systems > > > {OPEN} > The information contained in this e-mail is confidential. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. If you have received this e-mail in error, please inform the originator immediately and delete it and all copies from your system. > > Thales UK Limited. A company registered in England and Wales. Registered Office: 350 Longwater Avenue, Green Park, Reading, Berks RG2 6GF. Registered Number: 868273 > > Please consider the environment before printing a hard copy of this e-mail. -- Adrian Klaver adrian.klaver@aklaver.com