Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Performance in network
Message
 
 
À
02/01/2001 10:26:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00458442
Message ID:
00458539
Vues:
17
Hi, John.

BEWARE of variable lenght indexes!

An index on alltrim(something) would yield different lenghts for keys. Most probably this would make the index unoptimizable, but even worst, thats sort of indexes are highly prone to corruption.

If you index on "car_no" alone (don't know how long is the field), performance could be higly improved.

Take a look at that and tell me.

>>>This seems quite bad. How large is the table (MB) ? Which indexes did you use ? When retrieving the 5000 records which indexes are used to optimize ? Did you try setting optimization off ?
>
>The table size is 2MB ++. I am using index ALLTRIM(card_no) and i use it in my SQL statement too.
>I will tried to set optimization off later. Why need to set it off?
>
>>>4 seconds, for 5000 records is not that bad, however 1-2 minutes on a 10BASET is bad, very bad. How is network trafic ?
>The network is totally free.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform