Skip site navigation (1) Skip section navigation (2)

Triggers or code?

From: DM <dm(dot)aeqa(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Triggers or code?
Date: 2010-08-23 18:42:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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

thanks for your time.

- Deepak


pgsql-performance by date

Next:From: =?iso-8859-1?B?QW5kcukgRmVybmFuZGVz?=Date: 2010-08-23 19:13:51
Subject: Re: Triggers or code?
Previous:From: Scott MarloweDate: 2010-08-23 16:20:34
Subject: Re: Inefficient query plan

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group