Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT statement executes very slow
Message
De
23/01/2009 17:42:25
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, États-Unis
 
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 SP2
Divers
Thread ID:
01376652
Message ID:
01376658
Vues:
16
Hi Brandon... Thank yoou for the reply. Rusmore level came to ---> None. How can I increase it ? I am executing the following statment on 2 different tables both have 290000 records.
SELECT itm_numb,itm_desc FROM A WHERE SUBSTR(itm_numb,1,3)='STI'
On table A which is indexed but it is 2K/record in size, it took 100 seconds to select 4000 records.
On table B which is only .5K/records in size, took only 14 seconds to select 4000 records.

Why is this ? How can I optimized the behaviour.

Raz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform