1 [[email protected] ~]$ ps -ef | grep $ORACLE_SID | grep lgwr
2 oracle 5140 1 0 Nov09 ? 00:00:12 ora_lgwr_mydb
在一個終端中執行命令,我們比較關心LGWR對檔案的開啟操作:
1 [[email protected] ~]$ strace -p 5140 2>&1 | grep -i open
在sqlplus中執行以下語句,用於新增一組新的online redo log:
1 ALTER DATABASE ADD LOGFILE ("/u02/oradata/mydb/redolog/group04/redo05a.log",
2 "/u02/oradata/mydb/redolog/group04/redo05b.log")
3 SIZE 50m;
1 [[email protected] ~]$ ps -ef | grep $ORACLE_SID | grep lgwr
2 oracle 5140 1 0 Nov09 ? 00:00:12 ora_lgwr_mydb
在一個終端中執行命令,我們比較關心LGWR對檔案的開啟操作:
1 [[email protected] ~]$ strace -p 5140 2>&1 | grep -i open
在sqlplus中執行以下語句,用於新增一組新的online redo log:
1 ALTER DATABASE ADD LOGFILE ("/u02/oradata/mydb/redolog/group04/redo05a.log",
2 "/u02/oradata/mydb/redolog/group04/redo05b.log")
3 SIZE 50m;