Re: Dead lock

Поиск
Список
Период
Сортировка
От Tom Molesworth
Тема Re: Dead lock
Дата
Msg-id 4C162680.8090502@audioboundary.com
обсуждение исходный текст
Ответ на Dead lock  (Elias Ghanem <e.ghanem@acteos.com>)
Список pgsql-performance
On 14/06/10 12:50, Elias Ghanem wrote:
>         SELECT INTO DUMMY DBLINK_EXEC(''CONNECTION_STRING TO DB3',
> ''UPDATE IN_FICHE_PRODUIT SET VALIDE = 1'');

If there's more than one value in that table, an explicit ORDER BY might
help (otherwise you could get the situation where query A will update in
the order 1,2,3 and query B will do 3,2,1 so neither will be able to get
the requested locks until the other query has finished).

Tom


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

Предыдущее
От: Elias Ghanem
Дата:
Сообщение: Dead lock
Следующее
От: Andy Colson
Дата:
Сообщение: Re: query tuning help