Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Back to the DELETED Index question in AccPac
Message
From
11/02/2004 15:35:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Back to the DELETED Index question in AccPac
Miscellaneous
Thread ID:
00876423
Message ID:
00876423
Views:
56
Greetings,

A few weeks ago there was a thread concerning the harm or value of creating an index on DELETED(). I was very interested in this because AccPac Pro Series puts a deleted() index on every single table in the system. The overall concensus was that this would be a performance penalty and that I should be able to remove the deleted() indexes altogether.

This week I started looking into that and have found another wrinkle. 90% of the queries in AccPac Pro Series include .NOT. DELETED() in them. In other words AccPac does not set deleted on, they omit deleted records in each query specifically. So now I wonder if I remove the deleted index will I not have a performance penalty on the large tables because the query will no longer be optimizable. Obviously there is no way I can go through all the source code and change all the queries so is the best thing to just leave the deleted() indexes in place?

Greg
Next
Reply
Map
View

Click here to load this message in the networking platform