Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Increase SQL speed?
Message
De
04/05/2005 14:00:32
 
 
À
04/05/2005 12:00:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01010813
Message ID:
01010937
Vues:
30
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform