Re: Slow trigger on identical DB but different machine

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: elabuschagne(at)agileworks(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Slow trigger on identical DB but different machine
Date: 2006-03-17 14:50:11
Message-ID: 28669.1142607011@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Etienne Labuschagne <elabuschagne(at)agileworks(dot)net> writes:
> The strange thing is that both databases are EXACTLY the same with
> EXACTLY the same SQL query executed (I restore both DBs from the same
> backup file to ensure that everything is the same - data and objects).

Have you vacuumed and analyzed in both DBs? This sounds like either out-
of-date stats or different configuration settings in the two.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-03-17 14:56:32 Re: after insert trigger hangs
Previous Message TJ O'Donnell 2006-03-17 14:35:35 efficiency of group by 1 order by 1