Re: eWeek Poll: Which database is most critical to your - Mailing list pgsql-hackers

From Neil Conway
Subject Re: eWeek Poll: Which database is most critical to your
Date
Msg-id 1014849299.2503.27.camel@jiro
Whole thread Raw
In response to Re: eWeek Poll: Which database is most critical to your  ("Henshall, Stuart - WCP" <SHenshall@westcountrypublications.co.uk>)
List pgsql-hackers
On Wed, 2002-02-27 at 10:51, Henshall, Stuart - WCP wrote:
> If I understand correctly you'll be taking matching the on the original 
> query string, then pulling out the previous plan, rather than doing all 
> the planning again? Or where you thinking of storing the resultant tuples 
> (seems far more diffcult to do effciently)?

Well, those are really two different features. The second (caching
entire result sets based upon the _exact_ query string) is implemented
by MySQL, and is probably the more exotic feature of the two. There is
some debate about whether this is even worthwhile, or just results in
better benchmark results...

As Tom points out, the first feature (caching query plans) is probably
better implemented by allowing application developers to prepare queries
and specify their own parameters. This is a fairly conventional RDBMS
feature and it is already on the TODO list.

> Either way would be handy for me though as I have a number of clients who 
> all basically ask the same query and then ask it again every few minutes 
> to update themselves. Therefore this sounds like something that would 
> improve performance for me.

Good to know...

Cheers,

Neil

-- 
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC



pgsql-hackers by date:

Previous
From: mlw
Date:
Subject: Re: Oracle vs PostgreSQL in real life
Next
From: Greg Copeland
Date:
Subject: Re: single task postgresql