Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Data Session
Message
From
30/11/2002 01:54:14
 
 
To
29/11/2002 07:42:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00728094
Message ID:
00728321
Views:
11
>>>Once I set the form to Private Data Session, my SQL SELECT statement will run extremely slow. And If I set it to default data Session, the Sql will run smoothly. Why?
>>
>>Some antivirus programs slow down badly when you have a table opened more than once. Try disabling any AV program you may have running.
>>
>>Bear in mind that a number of SETtings are specific to datasessions. In particular, in VFP7 the default setting of EXCLUSIVE is OFF in private datasessions, ON in the default. File access is slower when SET EXCLUSIVE is OFF. Try SET EXCLUSIVE ON in your private datasession before running your SELECT.
>
>VERY interesting. I wasn't aware of the SET EXCLUSIVE part; of course, it makes sense for VFP to act this way.

It's actually new to VFP7.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform