From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Boes <jboes@nexcerpt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Are WALs affected by 'duplicate key' errors?
Date: Fri, 16 Nov 2001 14:51:31 -0500
Message-ID: <9386.1005940291@sss.pgh.pa.us> (raw)
In-Reply-To: <9t3fpr$2o5a$1@news.tht.net>
References: <9t3fpr$2o5a$1@news.tht.net>
"Jeff Boes" <jboes@nexcerpt.com> 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
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, jboes@nexcerpt.com
Subject: Re: Are WALs affected by 'duplicate key' errors?
In-Reply-To: <9386.1005940291@sss.pgh.pa.us>
References: <9t3fpr$2o5a$1@news.tht.net> <9386.1005940291@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