Shrink Sysaux Tablespace High Watermark blocked not by Table and Index
Hello,
I faced issue with growth of sysaux tablespace in Oracle 12. (Doc ID 2305512.1). After dropping AUTO_STATS_ADVISOR_TASK I was able to clean a lot of space.
Database Freespace Summary
Free Largest Total Available Pct
Tablespace Frags Frag (KB) (KB) (KB) Used
---------------- -------- ------------ ------------ ------------ ----
SYSAUX 165 4,063,232 31,323,144 30,722,240 2
Now I have to clean this big datafile to reasonable size. I followed for this purpose (Doc ID 1563921.1).
I was able to move all indexes and tables using this procedure but still was not able to shrink datafile.
I then find nice script to find out which objects still block me from shrinking: