這篇文章主要介紹oracle11g如何修改控制文件路徑,文中介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們一定要看完!
專注于為中小企業(yè)提供網(wǎng)站設(shè)計(jì)、成都網(wǎng)站制作服務(wù),電腦端+手機(jī)端+微信端的三站合一,更高效的管理,為中小企業(yè)潘集免費(fèi)做網(wǎng)站提供優(yōu)質(zhì)的服務(wù)。我們立足成都,凝聚了一批互聯(lián)網(wǎng)行業(yè)人才,有力地推動了上千企業(yè)的穩(wěn)健成長,幫助中小企業(yè)通過網(wǎng)站建設(shè)實(shí)現(xiàn)規(guī)模擴(kuò)充和轉(zhuǎn)變。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.修改參數(shù)文件
SQL> alter system set control_files='/alidata1/oradata/orahq/control01.ctl','/alidata1/oradata/orahq/control02.ctl' scope=spfile; System altered.
3.重啟數(shù)據(jù)庫
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如何修改控制文件路徑”這篇文章的所有內(nèi)容,感謝各位的閱讀!希望分享的內(nèi)容對大家有幫助,更多相關(guān)知識,歡迎關(guān)注創(chuàng)新互聯(lián)-成都網(wǎng)站建設(shè)公司行業(yè)資訊頻道!