× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: reorg HUGE file
  • From: "David Morris" <dmorris@xxxxxxxxxxxxx>
  • Date: Tue, 27 Feb 2001 12:43:34 -0700

Joe,

In some cases you can speed up SQL access with some strategic "extra" 
logicals.  For example: If you have a lot of sql that joins to a customer file 
to retrieve customer name you can save a lot of I/O by creating a logical 
by customer number and name.  This allows the name to be retrieved 
directly from the access path.  Another requirement may be a unique logical 
by customer number.  If you create the number/name logical first and then 
number, you save some resources in addition to speeding up your queries.

David Morris

>>> joepluta@plutabrothers.com 02/27/01 11:22AM >>>
Stupid question, I know, but why have L6, L8 or L2 at all?

---------
Noticing that L6 could use the access path of L8, and L8 could use the access
path of L3, and L2 could use the access path of any of the other listed
logicals, does the system recognize this and build L3 before L8, L8 before L6,
and build L2 last?  (What's the term that describes a logical file using the
access path of another?)  Or do key duplicates follow FIFO by default?  How do
I tell?



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.