Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a USE command execute my code?
Message
From
31/07/2007 03:10:18
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01244678
Message ID:
01244774
Views:
14
>>No, as long as index is open before APPEND it is updated.
>
>Then what is the speed gain?

There can be a substantial speed gain if you put dbf and cdx on different physical disks.
If you have an index used 95% of all searches and go the non-structural road IAC, switching that special index into a non-compound idx can also give an added speed boost of 10-35%.

>>>It will be used for Optimization (I am not sure about if nonstructural compound index could be used for this, because I never used them).
>>They are, but the chance of leaving one closed while adding records is too dangerous for my liking.
>Agree!

Agree mostly: ***IF*** the app is only using it's own opening functions/methods making sure the correct indices are available is definately possible. You could add more "security" via dbc-events or on app start reindex once - depends on the gains you see. Once I *HAD* sizable gains, so I implemented it. Triple-checked the code, but it was clearly faster.

regards

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform