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 1gd2ox-0005js-NV for pgsql-general@arkaria.postgresql.org; Sat, 29 Dec 2018 00:49:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gd2ow-0003KR-DA for pgsql-general@arkaria.postgresql.org; Sat, 29 Dec 2018 00:49:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gd2ow-0003K8-4Z for pgsql-general@lists.postgresql.org; Sat, 29 Dec 2018 00:49:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gd2ot-00007r-EF for pgsql-general@lists.postgresql.org; Sat, 29 Dec 2018 00:49:41 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id wBT0na6O027243; Fri, 28 Dec 2018 19:49:36 -0500 From: Tom Lane To: Mark Fletcher cc: pgsql-general@lists.postgresql.org Subject: Re: ERROR: found multixact XX from before relminmxid YY In-reply-to: References: Comments: In-reply-to Mark Fletcher message dated "Fri, 28 Dec 2018 16:25:08 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27241.1546044576.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 28 Dec 2018 19:49:36 -0500 Message-ID: <27242.1546044576@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Mark Fletcher writes: > Starting yesterday morning, auto vacuuming of one of our postgresql 9.6.= 10 > (CentOS 7) table's started failing: > ERROR: found multixact 370350365 from before relminmxid 765860874 > CONTEXT: automatic vacuum of table "userdb.public.subs" Ugh. > Reading the various discussions about this error, the only solution I fo= und > was here: > https://www.postgresql.org/message-id/CAGewt-ukbL6WL8cc-G%2BiN9AVvmMQkhA= 9i2TKP4-6wJr6YOQkzA%40mail.gmail.com > But no other reports of this solving the problem. Can someone verify tha= t > if I do the mentioned fix (and I assume upgrade to 9.6.11) that will fix > the problem? And that it doesn't indicate table corruption? Yeah, SELECT FOR UPDATE should overwrite the broken xmax value and thereby fix it, I expect. However, I don't see anything in the release notes suggesting that we've fixed any related bugs since 9.6.10, so if this just appeared then we've still got a problem :-(. Did anything interesting happen since your last successful autovacuum on that table? Database crashes, WAL-related parameter changes, that sort of thing? regards, tom lane