pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Harry Ambrose <harry.ambrose@gmail.com>
Cc: Achilleas Mantzios <achill@matrix.gatewaynet.com>
Cc: adsj@novozymes.com
Cc: pgsql-general@postgresql.org
Subject: Re: ERROR: unexpected chunk number 0 (expected 1) for toast value 76753264 in pg_toast_10920100
Date: Tue, 13 Jun 2017 09:44:54 -0400
Message-ID: <32520.1497361494@sss.pgh.pa.us> (raw)
In-Reply-To: <CAK4Knu9R4nyzBwgWP0-HS8ntNG1tJ2Vtj8x3ecu=+-tqREMESQ@mail.gmail.com>
References: <7pefuv53dl.fsf@novozymes.com>
	<f972af88-b5a0-ecc5-3fd6-ce22faa1bddc@matrix.gatewaynet.com>
	<EBB819BB-5660-4D9A-BD87-10ED5D7B1DE0@gmail.com>
	<15990.1496849265@sss.pgh.pa.us>
	<66E7E557-CED6-466B-9B9C-B0307CD95F13@gmail.com>
	<18860.1496853985@sss.pgh.pa.us>
	<CAK4Knu_ihTNu+EOfxfbvzdWH_V3aV=VGwp3DyhXfEPD4GK6ZrA@mail.gmail.com>
	<6962.1496947781@sss.pgh.pa.us>
	<CAK4Knu_DR=EbkMQP=uA7OwGaXFOVwW0hckv=c80DuxKZp8qYnA@mail.gmail.com>
	<18953.1497282926@sss.pgh.pa.us>
	<CAK4Knu-hAHospeEDTL50EfvN9WUSQvDjMMT0XfXObymMRdaokQ@mail.gmail.com>
	<CAK4Knu9R4nyzBwgWP0-HS8ntNG1tJ2Vtj8x3ecu=+-tqREMESQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

Harry Ambrose <harry.ambrose@gmail.com> writes:
> Not sure whether its relevant or not, however upon adding an ANALYSE before
> the second vacuum the issue has not presented when testing. I have managed
> 95 cycles thus far.

I'm still unable to reproduce :-( --- I ran about two dozen cycles
overnight with no sign of trouble.  This time I was using a master/slave
pair with the test database in a non-default partition, so neither of
those aspects seem to be key after all.

I suspect the reason for it being so hard to reproduce is that there's
a timing window involved.  But that doesn't offer much to go on in
terms of being able to make a more reproducible case.

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (58+ messages)  latest in thread

Message-ID: <32520.1497361494@sss.pgh.pa.us>
Permalink:  ../32520.1497361494@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/32520.1497361494@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, harry.ambrose@gmail.com, achill@matrix.gatewaynet.com, adsj@novozymes.com
  Subject: Re: ERROR: unexpected chunk number 0 (expected 1) for toast value 76753264 in pg_toast_10920100
  In-Reply-To: <32520.1497361494@sss.pgh.pa.us>
  References: <7pefuv53dl.fsf@novozymes.com> <f972af88-b5a0-ecc5-3fd6-ce22faa1bddc@matrix.gatewaynet.com> <EBB819BB-5660-4D9A-BD87-10ED5D7B1DE0@gmail.com> <15990.1496849265@sss.pgh.pa.us> <66E7E557-CED6-466B-9B9C-B0307CD95F13@gmail.com> <18860.1496853985@sss.pgh.pa.us> <CAK4Knu_ihTNu+EOfxfbvzdWH_V3aV=VGwp3DyhXfEPD4GK6ZrA@mail.gmail.com> <6962.1496947781@sss.pgh.pa.us> <CAK4Knu_DR=EbkMQP=uA7OwGaXFOVwW0hckv=c80DuxKZp8qYnA@mail.gmail.com> <18953.1497282926@sss.pgh.pa.us> <CAK4Knu-hAHospeEDTL50EfvN9WUSQvDjMMT0XfXObymMRdaokQ@mail.gmail.com> <CAK4Knu9R4nyzBwgWP0-HS8ntNG1tJ2Vtj8x3ecu=+-tqREMESQ@mail.gmail.com> <32520.1497361494@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