Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3smD-0005cX-QB for pgsql-general@arkaria.postgresql.org; Thu, 05 Apr 2018 00:29:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3smA-0004fc-JS for pgsql-general@arkaria.postgresql.org; Thu, 05 Apr 2018 00:29:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3smA-0004fS-8K for pgsql-general@lists.postgresql.org; Thu, 05 Apr 2018 00:29:14 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f3sm3-0005VW-Bw for pgsql-general@postgresql.org; Thu, 05 Apr 2018 00:29:12 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1f3sm2-0004Uw-BU; Wed, 04 Apr 2018 20:29:06 -0400 Date: Wed, 4 Apr 2018 20:29:06 -0400 From: Bruce Momjian To: Jerry Sievers Cc: pgsql-general@postgresql.org Subject: Re: PgUpgrade bumped my XIDs by ~50M? Message-ID: <20180405002906.GE19574@momjian.us> References: <87sh8a7gh1.fsf@jsievers.enova.com> <20180404232827.GD19574@momjian.us> <87k1tm7bnz.fsf@jsievers.enova.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87k1tm7bnz.fsf@jsievers.enova.com> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Apr 4, 2018 at 07:13:36PM -0500, Jerry Sievers wrote: > Bruce Momjian writes: > > Is it possible that pg_upgrade used 50M xids while upgrading? > > Hi Bruce. > > Don't think so, as I did just snap the safety snap and ran another > upgrade on that. > > And I also compared txid_current for the upgraded snap and our running > production instance. > > The freshly upgraded snap is ~50M txids behind the prod instance. Are the objects 50M behind or is txid_current 50M different? Higher or lower? > > If this is a not too uncommon case of users running amok, then this time > in particular they really went off the charts :-) I have never heard of this problem. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +