Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INDEX TAG on DELETED() ......... HUMBUG
Message
From
16/03/1999 12:34:57
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00198031
Message ID:
00198190
Views:
19
Markus,

>the fact of the matter is that Rushmore only works if there are indexes on all the expressions involved in a query. If SET DELETED is ON, the expression "AND NOT DELETED()" is internally added to every query you run (simplistically spoken).

>This means that no matter how well you create your query, you will never be able to take advantage of Rushmore since it's simply turned off (even if there isn't a single deleted record involved in the entire operation).

With all do respect, i don't think you understand the working of rushmore. If only 1 part of your expression is optimizable (combined with AND) rushmore will optimize this. I strongly suggest reading 'Optimizing Rushmore Expressions' chapter 15 (in the developersguide of VFP 5.0)

Your misunderstanding of rushmore is exactly the reason i wrote this message. An expression does not have to fully optimizable which don't have to mean that it would be slower than a fully optimizable expression

OIW the deleted tag is NOT required to take advantage of Rushmore. In fact the deleted tag may be much of a burden in a lot of cases.

regargs,

Walter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform