Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek or locate ?
Message
From
06/06/2001 09:58:29
Walter Meester
HoogkarspelNetherlands
 
 
To
06/06/2001 09:19:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514305
Message ID:
00515734
Views:
13
Hi Doug,

>I think the 'trick' here that gives the improvement in speed is the business of not pulling the whole index over the wire.

I doubt... Both with rushmore (SCAN FOR) and the SEEK(), SCAN WHILE approach only the neccesary indexnodes are pulled from the network.

IMO, The performance difference lies in the rushmore mechanism. Rushmore has to determine if there are usefull indexes and if so, use them for optimization. This whole optimization process takes precious time. With the SET ORDER TO, SEEK and SCAN while you decide what the best strategy is to reach optmimum performance, bypassing any optimizing routines.

Another difference between rushmore and the SEEK, SCAN WHILE process is that rushmore downloads all matching nodes at forehand (taking memory). With the SCAN WHILE approuch the indexnodes are downloaded one by one (taking less memory). When scanning trough very large resultsets, rushmore could be a real problem as the workstation might run out of memory and starts paging.

Regards,
Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform