Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rushmore optimization
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00654822
Message ID:
00654828
Views:
24
>Hello!
>I have a FoxPro application, that handles large volume of data. The tables have simple indexes defined on its fields. In an attempt to speed up my queries, I modified my indexes to match my queries. I read about Rushmore optimization and altered the indexes so that they obey the Rushmore principles.
> - My indexes look exactly like the query.i.e if my query defines a criteria as 'Alltrim(Upper(fieldname))', I have an index defined as alltrim(upper(fieldname)). I did this because I read that the optimization will be turned off, if the indexes are altered.
>
> - I have avoided the use of $,At(),Empty() functions.
>
> - Most tables have 4-7 indexes defined.
>
>After making these changes, my quries take longer. I am trying to find out why this happens. Any help would be much appreciated.
>
>Thanks in advance.
>
>Ria

Don't use ALLTRIM function in indexes.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform