Reducing SYSAUX Fragmentation of TABLEs and INDEXes Caused by Statistics Related Activities
Last updated on APRIL 03, 2018
Applies to:Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.
This article discusses SYSAUX fragmentation of TABLEs and INDEXes caused by statistics related activities and links to a procedure to reduce the SYSAUX occupancy by detecting, then reducing the data fragmentation inside the SYSAUX TableSpace.
Certain circumstances can result in the TABLEs and INDEX's that the SYSAUX TableSpace holds being fragmented. Fragmentation means that the data stored is not optimally organized within the TableSpace. This usually happens when data is dynamic, when addition and removal of data cycles happen over time. Examples may include:
- On Oracle Database versions 22.214.171.124/7, in some cases, <Bug 8553944> caused the Oracle Statistics history to be flushed from the SYSAUX tablespace. The data it contains will then grow and might be fragmented.
- If the Oracle Statistics history retention is modified, the amount of data in the tablespace can grow. As a result of this De-fragmentation might be needed.
If we consider the specific case of the SYSAUX TableSpace, this usually happens for the Oracle Statistics related items because
- This data is dynamic as the Oracle Stats are constantly re-calculated
- The amount of history data is growing because of an Oracle bug, see:
<Document 1055547.1> SYSAUX Grows Because Optimizer Stats History is Not Purged
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms