From: Iklódi Lajos <il@mithrandir.hu>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Update in trigger
Date: Wed, 03 Apr 2002 05:38:42 +0200
Message-ID: <3CAA7942.592D079B@mithrandir.hu> (raw)
Hi,
I have a problem with trigger in 7.1.3.
I have a table with after insert trigger, which is making updates in
another table.
I recognized that the more records I have in first table the slower is
my insert.
If my trigger is doing something else, for example inserts in another
table, it becomes * 20 times * quicker, and the speed of my insert
doesn't depend on tablesize.
Don't I have to make updates in trigger?
Thanks in advance for any help.
Lajos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: il@mithrandir.hu
Subject: Re: Update in trigger
In-Reply-To: <3CAA7942.592D079B@mithrandir.hu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox