Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAGJpbm40971 for ; Fri, 16 Nov 2001 14:51:38 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id fAGJpWc09389; Fri, 16 Nov 2001 14:51:32 -0500 (EST) To: "Jeff Boes" cc: pgsql-admin@postgresql.org Subject: Re: Are WALs affected by 'duplicate key' errors? In-reply-to: <9t3fpr$2o5a$1@news.tht.net> References: <9t3fpr$2o5a$1@news.tht.net> Comments: In-reply-to "Jeff Boes" message dated "Fri, 16 Nov 2001 11:46:24 -0500" Date: Fri, 16 Nov 2001 14:51:31 -0500 Message-ID: <9386.1005940291@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200111/83 X-Sequence-Number: 2608 "Jeff Boes" writes: > We have an application that attempts many insertions into a table, > detecting the prior existance of the row by whether we get a 'duplicate > key in unique index' error. When this application is running as multiple > copies and really cranking, we get 130K or more of these in a day. Are > these filling up (and possibly messing up) our WALs? Shouldn't be a problem. > We have experienced a few shared-memory corruption errors, and a > full-blown corruption (although of a different table). The last couple of reports we got like that turned out to be hardware problems (bad RAM, flaky disk controller, that sort of thing). It wouldn't be a waste of time to run some hardware diagnostics. I have been thinking about your report of trouble with the 7.1.2 to 7.1.3 upgrade, and I have to confess bafflement. There shouldn't be any compatibility issue there AFAICS. Are you sure there wasn't anything else that changed at the same time? regards, tom lane