Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does reindex increase the size of cdx.
Message
De
20/06/2000 03:59:08
 
 
À
19/06/2000 10:58:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00381256
Message ID:
00382084
Vues:
27
>That's great thanks for the info.
>
>A couple of other questions, if you have the time to answer :
>a) are there any tools available for checking indexes. It would be nice to confirm that any odd behaviour is due to index corruption, prior to reindexing.
>b) Does reindexing have any impact on performance ? At this point, the tables I am using are relatively small & so it is difficult to determine if there is any effect, just thought you might have some idea on this.

Using REINDEX, rather than using DELETE TAG ALL followed by rebuilding the indexes from scratch ,will generally leave the CDX files with wasted space that is not easily recovered, and does not optimize the positioning of segments of multiple tags within the CDX - parts of a given tag are likely to be spread broadly throughout the file, rather than being immediately adjacent to other related tag segments, which requires more disk head movement when processing a tag. Generally, deleting all tags, defragmenting the disk, and then rebiuilding the CDX from scratch will create a smaller CDX file, and often improves performance involving use of an index, especially with large files that add records or change key values frequently. Defragmentation of the drive helps ensure that related segments are together, letting the OS take advantage of readahead andreducing seek times.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform