Re: Explaining functions.

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: "Hartman, Matthew" <Matthew(dot)Hartman(at)krcc(dot)on(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Explaining functions.
Date: 2009-06-27 04:38:10
Message-ID: alpine.GSO.2.01.0906270034270.29185@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 23 Jun 2009, Hartman, Matthew wrote:

> Is there a recommended approach when trying to use EXPLAIN on a
> function? Specifically, a function that is more than the typical SELECT
> statement or tiny loop. The one in question that I'm hoping to optimize
> is around 250 lines.

Take a look at
http://www.justatheory.com/computers/databases/postgresql/benchmarking_functions.html
which can help you run stuff multiple times even.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-06-27 05:53:15 Re: horizontal sharding
Previous Message mobiledreamers 2009-06-27 01:50:40 Re: horizontal sharding