Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filter very slow
Message
From
12/08/1997 23:53:39
 
 
To
12/08/1997 21:34:48
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00044161
Message ID:
00044394
Views:
32
You are somehow right. Ie: you're right about the results. This is exactly what I explained last week about scaning with or without an index.

But the cause is not (or, at least, I don't believe it is :)) the filter optimized by Rushmore combined with the order. During the Rushmore optimization, FoxPro builds a bit array BEFORE starting to scan the table. After that, during the scan, FoxPro checks each record against this array. (BTW, this is why some modifs may be not seen by FoxPro during a scan when SET OPTIMIZE is on.)

I believe the data caching is responsible for this effect.

Maybe you're right and I am wrong! :) Does anyone know something for sure? :)

Vlad

>What I mean is that since Rushmore uses the available indexes to determine which record to go to next, a filter on one field with an active index on another field makes the system have to parse thru two indexes at the same time, which in my experience greatly slows down the searches.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform