Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rushmore SQL Optimization
Message
 
À
04/03/2003 22:51:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00761335
Message ID:
00761338
Vues:
33
That cracked it. It in fact did make the query faster, there were more deleted records in the table than I realised.

THanks for your help.


>Probably the query is missing an index on deleted(). If you have SET DELETED ON, the condition "... and not deleted()" is added implicitly.
>
>Adding the index on both tables would make your query full R.O., according to sys(3054). However, it will also make the query slower, at least in many cases. For an explanation why this is so, you may want to read my article about Rushmore, at http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,84,14,8109.
>
>Hilmar.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform