From: Pius Chan <pchan@contigo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Cc: Frank Moi <fmoi@contigo.com>
Cc: Ken Yu <kyu@contigo.com>
Cc: Vincent Lasmarias <vlasmarias@contigo.com>
Cc: Vladimir Kosilov <vkosilov@contigo.com>
Subject: Re: BUG #7819: missing chunk number 0 for toast value 1235919 in pg_toast_35328
Date: Fri, 1 Feb 2013 11:43:13 -0800
Message-ID: <C62EC84B2D3CF847899CCF4B589CCF70B20AA094@BBMBX.backbone.local> (raw)
In-Reply-To: <20515.1359747686@sss.pgh.pa.us>
References: <E1TxRlp-0007zA-Mw@wrigleys.postgresql.org>
<4542.1358819585@sss.pgh.pa.us>
<C62EC84B2D3CF847899CCF4B589CCF70B20AA065@BBMBX.backbone.local>
<5120.1358914486@sss.pgh.pa.us>
<C62EC84B2D3CF847899CCF4B589CCF70B20AA08F@BBMBX.backbone.local>
<20515.1359747686@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Tom,
Thanks for your prompt response. Yeah, I should have provided you with my testing scripts. BTW, during numerous tests, I felt that if there is no long holding transaction (the one used for middle-tier service master/slave failover), the database server is much quicker to recover the space left by dead-row and it is also hard to make the TOAST area grow. Therefore, it is hard for me to reproduce the ERROR if there is no long-holding open transaction. Do you have any insight to it?
Regards,
Pius
________________________________________
From: Tom Lane [tgl@sss.pgh.pa.us]
Sent: Friday, February 01, 2013 11:41 AM
To: Pius Chan
Cc: pgsql-bugs@postgresql.org; Frank Moi; Ken Yu; Vincent Lasmarias; Vladimir Kosilov
Subject: Re: [BUGS] BUG #7819: missing chunk number 0 for toast value 1235919 in pg_toast_35328
Pius Chan <pchan@contigo.com> writes:
> The ERROR happened again. After several days of investigation and testing, I can now reproduce the ERROR in my testing environment. The reason why the ERROR used to happen in a certain time period is that our report batch jobs run in that period and the batch job can make the TOAST area grow. I can repeat the ERROR with this set up and testing procedure.
Thanks. It would've been easier if you'd provided a more concrete test
procedure, but I've been able to reproduce what seems to be the same
failure. I don't know exactly what to do about it yet :-( --- see
http://www.postgresql.org/message-id/20362.1359747327@sss.pgh.pa.us
At the moment it appears to me that this error could only occur in
CLUSTER or its close cousin VACUUM FULL; ordinary database queries could
not see such a failure. Does that agree with your experience? If so,
this isn't really a data loss bug, so you should be able to just live
with it until we can work out a fix.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: pchan@contigo.com, tgl@sss.pgh.pa.us, fmoi@contigo.com, kyu@contigo.com, vlasmarias@contigo.com, vkosilov@contigo.com
Subject: Re: BUG #7819: missing chunk number 0 for toast value 1235919 in pg_toast_35328
In-Reply-To: <C62EC84B2D3CF847899CCF4B589CCF70B20AA094@BBMBX.backbone.local>
References: <E1TxRlp-0007zA-Mw@wrigleys.postgresql.org> <4542.1358819585@sss.pgh.pa.us> <C62EC84B2D3CF847899CCF4B589CCF70B20AA065@BBMBX.backbone.local> <5120.1358914486@sss.pgh.pa.us> <C62EC84B2D3CF847899CCF4B589CCF70B20AA08F@BBMBX.backbone.local> <20515.1359747686@sss.pgh.pa.us> <C62EC84B2D3CF847899CCF4B589CCF70B20AA094@BBMBX.backbone.local>
* 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