Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Performance re-index before/after defragmentation?
Message
De
03/02/2003 11:40:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00748158
Message ID:
00748423
Vues:
27
So "Select * from table order by SKU to cursor mytemp
Dele sku.dbf
Select mytemp
copy all to sku.dbf
index on sku tag sku = smaller index?

Is that something near what your saying???

The reason I'm asking is I have a client with of 6G of data at the moment. There is one area of the code that is very slow and I believe it is due to the size of the index. I have discovered that code contains a view and the requery request transfers the entire index before displaying the results.
John


>By re-ordering the table by SKU and then re-building the index, it (the index) will be up to 20% smaller. I'm not talking about huge amounts of records either. I've seen this occur when there are 1,000-2,000 records.
John Fabiani
Woodland, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform