码迷,mamicode.com
首页 > 其他好文 > 详细

053-178

时间:2017-11-06 13:53:47      阅读:126      评论:0      收藏:0      [点我收藏+]

标签:line   free   archive   alter   create   logs   comm   database   nts   

If a log file becomes corrupted, it may cause the database to stall. How would you correct such a
situation?
A. Recover the online redo log from backup.
B. Delete and re-create the log file.
C. Use the alter database clear logfile command to clear the log file.
D. Shut down the database and restart it.
E. Shut down the database and then mount it. Clear the log file with the alter database clear logfile
command and then restart the database with alter database open resetlogs.

  Use the alter database clear logfile command to clear the log file and free up the
database.If the log file has not been archived,you may have to use the alter database
clear unarchived logfile command instead.

053-178

标签:line   free   archive   alter   create   logs   comm   database   nts   

原文地址:http://www.cnblogs.com/Babylon/p/7792699.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!