home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!usc!sdd.hp.com!uakari.primate.wisc.edu!ames!nsisrv!stars.gsfc.nasa.gov!thompson
- From: thompson@stars.gsfc.nasa.gov (William Thompson, code 682.1, x2040)
- Subject: SQL queries, and the amount of data passed
- Message-ID: <3SEP199218120998@stars.gsfc.nasa.gov>
- News-Software: VAX/VMS VNEWS 1.4-b1
- Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
- Nntp-Posting-Host: stars.gsfc.nasa.gov
- Organization: NASA/GSFC-Laboratory for Astronomy and Solar Physics
- Distribution: usa
- Date: Thu, 3 Sep 1992 22:12:00 GMT
- Lines: 27
-
- I was just talking to someone about the difference between using a database
- manager and a transaction manager. One of the points he made was that when
- using an SQL database manager, and sending SQL commands from a client machine
- to the server machine, a lot more data than what one wants may be sent from the
- server to the client, which then filters the data down to what satisfies the
- request, and returns it to the application.
-
- I'm in the process of trying to select a database product for a project I'm
- working on. The database would catalog information about some scientific data
- that would collected over several years. When querying the database, one
- generally would be looking at some restricted time frame, and I anticipate that
- the file would be indexed chronologically (perhaps along with other properties)
- for faster access.
-
- My anticipation was that when using SELECT or FETCH (and please excuse me if I
- use the wrong terms; I don't know much SQL-speak), and the filter (e.g. WHERE
- clauses, views, whatever) matched the indexing scheme, then the database engine
- would automatically retrieve only the data matching the view. More
- specifically, if I was only interested in the data for November, and the data
- was indexed chronologically, then the server would be able to skip directly to
- the data for November through something like a binary search. I guess it makes
- sense to me that view conditions that don't match the indexing scheme might be
- processed on the client.
-
- Am I thinking of this correctly?
-
- Bill Thompson
-