您好,登錄后才能下訂單哦!
這篇文章主要介紹oracle11g如何修改控制文件路徑,文中介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們一定要看完!
1.查看路徑
SQL> show parameter control; NAME TYPE ------------------------------------ ---------------------- VALUE ------------------------------ control_file_record_keep_time integer 7 control_files string /home/app/oracle/oradata/orahq /control01.ctl, /home/app/orac le/fast_recovery_area/orahq/co ntrol02.ctl control_management_pack_access string DIAGNOSTIC+TUNING
2.修改參數文件
SQL> alter system set control_files='/alidata1/oradata/orahq/control01.ctl','/alidata1/oradata/orahq/control02.ctl' scope=spfile; System altered.
3.重啟數據庫
SQL> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down. SQL> startup ORACLE instance started. Total System Global Area 2.1379E+10 bytes Fixed Size 2262656 bytes Variable Size 1677724032 bytes Database Buffers 1.9663E+10 bytes Redo Buffers 36073472 bytes Database mounted. Database opened.
4.mv
[oracle@oraclerac1 ~]$ mv /home/app/oracle/oradata/orahq/control01.ctl /alidata1/oradata/orahq/control01.ctl [oracle@oraclerac1 ~]$ mv /home/app/oracle/fast_recovery_area/orahq/control02.ctl /alidata1/oradata/orahq/control02.ctl
5.查看是否修改成功
SQL> show parameter control; NAME TYPE ------------------------------------ ---------------------- VALUE ------------------------------ control_file_record_keep_time integer 7 control_files string /alidata1/oradata/orahq/contro l01.ctl, /alidata1/oradata/ora hq/control02.ctl control_management_pack_access string DIAGNOSTIC+TUNING
以上是“oracle11g如何修改控制文件路徑”這篇文章的所有內容,感謝各位的閱讀!希望分享的內容對大家有幫助,更多相關知識,歡迎關注億速云行業資訊頻道!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。