My Oracle Support Banner

How To Reclaim Wasted Space on The Segment (Table, Index and LOB) and Tablespace Levels (Doc ID 1682748.1)

Last updated on JANUARY 02, 2020

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.

Purpose

  This note provides the steps to identify and reclaim wasted space (fragmented space) from different Segment (Table, Index and LOB) introduced by row deletion, moving or dropping tables, etc ..

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Details
 How to know if the segment is fragmented
 Table
 Index
 LOB segment (both Securefiles and Basic files) 
 How to reclaim free space (below HWM)
 Table
 Index
 LOB Segment
 How to reclaim the space back to the OS / ASM diskgroup by decreasing the datafile size
 System tablespace
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.