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

Re: Slow PL/pgSQL 8.0.RC5 (7.4.6. 3times faster)

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>,pgsql-hackers(at)postgresql(dot)org
Subject: Re: Slow PL/pgSQL 8.0.RC5 (7.4.6. 3times faster)
Date: 2005-01-14 01:25:13
Message-ID: 20050114012513.GA75318@winnie.fuhr.org (view raw or flat)
Thread:
Lists: pgsql-hackers
On Thu, Jan 13, 2005 at 06:25:10PM -0500, Tom Lane wrote:
> Michael Fuhr <mike(at)fuhr(dot)org> writes:
> 
> > 6741 ms   7.4.6 (from FreeBSD ports collection)
> > 14427 ms  8.0.0rc5 (from CVS source)
> 
> When I add IMMUTABLE to the function definition, I get much closer
> times.

Indeed -- adding IMMUTABLE brought me down to 6859 ms.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2005-01-14 01:27:21
Subject: Re: Bug? 8.0 does not use partial index
Previous:From: Palle GirgensohnDate: 2005-01-14 01:24:31
Subject: Re: Bug? 8.0 does not use partial index

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