Hi James,
Checked note, Can you let me know how to execute these OSS notes command -
- set serveroutput on
- begin
- if dbms_repair.online_index_clean() then
- dbms_output.put_line('All fragments cleaned');
- else
- dbms_output.put_line('DML Locks on some tables.');
- dbms_output.put_line('Not all fragments cleaned. ');
- dbms_output.put_line('Try again later');
- end if;
- end;
Should we put these lines in text file then save as .SQL and execute or what is the process.
And Will this process be fast or it will execute long time and can impact running system.
Some more information -
SQL> select NAME, OBJ# from obj$ where NAME = 'DBTABLOG~0';
NAME OBJ#
------------------------------ ----------
DBTABLOG~0 1622362
SQL> select flags from ind$ where obj#='1622362';
FLAGS
----------
2594
Please suggest.
Regards,
Shivam