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

Re: Trigger performance

From: pginfo <pginfo(at)t1(dot)unisoftbg(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Trigger performance
Date: 2004-01-22 16:05:35
Message-ID: 400FF4CF.EF44E795@t1.unisoftbg.com (view raw or flat)
Thread:
Lists: pgsql-performance
Ok, thanks.
I will do it.

regards,
ivan.

Tom Lane wrote:

> pginfo <pginfo(at)t1(dot)unisoftbg(dot)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




In response to

pgsql-performance by date

Next:From: Tom LaneDate: 2004-01-22 17:10:56
Subject: Re: Trigger performance
Previous:From: Tom LaneDate: 2004-01-22 15:37:54
Subject: Re: Trigger performance

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