Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox dropdown for 400k records search
Message
De
23/09/2006 06:08:32
 
 
À
23/09/2006 04:06:36
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01154761
Message ID:
01156687
Vues:
27
>Running from local PC.
>Tried Tore's method, ie set deleted off. The result was instantaneous.
>Now trying with an index on deleted but I recall long time back, this index on deleted created some issues... such that we took out the index.
>Yau

Whether an index on deleted() will speed up or slow down the search, depends on the number of deleted records in relation to the total number of records, AFAIK. This means that you have to try it out with realistic data. However, most of the discussions about the pros and cons of using an index on deleted(), is about a normal index, not the new binary index. The binary index was introduced in VFP9, and it is much smaller than a normal index, and thus much faster to read. So it makes the previous discussion more or less irrelevant. I suggest that you simply add a binary index on deleted(), and let that be it.
Index on deleted() tag deleted binary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform