Re: schema/db design wrt performance

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: schema/db design wrt performance
Дата
Msg-id 20030116110522.F32288@mail.libertyrms.com
обсуждение исходный текст
Ответ на Re: schema/db design wrt performance  (Ron Johnson <ron.l.johnson@cox.net>)
Список pgsql-performance
On Thu, Jan 16, 2003 at 09:50:04AM -0600, Ron Johnson wrote:
>
> Could BEFORE INSERT|UPDATE|DELETE triggers perform the same
> functionality while touching only the desired records, thus
> decreasing conflict?

You can make the constraint DEFERRABLE INITIALY DEFERRED.  It helps
somewhat.  But the potential for deadlock, and the backing up, will
still happen to some degree.  It's a well-known flaw in the FK
system.  I beleive the FK implementation was mostly intended as a
proof of concept.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: schema/db design wrt performance
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.3.1 New install, large queries are slow