Re: Explaining functions. - Mailing list pgsql-general

From Greg Smith
Subject Re: Explaining functions.
Date
Msg-id alpine.GSO.2.01.0906270034270.29185@westnet.com
Whole thread Raw
In response to Explaining functions.  ("Hartman, Matthew" <Matthew.Hartman@krcc.on.ca>)
List 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@gregsmith.com http://www.gregsmith.com Baltimore, MD

pgsql-general by date:

Previous
From: mobiledreamers@gmail.com
Date:
Subject: Re: horizontal sharding
Next
From: Scott Marlowe
Date:
Subject: Re: horizontal sharding