× 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.



Crispin,

Slight correction, chain is faster only if the key being searched for
doesn't exist AND the key is greater than anything else in the file.

Otherwise SETLL is faster.

Charles


On Tue, Jun 15, 2010 at 2:03 PM, Crispin Bates <cbates@xxxxxxxxxxx> wrote:
Is CHAIN always faster? If the large majority of the data access is failing
(the records are not found), then CHAIN is going to be quicker, because
SETLL has to position the file pointer to EOF, and with 20 Million Records,
that might slow things down slightly.

At least that's what Barbara Morris seemed to think here -
http://forums.systeminetwork.com/isnetforums/showthread.php?t=49800

Not sure if that's what is happening in this case, or if there is anything
OP can do, as the file seems to grow and then get smaller, based on the
description...

----- Original Message -----
From: "Charles Wilt" <charles.wilt@xxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Tuesday, June 15, 2010 1:42 PM
Subject: Re: System slow-down - disk usage?


SETLL does keyed access, and is faster than a chain if all you want to
know is does the record exist.

Charles



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.