Database Administration (MOSC)

MOSC Banner

Unable to resize datafile (SYSAUX) after 'alter table shrink space cascade'

edited Feb 19, 2020 4:08AM in Database Administration (MOSC) 2 commentsAnswered

Hi,

My SYSAUX tablespace has been growing steadily. Finally, I am able to reduce the size. I follow Document 1965061.1 (Manually Purge the Optimizer Statistics & AWR Snapshots to Reduce Space Usage of SYSAUX Tablespace). After executing DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE, I rerun awrinfo to see new data. I selected a few tables that seem to have taken most space (WRH$_ACTIVE_SESSION_HISTORY, WRH$_EVENT_HISTOGRAM, WRH$_SQLSTAT, WRH$_LATCH, WRH$_SYSSTAT), and ran ALTER TABLE <TABLE_NAME> SHRINK SPACE CASCADE.

It seems this release the HWM. As I checked into DBA_FREE_SPACE for SYSAUX tablespace. But I'm not able to resize datafile. I got the error:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center