Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pondering Rushmore & My Table...
Message
From
20/12/2000 17:52:01
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
20/12/2000 10:14:42
Chris Laffoon
Florists' Interlink, Inc.
Paragould, Arkansas, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00455421
Message ID:
00455672
Views:
33
Chris,

What are the expressions in the WHERE clauses of your queries? If you had something like
WHERE MyTable.Customer = MyCustomer AND ;
MyTable.OrderDate BETWEEN DStartDate AND dEndDate AND ;
MyTable.OrderItem = MyItem ...
you would want indexes on Customer, OrderDate, and OrderItem.



>I have a table of "Work Orders" containing about 30,000 records. Most of the work orders are 'complete', so I have a logical field indicating True or False on completion. For example, I may have 62 orders in use, and 29938 orders completed.
>
>My selects (over a 10baseT network) are somewhat slow and causing heavy network traffic (around 7 seconds to query the table for uncompleted orders).
>
>There was an article in FoxPro Advisor discussing Rushmore optimization, and I think it indicated that an index on a logical field with such a lopsided distribution would cause a substantial amount of the index to be loaded across the network to the client machine.
>
>Is there a 'proper' way to speed up these queries?
>
>Thanks,
>Chris
Previous
Reply
Map
View

Click here to load this message in the networking platform