ITPub博客

首页 > 数据库 > Oracle > ALTER DATABASE RESETLOGS 的作用

ALTER DATABASE RESETLOGS 的作用

原创 Oracle 作者:jackjw 时间:2008-08-05 14:58:34 0 删除 编辑

[@more@]

ALTER DATABASE OPEN RESETLOG作用:

。Archives the current online redo logs (if they are accessible) and then erases the contents of the online redo logs and resets the log sequence number to 1. For example, if the current online redo logs are sequence 1000 and 1001 when you open RESETLOGS, then the database archives logs 1000 and 1001 and then resets the online logs to sequence 1 and 2.

2
。Creates the online redo log files if they do not currently exist.

3
。Reinitializes the control file metadata about online redo logs and redo threads.

4
。Updates all current datafiles and online redo logs and all subsequent archived redo logs with a new RESETLOGS SCN and time stamp.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/3907/viewspace-1008553/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: SCN知识1
请登录后发表评论 登录
全部评论

注册时间:2008-09-19

  • 博文量
    39
  • 访问量
    99386