Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I pack a file/reindex within a form
Message
De
08/08/2006 04:07:09
 
 
À
08/08/2006 03:59:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01143376
Message ID:
01143712
Vues:
10
>Tore,
>
>>If you need to do this from a normal form ment for day-to-day use, you have a serious design problem and should reconsider your design. Packing and reindexing should only be done very rarely, typically once or twice per year. In my case I only pack and reindex when we have a new year.
>
>Partially disagree - IF your indexed values are added in a nearly random order that might be - but almost always where you input data already preprocessed you get the records ordered, and after inserting them a reindex might be helpful to better balance your btrees... Bites me heavily, as I batch-insert host data, but the principle remains.
>
>regards
>
>thomas

Well, for me it's not so interesting whether a search takes 0.01 millisecond or 0.02 milliseconds.....! I have timed real life data searches before and after a reindex, and the difference is minimal. Given enough RAM and fast hardware, my conclusion is that a reindex is practically a waste of time. But "your milage may vary".
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform