Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can this optimize further?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00818930
Message ID:
00818942
Views:
19
This message has been marked as the solution to the initial question of the thread.
Hi Caroline,

Your query is fully optimized because WHERE clause is optimized ("Using index tag Id to rushmore optimize table address") and JOIN is optimized ("Joining table address and table country using index tag Id").

>Sorry to keep asking almost the same thing - but I think I'm finally understanding.
>
>If I have a view with 2 tables with Address indexed on iCounrty and iID.
>
>SELECT Address.iid, Address.maddress, Address.mstreet, Address.ccity,;
>  Address.ccounty, Address.cpostcode, Address.nssc, Address.llondon,;
>  Country.cname, Address.icountry;
> FROM  ash!address LEFT OUTER JOIN ash!country ;
>   ON  Address.icountry = Country.iid;
> WHERE Address.iid = ?ThisForm.Address
>
>Using index tag Id to rushmore optimize table address
>Rushmore optimization level for table address: full
>Rushmore optimization level for table country: none
>Joining table address and table country using index tag Id
>
>This is reporting the Address table is fully optimised while the Country is not optimised. Could this view be better optimise or is this all I should be aiming to achieve?
>
>Many thanks for any explanations.
>Caroline
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform