Below are high label steps for Installing and configuring CSSCAN in Oracle 10G and 11G .
select value from NLS_DATABASE_PARAMETERS where parameter='NLS_CHARACTERSET';
Note 745809.1 Installing and configuring CSSCAN in 10g and 11g
3) Installing Csscan
Run csminst.sql using these commands and SQL statements:
cd $ORACLE_HOME/rdbms/admin
set oracle_sid=<your SID>
sqlplus /nolog
SQL>conn / as sysdba
SQL>set TERMOUT ON
SQL>set ECHO ON
SQL>spool csminst.log
SQL> START csminst.sql
select owner, object_type, status, object_name from dba_objects where status ='INVALID';
csscan full=y userid=sys "/as sysdba" FROMCHAR=UTF8 TOCHAR=AL32UTF8 LOG=UTF8_TO_UTF8_17_april CAPTURE=Y ARRAY=1000000 PROCESS=2
conn / as sysdba
SELECT OWNER, ORIGINAL_NAME, OBJECT_NAME, TYPE from dba_recyclebin order by 1,2;
conn / as sysdba
PURGE DBA_RECYCLEBIN;
csscan FULL=Y userid=csmig/S0l_ut10n FROMCHAR=UTF8 TOCHAR=AL32UTF8 LOG=dbcheck CAPTURE=N ARRAY=1000000 PROCESS=2
csscan full=y userid=csmig/S0l_ut10n FROMCHAR=UTF8 TOCHAR=AL32UTF8 LOG=post_drop CAPTURE=Y ARRAY=1000000 PROCESS=2
select value from NLS_DATABASE_PARAMETERS where parameter='NLS_CHARACTERSET';
Note 745809.1 Installing and configuring CSSCAN in 10g and 11g
3) Installing Csscan
Run csminst.sql using these commands and SQL statements:
cd $ORACLE_HOME/rdbms/admin
set oracle_sid=<your SID>
sqlplus /nolog
SQL>conn / as sysdba
SQL>set TERMOUT ON
SQL>set ECHO ON
SQL>spool csminst.log
SQL> START csminst.sql
select owner, object_type, status, object_name from dba_objects where status ='INVALID';
csscan full=y userid=sys "/as sysdba" FROMCHAR=UTF8 TOCHAR=AL32UTF8 LOG=UTF8_TO_UTF8_17_april CAPTURE=Y ARRAY=1000000 PROCESS=2
conn / as sysdba
SELECT OWNER, ORIGINAL_NAME, OBJECT_NAME, TYPE from dba_recyclebin order by 1,2;
conn / as sysdba
PURGE DBA_RECYCLEBIN;
csscan FULL=Y userid=csmig/S0l_ut10n FROMCHAR=UTF8 TOCHAR=AL32UTF8 LOG=dbcheck CAPTURE=N ARRAY=1000000 PROCESS=2
csscan full=y userid=csmig/S0l_ut10n FROMCHAR=UTF8 TOCHAR=AL32UTF8 LOG=post_drop CAPTURE=Y ARRAY=1000000 PROCESS=2
No comments:
Post a Comment