Triggers or code?

Поиск
Список
Период
Сортировка
От DM
Тема Triggers or code?
Дата
Msg-id AANLkTingyH4s9ZUa9in0rtFsCOGXhu+dc++kmYt5yNaa@mail.gmail.com
обсуждение исходный текст
Ответы Re: Triggers or code?  (André Fernandes<andre.de.camargo.fernandes@hotmail.com>)
Re: Triggers or code?  (Bob Lunney <bob_lunney@yahoo.com>)
Список pgsql-performance
Hello There,

I have a table x and a history table x_hist, whats the best way to update the history table.

should i need to use triggers or embed a code in my script to update the history table?

what is the performance impact of a trigger versus embedding the code in the script?

thanks for your time.

- Deepak

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Inefficient query plan
Следующее
От: André Fernandes
Дата:
Сообщение: Re: Triggers or code?