Re: Performance question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Performance question
Date: 2003-07-02 06:51:28
Message-ID: 25277.1057128688@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp> writes:
> I wasn't looking for safety so much as avoiding the insert if possible.
> ...
> The above would reduce (but not eliminate) the number attempts to insert
> duplicates and as such reduce the number of log error entries.

Fair enough, it would do that. But you still need the surrounding retry
logic to cope when a collision does happen.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message S.Peppe 2003-07-02 06:56:22 Re: ERROR: Relation "pg_user" does not exist
Previous Message Ross Johnson 2003-07-02 06:47:57 Exporting large objects in 7.0.2