Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recycling Registers
Message
From
10/08/2005 19:21:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01039843
Message ID:
01040045
Views:
24
>Hi Hilmar !
>
>I posted the message in the wrong forum, excuse me
>
>If I don't use recycling of my registers the file will probably be very big maybe with hundreds of thousands of registrations that I suppose myself will bring problems.

To avoid that, you can give the PACK command once a month. This command will eliminate all deleted records.

>When you suggest INDEX ON (DELETED() AND .T.) would not it be the same thing that not to have the index?

The difference is the following. With such an index, you can still quickly locate deleted records:
set order to ...
seek .T.
but the index will not automatically be used in Rushmore Optimization.

However, I would recommend just to PACK your tables once a month (or once a week, or once a fortnight), since this seems much simpler.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform