From: Josh Berkus <josh@agliodbs.com>
To: Tomasz Myrta <jasiek@klaster.net>
Cc: PgSQL Performance ML <pgsql-performance@postgresql.org>
Subject: Re: complicated queries in pl/pgsql
Date: Tue, 14 Jan 2003 12:36:15 -0800
Message-ID: <200301141236.15915.josh@agliodbs.com> (raw)
In-Reply-To: <3E25B29C.9040408@klaster.net>
References: <3E23EC83.9060802@klaster.net>
<200301131044.50424.josh@agliodbs.com>
<3E25B29C.9040408@klaster.net>
Tomasz,
> Thanks a lot.
> I'm asking, because I use some queries which are easy to change into
> views. Most of their execution time takes planning, they use 5-10
> explicit table joins with not too many rows in these tables and returns
> few values.
You might want to investigate the new "prepared query" functionality in 7.3.1.
I haven't used it yet, so I can't help much.
--
-Josh Berkus
Aglio Database Solutions
San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com, jasiek@klaster.net
Subject: Re: complicated queries in pl/pgsql
In-Reply-To: <200301141236.15915.josh@agliodbs.com>
References: <3E23EC83.9060802@klaster.net> <200301131044.50424.josh@agliodbs.com> <3E25B29C.9040408@klaster.net> <200301141236.15915.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox