Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow vfp
Message
From
17/11/2006 09:07:34
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01170532
Message ID:
01170672
Views:
9
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform