Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow vfp
Message
De
17/11/2006 09:07:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01170532
Message ID:
01170672
Vues:
10
>Hello guys!!!!
>i have a 1.5 GB table in shared mode. can anybody tell me why in the H*** the first time I run "SET FILTER TO .F. " it takes 5 minutes? should i use somekind of buffering that i don't know?? would it help?
>
>thanks,
>ionut

because VFP scan the whole table to find the first not filtered record.
with .F. VFP cannot use a index (optimize) for the expression.

define a index for the ePK (Primary key )
and
SET FILTER TO ISNULL(ePK)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform