Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update performance
Message
From
17/09/2003 13:29:20
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Update performance
Miscellaneous
Thread ID:
00829981
Message ID:
00829981
Views:
54
Hi,
I'm have a performance issue with VFP6 using DBC and tables. I have run the coverage profiler and have discovered that one line in the code is taking over half of the total time.

UPDATE Iciwhs set ninprocess = ninprocess + lnInProcess where citemno = lcItemno and cWarehouse = lcWarehouse


I read the help and discovered the info on performance issues using update. The help suggested that FLOCK be used but I quickly discovered that using FLOCK made UPDATE run faster but getting the FLOCK took almost the same amount of time. I then tried REPLACe without FLOCK and had a minor speed improvement.

So does anyone have any suggestions?

TIA
John
John Fabiani
Woodland, CA
Next
Reply
Map
View

Click here to load this message in the networking platform