Unable to resize datafile (SYSAUX) after 'alter table shrink space cascade'
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: