Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U1MZ1-00086e-IG for pgsql-bugs@arkaria.postgresql.org; Fri, 01 Feb 2013 19:46:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U1MZ1-0006H3-0O for pgsql-bugs@arkaria.postgresql.org; Fri, 01 Feb 2013 19:46:19 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U1MZ0-0006Gy-4Q for pgsql-bugs@postgresql.org; Fri, 01 Feb 2013 19:46:18 +0000 Received: from cuda.backbonesystems.ca ([74.221.130.55]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U1MYx-000195-2S for pgsql-bugs@postgresql.org; Fri, 01 Feb 2013 19:46:16 +0000 X-ASG-Debug-ID: 1359747972-05b1791095497bc0001-Z0bQUL Received: from bbhubnlb1.backbone.local ([10.1.154.113]) by cuda.backbonesystems.ca with ESMTP id IVqSXcLdeMHyTHiT; Fri, 01 Feb 2013 11:46:12 -0800 (PST) X-Barracuda-Envelope-From: pchan@contigo.com X-Barracuda-RBL-Trusted-Forwarder: 10.1.154.113 Received: from BBMBX.backbone.local ([fe80::c889:3f9d:f6d5:c7d1]) by BBHub001.backbone.local ([::1]) with mapi; Fri, 1 Feb 2013 11:46:12 -0800 From: Pius Chan X-Barracuda-BWL-IP: fe80::c889:3f9d:f6d5:c7d1 X-Barracuda-Apparent-Source-IP: fe80::c889:3f9d:f6d5:c7d1 To: Tom Lane CC: "pgsql-bugs@postgresql.org" , Frank Moi , Ken Yu , Vincent Lasmarias , Vladimir Kosilov Date: Fri, 1 Feb 2013 11:43:13 -0800 Subject: Re: BUG #7819: missing chunk number 0 for toast value 1235919 in pg_toast_35328 Thread-Topic: [BUGS] BUG #7819: missing chunk number 0 for toast value 1235919 in pg_toast_35328 X-ASG-Orig-Subj: RE: [BUGS] BUG #7819: missing chunk number 0 for toast value 1235919 in pg_toast_35328 Thread-Index: Ac4AtCE6Zk8k9Z4TQliWTq/8bncuPQAAD3R9 Message-ID: References: , <4542.1358819585@sss.pgh.pa.us> , <5120.1358914486@sss.pgh.pa.us> , <20515.1359747686@sss.pgh.pa.us> In-Reply-To: <20515.1359747686@sss.pgh.pa.us> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-tm-as-product-ver: SMEX-8.0.0.4125-6.000.1038-17524.005 x-tm-as-result: No--40.491200-8.000000-31 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[10.1.154.113] X-Barracuda-Start-Time: 1359747972 X-Barracuda-URL: http://cuda.backbonesystems.ca:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at backbonesystems.ca X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.121540 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Tom, Thanks for your prompt response. Yeah, I should have provided you with my t= esting scripts. BTW, during numerous tests, I felt that if there is no long= holding transaction (the one used for middle-tier service master/slave fai= lover), the database server is much quicker to recover the space left by de= ad-row and it is also hard to make the TOAST area grow. Therefore, it is ha= rd for me to reproduce the ERROR if there is no long-holding open transacti= on. 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; Vladim= ir Kosilov Subject: Re: [BUGS] BUG #7819: missing chunk number 0 for toast value 12359= 19 in pg_toast_35328 Pius Chan 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 t= he ERROR used to happen in a certain time period is that our report batch j= obs run in that period and the batch job can make the TOAST area grow. I c= an 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 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs