Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rushmore with Index Set
Message
From
20/07/1999 04:44:31
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00243464
Message ID:
00243467
Views:
26
>First off, I'm new, perhaps the answer is already out there, sorry if it is... please point me in the right direction and kick gently. :)
>
>Anyway, I wrote a program a while back that opened a table and did a completely Rushmore optimized search over a network. The table had about 10 million records in it. The code was using SET ORDER TO early on (for display) and then later called a fully Rushmore optimized SQL statement. This SQL statement took FOREVER (like an hour). I thought that was strange, and after some investigation found that it was searching the records sequentially and hauling all the data over the network.
>
>I found that if I did a SET ORDER TO by itself so no index order was set it worked in less than half a second (obviously "Rushmore optimized") but if I used SET ORDER TO [Tag] to set an index order first it did a sequential search.
>
>I've never seen anything anywhere that says Rushmore only works without an index set. Without doing a search over the network using millions of records I never would have noticed it (it worked fine on my development PC with a local table).
>
>Anyone know of where this might be documented, and why it's that way?
>
>Thanks.

An extract from the Help file, topic 'Rushmore Technology'.

Rushmore can use any open indexes except for filtered and UNIQUE indexes.

Note For optimal performance, don’t set the order of the table
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Reply
Map
View

Click here to load this message in the networking platform