From: Moreno Andreo <moreno.andreo@evolu-s.it>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: PostgreSQL mailing lists <pgsql-general@postgresql.org>
Subject: Re: Pg11 -- MultiXactId xxxx has not been created yet -- apparent wraparound
Date: Tue, 15 Oct 2019 17:43:04 +0200
Message-ID: <409a55a4-e380-e5e4-a1a4-d7e69b50ab98@evolu-s.it> (raw)
In-Reply-To: <20191009175139.GA27341@alvherre.pgsql>
References: <20191009175139.GA27341@alvherre.pgsql>
Hi Alvaro,
sorry for late reply, I've been out of office.
Il 09/10/19 19:51, Alvaro Herrera ha scritto:
> On 2019-Oct-07, Moreno Andreo wrote:
>
>> Unfortunately, it didn't work :(
>>
>> db0=# select * from failing_table where ctid='(3160,31)' for update;
>> ERROR: MultiXactId 12800 has not been created yet -- apparent wraparound
> Oh well. It was a long shot anyway ...
It was a long shot, but it was worth trying
>> Since the probability we are into corruption is very high, what if I \copy
>> all the table but the failing row(s) to an external file, drop and recreate
>> the table, and then \copy clean data back inside?
> Yes, that should work.
It did not work... I think there was some big deal with the cluster itself.
To extract these small parts of data I had to SELECT using OFFSET and LIMIT.
Well, the same query (i.e. select * from table offset 35 limit 145) run
as it is worked well, but from the moment I put it into a COPY
statement, it was messing again with multixact, even if I tried back the
only query.
It ended recovering data from backups (2 days old, and that's good news)
Thanks for your time
Moreno.-
>
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: moreno.andreo@evolu-s.it, alvherre@2ndquadrant.com
Subject: Re: Pg11 -- MultiXactId xxxx has not been created yet -- apparent wraparound
In-Reply-To: <409a55a4-e380-e5e4-a1a4-d7e69b50ab98@evolu-s.it>
References: <20191009175139.GA27341@alvherre.pgsql> <409a55a4-e380-e5e4-a1a4-d7e69b50ab98@evolu-s.it>
* 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