From: wambacher@posteo.de
To: pgsql-general@lists.postgresql.org
Subject: Re: got error: DELETE FROM planet_osm_line WHERE osm_id = -390840 failed: FEHLER: tuple concurrently updated
Date: Sat, 12 Oct 2019 00:42:57 +0200
Message-ID: <1c57e9ff-f9ab-1d2d-3c1f-5a8ec6067ccb@posteo.de> (raw)
In-Reply-To: <0bed370e-33fb-b7a6-dc30-02ba697164b5@aklaver.com>
References: <cebc9801-65d1-6ff3-be83-5a0014cb0296@posteo.de>
<3e664979-a015-bf0c-0569-82b2a797f6a7@aklaver.com>
<88cb51a4-3c8d-d62d-e4e3-106f7da1de47@posteo.de>
<0bed370e-33fb-b7a6-dc30-02ba697164b5@aklaver.com>
Hi Adrian,
no, system hang and i had to do a power reset (nothing else helped)
>
> By system do you mean just Postgres or the computer as a whole?
The whole system was hanging (Ubuntu). very strange: did a "lshw" not
being root. no idea what was going on. But we don't have to discuss that
here. May be disk io was hanging too.
>
> Have you tried a REINDEX?
>
not yet because i don't want to change any bit in this table right now.
at least i'll wait until my recovery program finished (about ~ 50% done)
toast seems to be invalid too. here some lines of the log:
planet3=# truncate pol_recover;select wno_recover_pol();
TRUNCATE TABLE
HINWEIS: wno_recover_pol: 2019-10-11 21:52:18.066759+02 rows=0
osm_id=633182165
HINWEIS: wno_recover_pol: 2019-10-11 21:53:59.233604+02 rows=1000000
osm_id=701634735
HINWEIS: wno_recover_pol: 2019-10-11 21:56:41.457124+02 rows=2000000
osm_id=513908287
HINWEIS: wno_recover_pol: 2019-10-11 22:03:58.663295+02 rows=3000000
osm_id=36807165
HINWEIS: wno_recover_pol: 2019-10-11 22:09:40.59184+02 rows=4000000
osm_id=-9334086
HINWEIS: wno_recover_pol: 2019-10-11 22:25:24.717055+02 rows=5000000
osm_id=-2242787
HINWEIS: wno_recover_pol: Exception -9493166 unexpected chunk number 0
(expected 1) for toast value 3243289288 in pg_toast_1340113
HINWEIS: wno_recover_pol: Exception -9493166 unexpected chunk number 0
(expected 1) for toast value 3243289288 in pg_toast_1340113
HINWEIS: wno_recover_pol: Exception -61549 unexpected chunk number 0
(expected 1) for toast value 3243289264 in pg_toast_1340113
HINWEIS: wno_recover_pol: Exception -240861 unexpected chunk number 0
(expected 1) for toast value 3243289204 in pg_toast_1340113
HINWEIS: wno_recover_pol: Exception -240861 unexpected chunk number 0
(expected 1) for toast value 3243289204 in pg_toast_1340113
HINWEIS: wno_recover_pol: Exception -240861 unexpected chunk number 0
(expected 1) for toast value 3243289204 in pg_toast_1340113
HINWEIS: wno_recover_pol: Exception -240861 unexpected chunk number 0
(expected 1) for toast value 3243289204 in pg_toast_1340113
HINWEIS: wno_recover_pol: Exception -240861 unexpected chunk number 0
(expected 1) for toast value 3243289204 in pg_toast_1340113
HINWEIS: wno_recover_pol: Exception -240861 unexpected chunk number 0
(expected 1) for toast value 3243289204 in pg_toast_1340113
HINWEIS: wno_recover_pol: Exception -240861 unexpected chunk number 0
(expected 1) for toast value 3243289204 in pg_toast_1340113
HINWEIS: wno_recover_pol: Exception -240861 unexpected chunk number 0
(expected 1) for toast value 3243289204 in pg_toast_1340113
HINWEIS: wno_recover_pol: 2019-10-11 22:40:42.696463+02 rows=6000000
osm_id=303611045
HINWEIS: wno_recover_pol: 2019-10-11 22:42:19.535747+02 rows=7000000
osm_id=439078923
...
until now "only" 3 damaged records :)
regards
walter
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: wambacher@posteo.de
Subject: Re: got error: DELETE FROM planet_osm_line WHERE osm_id = -390840 failed: FEHLER: tuple concurrently updated
In-Reply-To: <1c57e9ff-f9ab-1d2d-3c1f-5a8ec6067ccb@posteo.de>
References: <cebc9801-65d1-6ff3-be83-5a0014cb0296@posteo.de> <3e664979-a015-bf0c-0569-82b2a797f6a7@aklaver.com> <88cb51a4-3c8d-d62d-e4e3-106f7da1de47@posteo.de> <0bed370e-33fb-b7a6-dc30-02ba697164b5@aklaver.com> <1c57e9ff-f9ab-1d2d-3c1f-5a8ec6067ccb@posteo.de>
* 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