Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBC for views
Message
De
21/09/2004 13:32:55
Walter Meester
HoogkarspelPays-Bas
 
 
À
21/09/2004 10:58:52
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00944541
Message ID:
00944643
Vues:
27
Hi mike,

>While I see your reasoning for the remote views, you are probably taking a performance hit versus local views, no?

Why do you think that? My experience is that the remote view is (far) faster than the local view if the local view is using dbfs on a remote drive.

There are also a few tricks to speed up your local views:

1. Don't use the Database! prefix in the FROM and join clauses. It will force VFP to open the table again (on OS level), where as the variant without the Database! prefix will use the already open alias.

2. Be aware that you don't use a lot of SET PATH settings. Under a lot of circumstances VFP will search through all path settings (e.g. opening views) to search for a file. This might take significant time, esspecially on slower networks.

3. Use Filemon from www.sysinternals.com, to figure out what VFP is dragging accross the network and why. Really this could boost up your performance with local data significantly.

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform