Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding Rushmore optimization
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Understanding Rushmore optimization
Divers
Thread ID:
01638260
Message ID:
01638260
Vues:
118
Hi,

I was testing how Rushmore Optimization would work on the following SQL select:
=SYS(3054,1,"cmemvar")
select top 100 * from ORDERS where REC_ID <> 'D' order by ORDER_NO desc
The result (content of the variable cmemvar) is "Rushmore optimization level for table ORDERS: none."

The table does have an index tag on ORDER_NO but no index tag for REC_ID.

Then I created an index tag for REC_ID.
And the result of the SYS(3054) has changed to:
"Using index tag REC_ID to Rushmore optimize table ORDERS
Rushmore optimization level for table ORDERS: Full"

Does it mean that in order for Rushmore optimization to work EVERY field used in the WHERE and in ORDER has to have an index tag? Otherwise, Rushmore optimization does not work?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform