
Checking Freespace for Objects in Tablespace
Use
You can use SAPDBA for Oracle to check the freespace for objects in a tablespace. The information you see helps to decide whether to extend a tablespace. It can also be useful when you
reorganize the database.You can also use this procedure to check which tablespaces would overflow if an additional number of extents were assigned.
Prerequisites
You have configured and started SAPDBA. Refer to
Getting Started with SAPDBA.Procedure
SAPDBA prompts you for the threshold number of extents that would cause tablespace overflow. For example, if you specify two, then SAPDBA displays all objects that would cause overflow if two new extents were added.
SAPDBA checks all tablespaces and displays a list of the objects (that is, tables or indexes) for which the additional number of extents you specified would cause the corresponding tablespace to overflow.
SAPDBA validates and enters the tablespace name into the appropriate menu option.
SAPDBA prompts you for the threshold number of extents that would cause tablespace overflow. For example, if you specify two, then SAPDBA displays all objects that would cause overflow if two new extents were added.
SAPDBA checks the chosen tablespace and displays a list of the objects (that is, tables or indexes) for which the additional number of extents you specified would cause the corresponding tablespace to overflow.
Result
You have now checked the amount of freespace in the tablespace or tablespaces. See
Preventing Tablespace Overflow for information on how to interpret the results to prevent tablespace overflow.