pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Alexandre Arruda <adaldeia@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: ERROR: found multixact from before relminmxid
Date: Fri, 6 Apr 2018 18:11:10 +0200
Message-ID: <0a057777-206e-b7d8-c078-4ca58678c6fd@2ndquadrant.com> (raw)
In-Reply-To: <CAGewt-vbYMCp8jnp02CXH77ipHoe0DBO5AmKkDM-F8h2vN5RQQ@mail.gmail.com>
References: <CAGewt-ujGpMLQ09gXcUFMZaZsGJC98VXHEFbF-tpPB0fB13K+A@mail.gmail.com>
	<fac9e421-29b0-9c41-4982-1be41ddb8e91@2ndquadrant.com>
	<CAGewt-vbYMCp8jnp02CXH77ipHoe0DBO5AmKkDM-F8h2vN5RQQ@mail.gmail.com>



On 04/06/2018 04:29 PM, Alexandre Arruda wrote:
> 2018-04-06 9:39 GMT-03:00 Tomas Vondra <tomas.vondra@2ndquadrant.com
> <mailto:tomas.vondra@2ndquadrant.com>>:
> 
> 
> 
>     On 04/06/2018 02:09 AM, Alexandre Arruda wrote:
>     > Hi,
>     >
>     > Some time ago, I had this errors frequently showed in logs after some
>     > autovacuum in some tables(pg 9.6). VACUUM FULL or CLUSTER in this tables
>     > show the same and not complete the tasks (showed by some table bloat
>     > select).
>     > Then, I did a full dump/restore into a new version (10.2) and everything
>     > is ok for a couple of months. Now, I have errors like this again:
>     >
>     > db1=# cluster pc44t;
>     >
>     > ERROR:  found multixact 134100944 from before relminmxid 192042633
>     >
>     >  
>     >
>     > Like before, the only way to make the errors to desapear is by
>     > dump/reload the whole table.
>     >
>     >
>     > Thanks for any help.
>     >
> 
>     That's going to be hard, unless you still have the cluster around.
> 
>     This surely seems like some sort of data corruption issue, but without
>     being able to inspect the data pages it's nearly impossible to determine
>     what went wrong.
> 
>     We'd also need more information about what happened to the hardware and
>     cluster before the issues started to appear - crashes, hardware issues.
>     And so on.
> 
>     regards
> 
>     --
>     Tomas Vondra                  http://www.2ndQuadrant.com
>     PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
> 
> 
> Hi Tomas,
> The old cluster are gone, unfortunatly.
> 
> This server is a 128GB ECC RAM with a dual redundant hba fiber channel
> connect to a sotorage with Raid 6 and I don't have (apparently) any
> errors reported.
> Yesterday I did a test with one table:  some sum aggragates, count(*),
> etc, then dump/reload and repeat the tests the results (of querys) are
> the same, regarding the vacuum problem
> thats disapeared.
> 

I'm not sure I understand correctly. So you can reproduce the issue? If
yes, how can you share the scripts/data you use (and how large is it)?
If we could reproduce it locally, it would make the investigation much
easier.

BTW you mentioned you're using PostgreSQL 9.6 - which minor version,
specifically?


regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (36+ messages)  latest in thread

Message-ID: <0a057777-206e-b7d8-c078-4ca58678c6fd@2ndquadrant.com>
Permalink:  ../0a057777-206e-b7d8-c078-4ca58678c6fd@2ndquadrant.com/
Also on:    postgresql.org/message-id/0a057777-206e-b7d8-c078-4ca58678c6fd@2ndquadrant.com

 · 

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: tomas.vondra@2ndquadrant.com, adaldeia@gmail.com
  Subject: Re: ERROR: found multixact from before relminmxid
  In-Reply-To: <0a057777-206e-b7d8-c078-4ca58678c6fd@2ndquadrant.com>
  References: <CAGewt-ujGpMLQ09gXcUFMZaZsGJC98VXHEFbF-tpPB0fB13K+A@mail.gmail.com> <fac9e421-29b0-9c41-4982-1be41ddb8e91@2ndquadrant.com> <CAGewt-vbYMCp8jnp02CXH77ipHoe0DBO5AmKkDM-F8h2vN5RQQ@mail.gmail.com> <0a057777-206e-b7d8-c078-4ca58678c6fd@2ndquadrant.com>

* 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