卸載DatabaseVault
11.2.0.4 on RHEL6.5
步驟1:停EM、監聽、數據庫
步驟2:禁用Database Vault
[[email protected] lib]$ pwd
/u01/app/oracle/product/11.2.0/dbhome_3/rdbms/lib
[[email protected] lib]$ make -f ins_rdbms.mk dv_off ioracle
步驟3:啟動監聽、數據庫
步驟4:確認下DV管理用戶
select unique GRANTEE from dba_role_privs
where GRANTED_ROLE in ('DV_ACCTMGR','DV_OWNER')
and grantee <> 'DVSYS';
步驟5:回收站關掉,執行dvremove.sql
SQL> alter system set recyclebin=off scope=spfile;
System altered.
SQL> shutdown immediate;
SQL> startup
SQL> @?/rdbms/admin/dvremov.sql
步驟6:開啟回收站
SQL> alter system set recyclebin=on scope=spfile;
SQL> shutdown immediate
SQL> startup