Oracle中的幾類日志文件
Redo log files –>聯機重做日志
Archive log files –>歸檔日志
Alert log files –>告警日志
Trace files –>跟蹤日志
user_dump_dest –>用戶跟蹤日志
backupground_dump_dest –>進程跟蹤日志
查看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;