Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very Slow SQL , Why?
Message
De
30/07/1998 22:39:06
Rick Clarke
Fotobae Pty. Ltd.
Adelaide, Australie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Very Slow SQL , Why?
Divers
Thread ID:
00122940
Message ID:
00122940
Vues:
57
Hi all,

I have a table with 56 fields and 120,000 records growing by 5,000 per month. I have tried to use set order to Tag then set key to range to filter down records then I do a select with conditions hoping to only select from the result of the set key filter. I always end up waiting upto 5 minutes for the select statement to run, the number of rec's found each time depend on the where conditions, I use a macro to expand a variable length condition statement that can be reasonably long, but not often, perhaps 5-6 diff. conditions.
Why is it so slow, I chose Fox because everyone raves of its database speed. I must be way of here! Can you help me to select from this table based on 2 conditions. first is to narrow the 120,000 rec's down to blocks of approx. 40,000 by one filter condition e.g Region = "NORTH" then perform a where filter condition to further narrow this selection. TIA
RICK
P.S Sorry I was so wordy .


When the going gets tough the tough get going, when the going gets tougher only the toughest remain!!!!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform