Path: news.f.de.plusline.net!news-fra1.dfn.de!news-lei1.dfn.de!newsfeed.freenet.de!newspeer1.nwr.nac.net!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!l53g2000cwa.googlegroups.com!not-for-mail
From: "Marshall" <marshall.spight@gmail.com>
Newsgroups: comp.databases.theory
Subject: Re: Navigation question
Date: 16 Feb 2007 17:19:37 -0800
Organization: http://groups.google.com
Lines: 23
Message-ID: <1171675177.787224.208430@l53g2000cwa.googlegroups.com>
References: <1171467823.631582.265790@a34g2000cwb.googlegroups.com>
   <1171482473.986915.63260@h3g2000cwc.googlegroups.com>
   <1171483852.179018.201490@q2g2000cwa.googlegroups.com>
   <1171488737.674751.229540@a34g2000cwb.googlegroups.com>
   <1171490361.439768.250990@m58g2000cwm.googlegroups.com>
   <1171498523.412371.66310@h3g2000cwc.googlegroups.com>
   <1171500434.672576.85780@s48g2000cws.googlegroups.com>
   <1171502648.747512.234260@l53g2000cwa.googlegroups.com>
   <1171549074.486023.59460@v33g2000cwv.googlegroups.com>
   <1171563815.762999.148990@a75g2000cwd.googlegroups.com>
   <1171569404.983866.11200@h3g2000cwc.googlegroups.com>
   <1171648378.363589.27160@j27g2000cwj.googlegroups.com>
   <1171656493.141946.111210@q2g2000cwa.googlegroups.com>
   <1171667072.749803.318640@l53g2000cwa.googlegroups.com>
NNTP-Posting-Host: 24.7.54.2
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1171675183 15683 127.0.0.1 (17 Feb 2007 01:19:43 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 17 Feb 2007 01:19:43 +0000 (UTC)
In-Reply-To: <1171667072.749803.318640@l53g2000cwa.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: l53g2000cwa.googlegroups.com; posting-host=24.7.54.2;
   posting-account=s2xCFw0AAAD2mIwYYHAqjdsecwG0axmW
Xref: news.f.de.plusline.net comp.databases.theory:42219

On Feb 16, 3:04 pm, "Tony D" <tonyisyour...@netscape.net> wrote:
> On Feb 16, 8:08 pm, "dawn" <dawnwolth...@gmail.com> wrote:
>
> > I think Marshall is telling me that both of his queries could
> > together go to the DBMS at the same time and the DBMS might execute
> > them together in some different order.
>
> That would be quite an optimisation, and I don't know of a DBMS that
> does that. References, anyone ?

'Tis a theory newsgroup. It's enough that the optimization I describe
be implementable; it doesn't need to be actually implemented.

I wrote an ODBC driver circa 1995 that would do API coalescing
and reordering to minimize network roundtrips. It couldn't do the
optimization specifically on those two queries; ODBC provides
few opportunities for such reordering. However one could imagine,
say, an asynchronous JDBC tag library that would permit this
optimization.


Marshall

