Analyzing database fragmentation
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Analyzing database fragmentation
To determine the degree of fragmentation for tables in a database, use PROUTIL TABANALYS as shown:
|
You can run PROUTIL TABANALYS while the database is in use; however, PROUTIL generates only approximate information.
In the TABANALYS display, check the following fields:
- Count — The total number of record fragments found for each table in the database.
- Fragments Factor — The degree of record fragmentation for each table. If the value is 2.0 or greater, dumping and reloading will improve disk space usage and performance. If the value is less than 1.5, dumping and reloading is unnecessary.
- Scatter Factor — The degree of distance between records in the table. The optimal value for this field varies from database to database. To determine the optimal value for your database, run the TABANALYS on a freshly loaded database.
The following sample shows an excerpt from a PROUTIL TABANALYS display:
|