Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP9 is extremely slow
Message
De
27/02/2006 05:08:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
VFP9 is extremely slow
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01099371
Message ID:
01099371
Vues:
71
Select * From Table1 Where nrdoc In (Select nrdoc From Table2)
This command works perfectly in VFP5. It's awful slow in VFP9.

or:
Select fieldlist Into Cursor stmp

Select Stmp.Cd, Stmp.Gest, Sum(stmp.Stoc) From Stmp ;
Group By Stmp.Cd, Stmp.Gest ;
Order By Stmp.Cd, Stmp.Gest ;
Into Cursor Stmp2

Do (_GenXTab) With 'stmp2', .T.,.T.,.T.,,,,.T.,0,.F.
Time taken to do the above: VFP5: 10 seconds, VFP9: 140 seconds. 1400% performance penalty. Stmp cursor has 15300 records.

What can I do to make VFP9 to work as fast as VFP5? (I have to mention both tests were done on same tables - there are no environment differences between VFP9 and VFP5).

I am aware that VFP9 disables Rushmore if dbf's codepage does not match OS codepage. However, I have NO control where my application goes. What now? I am supposed to CPZERO and rebuild CP every time the application is installed? Or what? Do I miss anything here?
Grigore Dolghin
Class Software.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform