文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > Online redo log lost and recover
侵权投诉

Online redo log lost and recover

在线日志文件丢失

1. Backup the database

[test@localhost d01_test]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Aug 11 23:30:04 2011

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to an idle instance.

SQL> exit

Disconnected

[test@localhost d01_test]$ ls

oradata

[test@localhost d01_test]$ cd oradata/

[test@localhost oradata]$ ls

test

[test@localhost oradata]$ cp -rp test test_sav # My data files are in the directory test.

2. Current online redo log lost and the database has been shutdown down normally

SQL> select group#,members,status ,archived from v$log;

GROUP# MEMBERS STATUS ARC

---------- ---------- ---------------- ---

1 1 INACTIVE YES

2 1 INACTIVE YES

3 1 CURRENT NO

SQL> exit

Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

With the Partitioning, OLAP and Data Mining options

[test@localhost test]$ ls

control01.ctl create_db.log redo01.log redo02.log redo03.log sysaux01.dbf system01.dbf temp01.dbf test.dbf undotbs01.dbf users01.dbf

[test@localhost test]$ rm redo03.log

[test@localhost test]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Aug 12 01:13:17 2011

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to:

第1页

你可能喜欢

热门文档

相关文档

  • 由于掉电导致数据库online redo log损坏

    由于掉电导致数据库online redo log损坏_IT/计算机_专业资料。分享一下这个... SQL> recover database until cancel; SQL> alter database open resetlogs; ...

  • Recover database without control files and redo log

    Recover database without control files and redo log_英语考试_外语学习_教育... recover database using... 2页 1下载券 Online redo log lost a... 5页...

  • Oracle Online redo logfile配置

    Oracle Online redo logfile 配置 更多相关信息,参见 Oracle 官方文档: Managing the Online Redo Log 忠告:在下述操作 前进行数据库完全备份在下述操作后进行控制...

  • 关于redo log

    3.adding online redo log groups sql> alter database add logfile [group ...如果增加redo log file大小应该会降低checkpoint的频率;至于调整后对recover可能会...

  • RECOVER命令

    RECOVER Purpose Performs media recovery on one or more tablespaces, one or ...Be sure you can access all archived and online redo log files dating back...

  • REDO LOG损坏恢复方法

    REDO LOG FILE损坏 CURRENT损坏: (1):有归档和备份,可以用不完全恢复; SQL>startup mount; SQL>RECOVER DATABASE; SQL>RECOVER DATABASE UNTIL CANCEL; SQL>...

  • 针对丢失当前重做日志current online redo logfile的Or...

    针对丢失当前重做日志current online redo logfile的Oracle数据库紧急救援报告_计算机软件及应用_IT/计算机_专业资料。针对丢失当前重做日志current online redo log...

  • oracle10G RAC dataguard数据库添加redo log步骤

    ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE +DG1/orcl/onlinelog/group_1.257.671626789 +RECOVER/orcl/onlinelog/group_1.257.671626791 +DG1/orcl...

  • 理解REDO LOG(1)介质恢复和实例恢复的基本概念

    实例恢复就是要通过 ONLINE REDO LOG 文件中 记录的信息,自动的完成上述数据的...介质恢复无法自动进行,必须手工执行 recover Database 或者 recover datafile 命令...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email