Choosing Between PL/PGSQL or C/C++ for Triggers/Store Procs

Поиск
Список
Период
Сортировка
От Clay Luther
Тема Choosing Between PL/PGSQL or C/C++ for Triggers/Store Procs
Дата
Msg-id 1055444084.5335.4.camel@gkar
обсуждение исходный текст
Ответы Re: Choosing Between PL/PGSQL or C/C++ for Triggers/Store  (Dmitry Tkach <dmitry@openratings.com>)
Re: Choosing Between PL/PGSQL or C/C++ for Triggers/Store  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-general
For a very complex database in which we plan to implement database rules via triggers, I need some information on which language, PL/PGSQL or C/C++ provides the most "bang for the buck" with respect to performance. One initially presumes the C/C+ stored procs/triggers will be faster, but after reading some posts on the list about the Query Planner and PL/PGSQL, I was wondering if using PL/PGSQL might not be better.

1) Is there a clear-cut choice when performance is the issue?
2) Is there a fuzzy choice at work here?  Perhaps PL/PGSQL for simple, obvious stored proces/triggers, but C/C++ for complexity?

Thanks.

-- 
Clay
claycle@cisco.com

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

Предыдущее
От: Ericson Smith
Дата:
Сообщение: Re: LAST_INSERT_ID equivalent
Следующее
От: Erik Price
Дата:
Сообщение: Re: LAST_INSERT_ID equivalent