Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any ideas on speeding up this query
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01284133
Message ID:
01284178
Views:
21
>Trying you suggestion Naomi, reveals the following sys(3054,11)
>
>
>Rushmore optimization level for table ordsize: none
>Rushmore optimization level for table ordprod: none
>Using index tag Sbo to rushmore optimize table ordhead
>Rushmore optimization level for table ordhead: partial
>Joining table ordprod and table ordhead using index tag Orderid
>Joining intermediate result and table ordsize using index tag Orderprodi
>Rushmore optimization level for table ordsize: none
>Rushmore optimization level for table ordprod: none
>Using index tag Sbo to rushmore optimize table ordhead
>Rushmore optimization level for table ordhead: partial
>Joining table ordprod and table ordhead using index tag Orderid
>Joining intermediate result and table ordsize using index tag Orderprodi
>
>
>IS this a better result than previous one. Also, why would this be better, besides the removal of the cartesian product of the original one.
>
>Thnaks,
>Mike

Yes, it seems better. You eliminated the cartesian product. You have partial optimization since you're running with SET DELETED ON obviously.

You may also try Borislav's idea.

Finally, try for now removing OrdHead at all from your query.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform