Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is normal this Speed?
Message
De
02/05/2003 16:52:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
02/05/2003 16:22:48
Luis Navas
Independent Consultant
Auckland, Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00784121
Message ID:
00784385
Vues:
29
>Thanks, so you say that i most divide this SQL?
>Luis

It usually helps. Let me give you an example. I had a single query with ca. 9 tables, which took 50 seconds (over the network). Changing it to several queries (adding one table at a time, to the previous results), made it execute in ca. 2 seconds.

After that, I have experimented, now and then, with other options (for instance, the FORCE clause, to make sure VFP combines tables in the order I want), but the results have not been satisfactory.

From that point on, I started redesigning several previous selection commands - but especially for new reports, I always used several SQL commands.

In summary, I strongly suggest that you try splitting the SQL, and check the time it takes to produce the result.

Saludos,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform