Check if tablespace contains any objects
I need to verify that tablespace does not have any objects or active rollback segments before taking it offline.
select count(segment_name)
from dba_extents
where tablespace_name ='TABLESPACE1';
returns 0. Is it sufficient to conclude the tablespace can be safely taken offline for futher decomission or is there anything else I need to check?
0