Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is faster: insert from memvar or insert fields?
Message
From
25/07/2006 14:11:25
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01139366
Message ID:
01139850
Views:
19
This message has been marked as a message which has helped to the initial question of the thread.
>>Hi Naomi,
>>
>>I believe the first is marginally faster. I could be wrong, but I think I remember that there's a lot more processing going on with an INSERT due to VARCHARMAPPING and other late changes.
>>
>>Shame I don't have source code access anymore :-)
>
>You mean scatter memvar is faster? Both tables have almost identical structures... Too bad I switched, now I have to switch back <g>
>
>My tests seems to confirm it, because I believe after my change the speed decreased. Though it's really hard to tell, because in addition I'm getting Invalid Seek Offset on about each third attempt, which really drives me nuts...

Naomi - if you really want to figure out why your code is so slow, run it with Coverage Logging on and see where the bottlenecks. Much more efficient than this long thread.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform