Re: Performance question

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

Tom Lane wrote:
>
> Well, if that's how your application logic works then you're done.

Great! It's not _my_ application logic, someone else's. I'm trying to
find a way to make it more postgres friendly and generate less error
messages.

The application was first written for MySQL and the business _logic_
seems to have been to just throw inserts at the database and if they
failed it must be because the record was already there so no need to
worry about it.

Pretty loose logic but then again the app can be *very* write intensive
and the extra cycles needed to check whether something is already in
the DB or not before inserting seems to be a real concern for the
application developers.

Jean-Christian Imbeault

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2003-07-02 07:13:49 Re: Duplicate key insert question
Previous Message Harry Yau 2003-07-02 07:06:01 Which Schema I am working on??