Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it reasonable to have index on DELETED()?
Message
From
14/03/1999 14:54:35
 
 
To
10/03/1999 21:59:39
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00196021
Message ID:
00197406
Views:
26
Chaim,

If there is a large table with few deleted records, why you create
index on deleted()?
As you said, this will not increase perfomance, but instead of this,
perfomance will DECREASE during updates since a garbage index
need to be updated also.
So it is not reasonable to create index on deleted() !


>Hi Andrus,
> It is true, if you use SET DELETED ON, you need an index on DELETED(); otherwise, VFP must scan the entire table to determine which records are deleted. However, if the table has just a few records, then you don't need an index. For any table over 1000 rcords or so, I would create the index.
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform