Re: Executing more than one function.

From: Giuseppe Sacco <giuseppe(at)eppesuigoccas(dot)homedns(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Executing more than one function.
Date: 2011-08-23 16:42:29
Message-ID: 1314117755.27636.3.camel@scarafaggio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Il giorno mar, 23/08/2011 alle 16.30 +0100, f vf ha scritto:
[...]

> it takes more time than if I execute one function at the time and sum
> the execution times of each one:
>
>
> BEGIN;
> SELECT functionX();
> COMMIT;
>
You should probably accout a time for the COMMIT operation. In one case
you commit only once, while in other case you commit three times.

Bye,
Giuseppe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ray Stell 2011-08-23 17:19:59 Re: Wal archiving and streaming replication
Previous Message f vf 2011-08-23 15:30:06 Executing more than one function.