From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Ansley, Michael <Michael.Ansley@intec.co.za>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgreSQL.org>
Subject: Re: Good Optimization
Date: Fri, 9 Jul 1999 12:45:43 -0400 (EDT)
Message-ID: <199907091645.MAA01183@candle.pha.pa.us> (raw)
In-Reply-To: <1BF7C7482189D211B03F00805F8527F70ED013@S-NATH-EXCH2>
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi, Bruce,
>
> I've only just picked up the thread on optimizations (I get the digest for
> the pgsql-sql list). I really feel that a lot of effort could be saved with
> some good benefits if a stored proc mechanism is put into place. Once that
> has been done, it can be used to store temporary plans (procedures) for
> ad-hoc queries which are released on the termination of the connection.
> However, I think that a lot of users will develop stored procs to replace a
> lot of their existing common SQL, in order to (partially) optimize their
> systems. Perhaps in the PREPARE statement we could add a facility to allow
> the user to specify the TTL of the cached proc for an ad-hoc query.
>
> When I talk about stored procs, I don't mean functions. We already have
> those. I mean procedures that are able to return a rowset. Just to make
> sure nobody gets the wrong idea.
Not sure why our functions can't return tuples.
> Also, has anything happened about the idea to get PG to cluster (somebody
> mentioned Beowulf)?
No one has mentioned this.
--
Bruce Momjian | http://www.op.net/~candle
maillist@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
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-sql@postgresql.org
Cc: maillist@candle.pha.pa.us, Michael.Ansley@intec.co.za
Subject: Re: Good Optimization
In-Reply-To: <199907091645.MAA01183@candle.pha.pa.us>
References: <1BF7C7482189D211B03F00805F8527F70ED013@S-NATH-EXCH2> <199907091645.MAA01183@candle.pha.pa.us>
* 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