Check and move indexes to Index tablespace.
========================================================================
Check and move indexes to Index tablespace.(please check change tablespace name in script data and index)
========================================================================
SELECT 'ALTER INDEX Schema_Name.' ||index_name|| ' REBUILD TABLESPACE Tablescpae_index;'
FROM dba_indexes WHERE owner = 'Schema_Name'
AND TEMPORARY='N' AND tablespace_name = 'Tablescpae_DATA';
Comments
Post a Comment