Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining indexes actually being used in an App.
Message
From
17/01/2002 06:50:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
17/01/2002 00:52:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00605937
Message ID:
00605997
Views:
12
>I have used the Rapid Application Technique of creating and index for every field in my entire database. Now that the application has been created and is being used I need to optimize for performance starting with eliminating unused indexes. Is there an easy way to figure out what indexes in my application are being used? I have everything in a project.

You would have to parse your project for ORDER (SET ORDER TO IndexKey, USE MyTable ORDER IndexKey).

You may want to retain some indices for optimization - but by no means all (see FAQ#8109).
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