Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Txhi3-000443-8R for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Jan 2013 17:32:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Txhi2-0003WT-Mn for pgsql-bugs@arkaria.postgresql.org; Tue, 22 Jan 2013 17:32:30 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Txhi1-0003V5-BQ for pgsql-bugs@postgresql.org; Tue, 22 Jan 2013 17:32:29 +0000 Received: from cuda.backbonesystems.ca ([74.221.130.55]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Txhhx-0003Sh-Bi for pgsql-bugs@postgresql.org; Tue, 22 Jan 2013 17:32:27 +0000 X-ASG-Debug-ID: 1358875940-05b17910951b5370001-Z0bQUL Received: from bbhubnlb1.backbone.local ([10.1.154.114]) by cuda.backbonesystems.ca with ESMTP id aMiD1c0aERVhNCw3; Tue, 22 Jan 2013 09:32:20 -0800 (PST) X-Barracuda-Envelope-From: pchan@contigo.com X-Barracuda-RBL-Trusted-Forwarder: 10.1.154.114 Received: from BBMBX.backbone.local ([fe80::c889:3f9d:f6d5:c7d1]) by BBHub002.backbone.local ([::1]) with mapi; Tue, 22 Jan 2013 09:32:20 -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" Date: Tue, 22 Jan 2013 09:32:20 -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: Ac34Qzo3IpTUCyNRRpq91e3DgkYcGgAgV2yS Message-ID: References: , <4542.1358819585@sss.pgh.pa.us> In-Reply-To: <4542.1358819585@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.000 x-tm-as-result: No--34.879500-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.114] X-Barracuda-Start-Time: 1358875940 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.120595 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 Hi Tom, Yes, we start seeing this ERROR after upgrade to 9.1.7. The ERROR is from t= he "cluster jms_messages" command. Last night, the ERROR happened three ti= mes: (1) at 00:20:01 ERROR: missing chunk number 0 for toast value 1239124 in pg_toast_35328 (2) at 00:25:01 ERROR: missing chunk number 0 for toast value 1239124 in pg_toast_35328 (3) at 00:35:01 ERROR: missing chunk number 0 for toast value 1241022 in pg_toast_35328 The "cluster jms_messages" runs every 5 minutes. However, so far, it seems = that the ERROR happens at about mid-night and 35328 is the toast area of th= e "jms_message" table: -[ RECORD 1 ]-+------------- oid | 35328 relname | jms_messages reltoastrelid | 35331 reltoastidxid | 0 Thanks a lot, Pius ________________________________________ From: Tom Lane [tgl@sss.pgh.pa.us] Sent: Monday, January 21, 2013 5:53 PM To: Pius Chan Cc: pgsql-bugs@postgresql.org Subject: Re: [BUGS] BUG #7819: missing chunk number 0 for toast value 12359= 19 in pg_toast_35328 pchan@contigo.com writes: > We just upgraded from PostgreSQL 9.1.3 to 9.1.7 last week. Are you saying this error started to appear just after the upgrade? Or was it there before? > In our database > cluster, one database is used by the Java Message Service (JMS) system. O= ne > table in the database "jms_messages", is inserted, updated and then delet= ed > frequently. For every five minutes, we have a cron job to "cluster > jms_messages; analyze jms_messages". About once per day, we go the above > ERROR and I check that pg_toast_35328 is the toast area of the jms_messag= es > table. Is that error coming from the CLUSTER operations, or other commands? Is it persisting across (successful) CLUSTERs? Is it always the same toast value OID that's being complained of? 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