Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding Rushmore optimization
Message
De
12/07/2016 09:11:35
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01638260
Message ID:
01638262
Vues:
74
>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

In essence, yes. Press F1 for more about this subject.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform