Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling large data sets for web apps
Message
De
28/07/2001 13:59:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
27/07/2001 16:05:34
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00535271
Message ID:
00536872
Vues:
7
>I re-added the index for the Upper( D40DirNo ) and I got a result of .6
>I re-added the index for the Left( D40Acct,2 ) and I got a result of .6
>I re-added the index for the Upper( D40Audit ) and I got a result of .7
>I re-added the index for the Empty( D40CkNo ) and I got a result of .8
>
>It looks like the last 3 indexes which in this particular select and return
>the majority of the table actually, slow the performance down.

I think the only indices that can either speed up or slow down a query significantly are the ones whose index expression is part of your query expression - including the implicit "DELETED()".

A time difference of 0.1 or 0.2 seconds seems to me to be under the "experimental uncertainty". Either stop worrying about it, or try with a larger data set (or with a repeating loop).

Relevant questions, I think, would be: what is a typical index expression like (if I remember correctly, they can change dynamically, depending on user options)? Do you typically combine conditions with AND?

Please note that a condition like "D40DirNo > 100", if it is combined with another expression, is better NOT Rushmore Optimized, because of the large number of index keys returned.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform