Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seek or locate ?
Message
De
06/06/2001 09:58:29
Walter Meester
HoogkarspelPays-Bas
 
 
À
06/06/2001 09:19:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00514305
Message ID:
00515734
Vues:
14
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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform