Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Increase SQL speed?
Message
From
04/05/2005 14:00:32
 
 
To
04/05/2005 12:00:12
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01010813
Message ID:
01010937
Views:
29
>Every primary key (PK) and foreign key (FK) is indexed. I am getting zero Rushmore optimization.
Set ("Optimize") ? <bg>
I'ld recommend building the joins first to make sure to get best possible rushmore, then add the frill fields. Check if intermediate results need indices, if so split the select.

If the first inner join is huge, you should think of preprocessing some items like
lcNinerFormat = REPLICATE( '9' , m.nNines )
and perhaps minimize the accessing work for the
<<This.aDates[1,2]>>
. But this would probably only be small icing on the cake.

rgds

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform