Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it reasonable to have index on DELETED()?
Message
From
10/03/1999 14:46:45
 
 
To
10/03/1999 14:45:19
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00196021
Message ID:
00196023
Views:
36
Andrus ---

If you don't have a lot of deleted records, you won't notice much difference but if you do, having a tag on DELETED() is well worth it. It really does speed things up.


>I'm using a lot of sql selects to select data from big free dbfs.
>Those tables have very few deleted records and where clauses are written so
>that Rushmore finds always a index tag to use.
>SET DELETED is ON always.
>
>Will the performance increase if I add
>
>INDEX ON DELETED()
>
>to those tables? Will select queries run then faster?
>I have read some recommendations to have index on deleted() in each table
>to avoid sequential scanning of the deleted records by select. Is this true?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform