pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Fletcher <markf@corp.groups.io>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: ERROR: found multixact XX from before relminmxid YY
Date: Fri, 28 Dec 2018 19:49:36 -0500
Message-ID: <27242.1546044576@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEO096rj5B16Ybfeq8M39GmNuGq_gU64T-NkGc0OWCruLWa0yw@mail.gmail.com>
References: <CAEO096rj5B16Ybfeq8M39GmNuGq_gU64T-NkGc0OWCruLWa0yw@mail.gmail.com>

Mark Fletcher <markf@corp.groups.io> 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 found
> was here:
> https://www.postgresql.org/message-id/CAGewt-ukbL6WL8cc-G%2BiN9AVvmMQkhA9i2TKP4-6wJr6YOQkzA%40mail.g...
> But no other reports of this solving the problem. Can someone verify that
> 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




view thread (4+ messages)  latest in thread

Message-ID: <27242.1546044576@sss.pgh.pa.us>
Permalink:  ../27242.1546044576@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27242.1546044576@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, markf@corp.groups.io
  Subject: Re: ERROR: found multixact XX from before relminmxid YY
  In-Reply-To: <27242.1546044576@sss.pgh.pa.us>
  References: <CAEO096rj5B16Ybfeq8M39GmNuGq_gU64T-NkGc0OWCruLWa0yw@mail.gmail.com> <27242.1546044576@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox