Re: Trigger performance

From: Jan Wieck <janwieck(at)yahoo(dot)com>
To: Peter Dimov <jquest_j(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Trigger performance
Date: 2002-05-13 13:37:53
Message-ID: 200205131337.g4DDbrs01863@saturn.janwieck.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Dimov wrote:
>
> Hi all,
>
> I will to find any info about the trigger performance in postgresql.
>
> I testet a little example and wrote a trigger in plpgsql, but it is very slow.
>
> Will be better to write triggers in "C"?
>
>
>
> any info will be great.

You're absolutely right, any info will be great. With the
info you gave us above, it's impossible to tell why it's
slow. Would you mind to tell us a few more details?

Structures of tables involved, number of rows in them,
indexes on them, the trigger code ...

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2002-05-13 14:24:25 Re: Use of OIDS as primary keys
Previous Message Vincent Stoessel 2002-05-13 13:33:38 if exists?