Thread 1 cannot allocate new log, sequence NNN 錯誤

itpremier發表於2011-03-22

-- 錯誤程式碼舉例:(from alert_DBSID.log)

Tue Mar 15 18:35:21 2011
+188791 Thread 1 advanced to log sequence 783 (LGWR switch)
+188792 Current log# 3 seq# 783 mem# 0: /opt/app/oracle/oradata/Homelink/redo03.log
+188793 Thread 1 cannot allocate new log, sequence 784
+188794 Checkpoint not complete
+188795 Current log# 3 seq# 783 mem# 0: /opt/app/oracle/oradata/Homelink/redo03.log
+188796 Thread 1 advanced to log sequence 784 (LGWR switch)
+188797 Current log# 1 seq# 784 mem# 0: /opt/app/oracle/oradata/Homelink/redo01.log
+188798 Thread 1 cannot allocate new log, sequence 785

--原因, REDOLOG 太小.

--解決,新建較大的REDOLOG,刪除舊的REDOLOG.

--REFERENCE LINK:

http://hi.baidu.com/itoracle/blog/item/0e15068a8861c7739e2fb4be.html
SQL>alter system switch logfile;

SQL>alter database drop logfile group 1;

SQL>alter database drop logfile group 2;

SQL>alter database drop logfile group 3;

SQL>alter database drop logfile group 4;

3.重建重做日誌組1,2,3,4,大小設定為200M

SQL>alter database add logfile thread 1 group 1 size 200m;

SQL>alter database add logfile thread 2 group 2 size 200m;

SQL>alter database add logfile thread 1 group 3 size 200m;

SQL>alter database add logfile thread 2 group 4 size 200m;

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/350519/viewspace-1047597/,如需轉載,請註明出處,否則將追究法律責任。

相關文章