oracle redo管理,oracleredo

來源:互聯網
上載者:User

oracle redo管理,oracleredo
1.分類

Oracle中的幾類記錄檔

  • Redo log files –>聯機重做日誌

  • Archive log files –>歸檔日誌

  • Alert log files –>警示日誌

  • Trace files –>追蹤記錄檔

  • user_dump_dest –>使用者追蹤記錄檔

  • backupground_dump_dest –>進程追蹤記錄檔

2.操作

查看redo組

SELECT group#,sequence#,members,bytes,status,archived FROM v$log;

查看redo組內成員的明細
select * from v$logfile
添加組

alter  database add  logfile group 4 ('/opt/oradata/orcl/redo04.log') size 52428800;

刪除群組

alter database drop logfile group 4;

新增成員
““
ALTER DATABASE ADD LOGFILE MEMBER ‘/opt/oradata/orcl/redo04a.log’ TO GROUP 4;

警告日誌

select * from v$diag_info;
“`

著作權聲明:本文為博主原創文章,未經博主允許不得轉載。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.