Re: Trigger performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trigger performance
Дата
Msg-id 12833.1074791456@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Trigger performance  (pginfo <pginfo@t1.unisoftbg.com>)
Список pgsql-performance
pginfo <pginfo@t1.unisoftbg.com> writes:
> In wich case will this trigger work faster if write it in "C"?

Given that the dominant part of the time will be spent down inside SPI
in either case, I doubt you will be able to see much difference.  You
need to think about how to optimize the invoked query, not waste your
time recoding the wrapper around it.

            regards, tom lane

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

Предыдущее
От: pginfo
Дата:
Сообщение: Re: Trigger performance
Следующее
От: pginfo
Дата:
Сообщение: Re: Trigger performance