Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private Data Session
Message
De
30/11/2002 01:54:14
 
 
À
29/11/2002 07:42:50
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00728094
Message ID:
00728321
Vues:
12
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform