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 1f3vA2-0006tz-04 for pgsql-general@arkaria.postgresql.org; Thu, 05 Apr 2018 03:02:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3vA1-0006qC-0R for pgsql-general@arkaria.postgresql.org; Thu, 05 Apr 2018 03:02:01 +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 1f3vA0-0006q2-7F for pgsql-general@lists.postgresql.org; Thu, 05 Apr 2018 03:02:00 +0000 Received: from resqmta-ch2-06v.sys.comcast.net ([2001:558:fe21:29:69:252:207:38]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3v9w-0000Jq-J3 for pgsql-general@postgresql.org; Thu, 05 Apr 2018 03:01:58 +0000 Received: from resomta-ch2-08v.sys.comcast.net ([69.252.207.104]) by resqmta-ch2-06v.sys.comcast.net with ESMTP id 3v9cftzXlZX8a3v9ufKeQQ; Thu, 05 Apr 2018 03:01:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1522897314; bh=lSzogMONQdfIsZUk+rhmrY3sYeNVLh47B92phtFuVng=; h=Received:Received:Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type; b=QKnmLDZoY8f2/vvWPYX6yRI4g9jqU2L11QFdVa91EeSpLx8ZkdGvSmPGLoimTjYof eKaiXdv2srW68mGrmW0XOmvvE2aCLjZqn4wGcaYJmI9Ha4ZmDITPu0zLmiMAiKs2Rv HcEfqPUbzf+CS1zA4TgN3LoJ0em6qfAr7LPkotmKfVLZ9x3zbFZeZQ5QatBL9enpad HhsZnbPOlkpqrmWduMheUSiv3JUvUTLadH0wYYXtvsSjKu2LXztv6FzpdeQPBQryba Ir1ddTniC9EtJjNXatxHpq3bRnrAyKY0cgK1Epb9SNdzRLOv1ozoGvivoMgTBPl/SA 16hhQKlS1V5uA== Received: from jsievers.comcast.net ([12.30.159.20]) by resomta-ch2-08v.sys.comcast.net with SMTP id 3v9gf73BQsz7R3v9jfrF1h; Thu, 05 Apr 2018 03:01:52 +0000 Received: from jsievers (localhost [127.0.0.1]) by jsievers.comcast.net (Postfix) with ESMTP id 63CD6260056; Wed, 4 Apr 2018 22:01:40 -0500 (CDT) From: Jerry Sievers To: Bruce Momjian Cc: Jerry Sievers , pgsql-general@postgresql.org Subject: Re: PgUpgrade bumped my XIDs by ~50M? References: <87sh8a7gh1.fsf@jsievers.enova.com> <20180404232827.GD19574@momjian.us> <87k1tm7bnz.fsf@jsievers.enova.com> <20180405002906.GE19574@momjian.us> Date: Wed, 04 Apr 2018 22:01:40 -0500 In-Reply-To: <20180405002906.GE19574@momjian.us> (Bruce Momjian's message of "Wed, 4 Apr 2018 20:29:06 -0400") Message-ID: <87zi2inyp7.fsf@comcast.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-CMAE-Envelope: MS4wfB279eu2OXN9IBsrv1Ehc8gPml5NDvd7qFno3tODkm/I9XRQKDz3DfY5rUjQP8cYWS/Z9hgQHT9DzoLmNmPzH8MbS5uhs7+JOziTX/kMKlDLZL47/qqd GTH+CIZ+mC/QEQylYi+kkZsibqbB3XYNHPe+qcxjviSIW37Qi9cQat/FZyUpnBz4xEzV/4m4+/HiFiPyWHojpWcWySAJRxHiSX8V8nVJ/WhUHljTkGLJHpMK aTCcme9t62AxW8WSNvgt8Q== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > 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? txid_current is another 12M higher then a few hours ago. Still waiting to hear from my reporting team if they changed anything. This thing is running PgLogical and has a few of our event triggers as well. But nothing in this regard changed with the upgrade. What if some very frequent but trivial statements that did not get assigned a real TXID in 9.5 on this configuration now are being treated differently? What's puzzling too is that when I run my TPS monitor script, it's clicking along at what looks typical, presently would only amount to 700k transactions/day but we're off-peak. Thx > > >> >> 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. -- Jerry Sievers Postgres DBA/Development Consulting e: postgres.consulting@comcast.net p: 312.241.7800