Script to Report Table Fragmentation
(Doc ID 1019716.6)
Last updated on AUGUST 28, 2023
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Provide a script to report table fragmentation. Note: This script is still useful at 10.2 in that it gives a detailed report of block usage etc. This note makes no claims about how to remedy table fragmentation. The methods you can use to do this vary depending on whether ASSM is in use etc. A simpler note is Note 337651.1 How to find Objects Fragmented below High water mark.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!