show param..."/>
您好,登錄后才能下訂單哦!
這篇文章主要介紹oracle11g如何修改控制文件路徑,文中介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們一定要看完!
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ù)庫(kù)
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)容對(duì)大家有幫助,更多相關(guān)知識(shí),歡迎關(guān)注億速云行業(yè)資訊頻道!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。