Re: Performance question

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Performance question
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17DA3923@ntex2010a.host.magwien.gv.at
обсуждение исходный текст
Ответ на Performance question  (Anil Menon <gakmenon@gmail.com>)
Ответы Re: Performance question  (Anil Menon <gakmenon@gmail.com>)
Список pgsql-general
Anil Menon wrote:
> I would like to ask from your experience which would be the best "generic" method for checking if row
> sets of a certain condition exists in a PLPGSQL function.
> 
> I know of 4 methods so far (please feel free to add if I missed out any others)
[...]

Are you aware that all of these methods have a race condition unless
you use isolation level READ STABILITY or better?

It may be that rows are added or removed between the check and the
corresponding action.

Yours,
Laurenz Albe

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

Предыдущее
От: Albe Laurenz
Дата:
Сообщение: Re: pgdump (9.2.4) not dumping all tables
Следующее
От: Steve Pribyl
Дата:
Сообщение: Detecting master/slave