Re: stored procedures and dynamic queries - Mailing list pgsql-general

From Ivan Sergio Borgonovo
Subject Re: stored procedures and dynamic queries
Date
Msg-id 20071204114722.7f291546@webthatworks.it
Whole thread Raw
In response to Re: stored procedures and dynamic queries  (Richard Huxton <dev@archonet.com>)
Responses Re: stored procedures and dynamic queries
List pgsql-general
On Tue, 04 Dec 2007 08:14:56 +0000
Richard Huxton <dev@archonet.com> wrote:

> Unless it's an obvious decision (millions of small identical
> queries vs. occasional large complex ones) then you'll have to
> test. That's going to be true of any decision like this on any
> system.

:(

I'm trying to grasp a general idea from the view point of a developer
rather than a sysadmin. At this moment I'm not interested in
optimisation, I'm interested in understanding the trade off of
certain decisions in the face of a cleaner interface.

Most of the documents available are from a sysadmin point of view.
That makes me think that unless I write terrible SQL it won't make a
big difference and the first place I'll have to look at if the
application need to run faster is pg config.

This part (for posterity) looks as the most interesting for
developers:
http://www.gtsm.com/oscon2003/toc.html
Starting from Functions

Still I can't understand some things, I'll come back.

thanks for the right pointers.

--
Ivan Sergio Borgonovo
http://www.webthatworks.it


pgsql-general by date:

Previous
From: "Christian Rengstl"
Date:
Subject: Fwd: Re: Archiving problem on Windows
Next
From: "A. Kretschmer"
Date:
Subject: Re: Fwd: Re: Archiving problem on Windows