Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it reasonable to have index on DELETED()?
Message
From
21/03/1999 14:46:27
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00196021
Message ID:
00200309
Views:
16
Bruce,

>That is, no matter how many deleted recs are in a table, is there ever a benefit in the deleted index if you:

>1) Always use NOFILTER
>2) Never use SET DELETED OFF

I think (and again this is only theory) the optimizer will use the DELETED tag when whenever SET DELETED = ON. To check for any gains of speed use we can use the example of David and delete (randomly) about 50% of the records and run the tests again.

I'll predict that the the time to complete this test with a tag on DELETED() would be between 60 - 70% of the time to run it without a tag on deleted.


Regards,

Walter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform