Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shared Command in VFP 9.0
Message
From
28/08/2008 09:14:54
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01342480
Message ID:
01342524
Views:
10
>Hello Everyone,
>
>We've recently moved our code base to use VFP 9.0. We've a piece of code that opens a table, processes certain records and creates a text file.
>
>In VFP 8.0, that process took around 3 minutes. With VFP 9.0, that same process with the same code base and database takes over 9 minutes. These local tables are opened as shared, but I changed that to exclusive and the time in VFP 9.0 dropped to 4 minutes.
>
>Has anyone else found performance issues when running their code in VFP 9.0? Does anyone have any idea why opening the table as shared in VFP 9.0 would cause the performance to drop?
>

One thing that changed in VFP 9 is that when CPDBF() <> CPCURRENT(), queries can't be optimized.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform