Re: Performance question

Поиск
Список
Период
Сортировка
От Jean-Christian Imbeault
Тема Re: Performance question
Дата
Msg-id 3F028499.4000102@mega-bucks.co.jp
обсуждение исходный текст
Ответ на Performance question  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: Harry Yau
Дата:
Сообщение: Which Schema I am working on??
Следующее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: Duplicate key insert question