Re: Performance question

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

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

Предыдущее
От: Jean-Christian Imbeault
Дата:
Сообщение: Re: Performance question
Следующее
От: Jean-Christian Imbeault
Дата:
Сообщение: Re: Performance question