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 1s7c65-006Pr2-Vo for pgsql-general@arkaria.postgresql.org; Thu, 16 May 2024 14:28:43 +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 1s7c65-009onX-CD for pgsql-general@arkaria.postgresql.org; Thu, 16 May 2024 14:28:41 +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 1s7c64-009onP-Gi for pgsql-general@lists.postgresql.org; Thu, 16 May 2024 14:28:41 +0000 Received: from wfhigh5-smtp.messagingengine.com ([64.147.123.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s7c61-000VXa-I2 for pgsql-general@lists.postgresql.org; Thu, 16 May 2024 14:28:39 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id E764C18000AA; Thu, 16 May 2024 10:28:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 16 May 2024 10:28:35 -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=fm2; t=1715869714; x=1715956114; bh=5clN2ifMJMZYg0aYy4LZ/ycTFJ8IQQWuNFJLU6eLjWg=; b= f5TN4brgZYGh/yeTA+3LUfbLrvIhu3A1Uj15jNR1x7InB0dfPIoe0Q08GNqPKfc/ wpHeaZflG2VIZFyojppYnx69ELC93saHyFBrq9GHZxI1X4n4b/ytiBtiAaIXNfpN l9QuCNCRjxhemR5/Xm1O/hI5UdpPm/1D5k5USKGeaUW5p8uvJbncyntnQheDgHkd 3S0jE/IzBbTZYFMrat2L5EnoBk76RJ1xV4+R0HNc4u0siMDEGz5YbrnsgqcMIqPO RQmkM/jqrraBKkgYppYnxwtKy9K4smaz9L1Z7gWiNs4FDxAA+VjFOj263dYZrJPl hPMiE7P1BkMDI1frZfxy+A== 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=fm3; t=1715869714; x= 1715956114; bh=5clN2ifMJMZYg0aYy4LZ/ycTFJ8IQQWuNFJLU6eLjWg=; b=J f2brqKxghvIUgqQnbrfvq4M6iaRfWselmvGiwOzNSlYeelg2lRo+Ghnd34pAELcG +CIVFQQIU6VJY0E0iZ+/tr/tW3J+5K89gScTE0EDH6vrdqVqYjPhnf/iqG3Ws/c3 OUjWds2cBjtS9xoOQXx+vrXL9ZLy+kDhfw2eZ9H9WPQqBAjiOPGUZnWB7CKCEGEQ Oaw2gDdGevq6xyoCv8TSZlSGRF79yLWjfoNmsxYxce/Kc6BD2stQf/L65n7U9Ivi Ky8uQb5rpIWgiJfIGXa80ihHWs4pJXLkmql1CfK9c0A/VFkXbGyMHakrm29EbVK/ RzaL/gsyRkeM4T162A3xQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehuddgjeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeffleegieefgfevudehtdfhkeeutdffjeevgeffgeej vedthefgudeiteefheejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 May 2024 10:28:33 -0400 (EDT) Message-ID: Date: Thu, 16 May 2024 07:28:33 -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: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/16/24 03:08, HORDER Philip wrote: > Classified as: {OPEN} > >> --oids have not been supported with pg_dump since v11 > > You're absolutely correct, this command came from my notes, which are obviously out of date. > > We're running Postgres 15 pg_dump, and I've updated my notes. > I'm double-checking the command options with the guy who creates these files, but he's on holiday. I expect we just dropped the OID option. > >> FYI, --blobs is only needed when dumping a specific table or schema, otherwise it happens by default. > > Thanks, I didn’t know that. Did you have chance to do below? > From yesterday, current stats for table a.accp, from pg_STAT_all_tables: >"811486381""airscape""accp"16458538988177871456553503047055581967135016364880294000"2024-05-14 14:51:37.158892+00""2024-05-09 08:27:45.328468+00""2024-05-14 13:15:31.999198+00"01815170101653 I can't parse this out well enough to really say anything. Though the timestamps seem to indicate recent activity. Using psql do \x select * from pg_stat_all_tables where relname = 'a.accp'; to get an extended output that is easier to read. > > 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