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

Re: Slow update with simple query

From: Arnaud Lesauvage <thewild(at)freesurf(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ragnar <gnari(at)hive(dot)is>, Jens Schipkowski <jens(dot)schipkowski(at)apus(dot)co(dot)at>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Slow update with simple query
Date: 2006-12-14 15:23:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Tom Lane a écrit :
> Arnaud Lesauvage <thewild(at)freesurf(dot)fr> writes:
>> I must be missing something, so here is the full table description.
> It looks pretty harmless, except for
>> CREATE TRIGGER parse_log_trigger
>>     ON statistiques.log
>>     EXECUTE PROCEDURE statistiques.parse_log_trigger();
> It seems the time must be going into this trigger function.  What
> does it do?

A lot of things ! Indeed, if it runs it will very badly hurt performances (table 
lookups, string manipulation, etc...) !
But it should only be tringered on INSERTs, and I am doing an UPDATE !

I can post the function's body if you want.


In response to


pgsql-performance by date

Next:From: Greg SmithDate: 2006-12-14 15:24:12
Subject: Re: New to PostgreSQL, performance considerations
Previous:From: Tom LaneDate: 2006-12-14 15:18:14
Subject: Re: Slow update with simple query

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