Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter very slow
Message
De
28/08/1997 14:33:54
 
 
À
28/08/1997 14:25:55
Paul Wei
Fib, State of Michigan
Lansing, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00044161
Message ID:
00047401
Vues:
23
>>Hi Andreas!
>>
>>Did you have an index on Deleted() expression too? It seems like your
>>filter is partially optimized...
>>
>>Have a happy day
>>Vladimir Shevchenko
>>
>Can you explain why an index on Deleted() is important for optimization?
>Is the effect of not having a index on Deleted() about the same as not having
>a index on another field which is part of the filter? Thanks!
>
>Paul Wei

Hi Paul,
Because in a SQL SELECT Foxpro must check the result set for deleted records to weed them out ( if so desired ). The speed of this is enhanced with an index like filtering on any other field with an index.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform