Re: what about uniqueness of inherited primary keys

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: what about uniqueness of inherited primary keys
Дата
Msg-id 017601c3cec6$7d64a460$9e00053d@winxp
обсуждение исходный текст
Ответ на what about uniqueness of inherited primary keys  (Andreas <maps.on@gmx.net>)
Список pgsql-general
Hi all;

The real problem with using the trigger approach is as follows:

Normally the unique constraint is handled by an index (most efficient way),
but doing so using a trigger is more likely to lose this benefit and give
you some performance problems.

IIRC, the problems with inherited keys are, at present, the fact that
inherited indexes pose some problems.  Again, custom triggers would solve
that problem perhaps at a performance cost.

Best Wishes,
Chris Travers


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

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: Is my MySQL Gaining ?
Следующее
От: "B. van Ouwerkerk"
Дата:
Сообщение: Re: Is my MySQL Gaining ?