Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL slow at runtime
Message
De
16/04/2015 04:00:45
 
 
À
15/04/2015 18:37:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01618499
Message ID:
01618526
Vues:
48
>I have SQL statement (local database) that runs slow when in runtime but fast when executing from Command window.
>
>What can be a problem?

In addition to the previous answers, if the SQL buildsa temp index or does multiple joins (thereby building temp cursors on the fly) the location of tempfiles can make large differences. If your runtime works with a tempfile dir located on the server and the command window with one on the local machine...
Also possible are Oplocks/SMB differences: are you certain that the # of users having the tables accessesed by your query is distributed the same across the single user/multiuser dimension?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform