Re: Server error and deadlocks

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Server error and deadlocks
Дата
Msg-id 20030113171438.P62360-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Server error and deadlocks  ("Orr, Steve" <sorr@rightnow.com>)
Ответы Re: Server error and deadlocks  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Server error and deadlocks  (Juan Jose Comellas <juanjo@comellas.com.ar>)
Список pgsql-general
On Mon, 13 Jan 2003, Orr, Steve wrote:

> Finally, there are LOTS of deadlocks and I'm thinking it's because they are
> not doing "SELECT ... FOR UPDATE" or are explictly locking tables. Or they
> are constantly updating the same rows. It seems our duhvelopers need to get

Well, if you're using foreign keys, you might be running into a deficiency
in the foreign key implementation.  If that is it, then currently a
partial workaround may be to make the constraints deferred which lessens
the length of the lock, but doesn't remove the base deadlock possibility.


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

Предыдущее
От: "Orr, Steve"
Дата:
Сообщение: Server error and deadlocks
Следующее
От: Justin Clift
Дата:
Сообщение: Re: PostgreSQL on Windows