Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query , Faster, How ?
Message
From
29/01/2001 09:19:04
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00469604
Message ID:
00469660
Views:
13
>>Read articles on Rushmore optimization in help file.
>>
>>sys(3054) shows optimization level for filters in the WHERE contdition only. Join condition does use optimization, but never reported by sys(3054) function in VFP6.0 (in VFP7.0 it does reports).
>>
>
>Vlad,
>Are you sure about that? I've used sys(3054,11) to display JOIN optimzation levels and VFP 6 does report what indexes are being used.

SYS(3054,11) can display 'Full' optimization even when join conditions are not optimized. I just tested this. Create two tables with join fields that are not indexed. make a Select statement with such join fields and filter statement by some other field that is indexed. Don;t forget to add 'deleted()' tags or set deleted off. Aftere select both tables optimized as 'full'. But join condition is not optimized, I get though message 'Joining table aaa and table bbb using temp index', that means that VFP made index manually for joining (that, of course, takes time).

As you see, the things reported by sys(1054,11) function are quite not consistent.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform