|
|
最初由 husthxd 发布
[B]意犹未尽.
顶上去.继续......
那位xd来解析一下tom下面的这段话?
the infamous "checkpoint not complete, cannot allocate new log" message.
this occurrs when Oracle attempts to reuse a log file but the checkpoint that would flush the blocks that may have redo in this log file has not yet completed
-- we must wait until that checkpoint completes before we can reuse that file -- thats when this message is printed. during this time (when we cannot allocate a new log) processing is suspended in the database while the checkpoint is made to complete ASAP. [/B]
you need to understand this from the point of crash recovery.
During the time of crash recovery, Oracle will do the recovery automatically. so all Oracle has is the online redo log file.
So if Oracle allows the checkpoint not finish but reuse the redo log , then if Oracle need to do crash recovery, it must need the archived log file. then the crash recovery is not automatic because the archived log file can be moved . |
|