Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can a USE command execute my code?
Message
De
30/07/2007 14:42:15
Mike Yearwood
Toronto, Ontario, Canada
 
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 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01244678
Message ID:
01244696
Vues:
22
>>Thanks Borislav, that's it.
>>The decision to use non-production indexes was made before my time...
>>I think one reason was to speed up appends by disabling indexing.
>>
>>Howard
>
>WHAT?
>How many APPEND's you have in the application?
>If you change APPEND BLANK->REPLACE to INSERT INTO the index will be updated when the INSERT finish its job.
>Even if you didn't use nonstructural compound index you have to REINDEX after the APPEND, so no speed gain.

No, as long as index is open before APPEND it is updated.

>If that INDEX is opened again no speed gain because it is reindexed automaticaly.
>If you use structural compound index your life will be much easier.
>No need to care if the index is updated -> it is.
>It will be used for Optimization (I am not sure about if nonstructural compound index could be used for this, because I never used them).

They are, but the chance of leaving one closed while adding records is too dangerous for my liking.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform