Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnoiG-0002vg-Ic for pgsql-admin@arkaria.postgresql.org; Wed, 17 Jul 2019 18:31:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hnoiF-0005zI-DQ for pgsql-admin@arkaria.postgresql.org; Wed, 17 Jul 2019 18:31:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hnoiD-0005yf-Kp for pgsql-admin@lists.postgresql.org; Wed, 17 Jul 2019 18:31:34 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hnoiB-0007mv-5L for pgsql-admin@lists.postgresql.org; Wed, 17 Jul 2019 18:31:32 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3C0CD220FD; Wed, 17 Jul 2019 14:31:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 17 Jul 2019 14:31:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= quadratum-braccas.com; h=to:from:subject:message-id:date :mime-version:content-type:content-transfer-encoding; s=fm2; bh= 1Yn3shsIrAb0ZdU9xvcTXO83M4mdfuI/eyiQM6DHV8g=; b=Jogo5kfl4PrhV00/ rkFvPcdxqhOGesqRqVNsaiv6htgQZdmwNQTeTSONzYrNlcb37Lqjsb63ZiaTNswx uuuUCXLYhaew/3yogos7jiwpcZkvVcs3RFDGfnTf9J+H+0dRdAW0qBEwA79+X/uo FB21u1thifukGHAXTKWI5PJLme6kzyEOTuXcmouoY27f4jKQHrqpgtHe5xJkVWAO PGupsOaCAYFoA53j2Un3Q2+3hrckwLYOHSUOGOI9aXzuRege2eQj7AudVgGtrGt/ gz2eMVTNJJESJZniQinkEVxzNDK9i0strIycfs+/N3e/J/Joi4IlNyWmLSyoSPMj KI60Dg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=1Yn3sh sIrAb0ZdU9xvcTXO83M4mdfuI/eyiQM6DHV8g=; b=hxyTLNMtc+C5mpJ9jYzaIT CdDgp8EIhZsdB2Bs4tXlDcChpXU2zUob30snEuWZBmym9GmBUptJnAZsw2PTzBdh XglS1RvLDB3MBxi8obukGsXBEXPJbZhJ6WnMONEnCAJTBzls7Qry4bY5Bc+i4327 WsVL1S32IvrMx/Fk+OUHVfrl4dGfFK9nHZNNmTX6MdabPIsZ/Xj1crENgo+67ZLe dNNeQREgpirc13fupIibiC1RPb59IP620FvNE/sH8GWCsmPqEQBQZaB93mfaP8R3 Z3gZwIt8AQrP7FzKHjke42UqmNW72rpFtANzFxDgxAsLG59s73zjKsLnwKc/wdoA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrieefgddutdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefvhffukffffgggtgfgsehtjeertd dtfeejnecuhfhrohhmpedfufdruceuohgsfdcuoehssghosgesqhhurggurhgrthhumhdq sghrrggttggrshdrtghomheqnecukfhppeduvddruddutddruddviedrvdegnecurfgrrh grmhepmhgrihhlfhhrohhmpehssghosgesqhhurggurhgrthhumhdqsghrrggttggrshdr tghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [172.16.4.133] (unknown [12.110.126.24]) by mail.messagingengine.com (Postfix) with ESMTPA id 8719C80062; Wed, 17 Jul 2019 14:31:29 -0400 (EDT) To: pgsql-admin@lists.postgresql.org From: "S. Bob" Subject: xmin value from pg_stat_replication Message-ID: <2bbb14f7-b894-cf98-986f-59e4711d0aa5@quadratum-braccas.com> Date: Wed, 17 Jul 2019 12:31:29 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk All; We have a master and a standby (Streaming replication). This query produces a value of approx 1.5million on the master and approx 80million on the standby: select slot_name, slot_type, database, xmin from pg_replication_slots order by age(xmin); We are running replication in async mode. A couple of questions: - Is it unusual for the master & standby to differ dramatically like this? - could the replication slot (i.e. the xmin on the standby) be preventing vacuum from cleaning up row versions on the master? Thanks in advance