Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL very slow in on new network
Message
De
08/02/2006 10:20:53
 
 
À
08/02/2006 09:20:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01094616
Message ID:
01094642
Vues:
13
Hi,

depending on your tables record size alot of network traffic can be generated.
&& determine how much MB is send over the network
?RECSIZE('yourTable') * 26000 / 1024 / 1024
if the network is heavily used and your tables recordsize is for example 1024 (resulting into about 26 MB of traffic) and the network only transfers about 1 MB per second the 25 seconds of your testcase are comprehensible.

If you don't need all fields of the table you can speed up the whole process by just querying the fields you really need to save network traffic, every byte counts.

Would be nice if FoxPro could use some kind of compression when used over a network. From my experience WinZip can compress a DBF to about 20-30% of its original size, since the DBF format wastes much space on character fields by just filling them up with spaces.

Regards
Christian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform