
oracle - 数据恢复
shenghuiping2001
提供Splunk 安装升级技术支持,Splunk字段截取, Cribl数据导入,dashboard报表制作。Splunk, cribl接入各种网络设备和Add-on APP.(毕业于南京航空航天大学,在IBM工作过10年,现在专注splunk架构和数据分析。拥有Oracle: OCP认证, AWS: ASP认证, Azure: admin系统管理员认证。)
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
oracle 联机日志 恢复
本文章是关于 联机日志 恢复的实验。oracle@aoracle ezhou]$ mv redo01.log ./bak[oracle@aoracle ezhou]$ ls -lrttotal 1516148drwxr-xr-x 3 oracle oinstall 4096 Sep 28 16:34 patch-rw-r----- 1 oracle oinstall原创 2011-12-06 20:00:35 · 488 阅读 · 0 评论 -
关于 数据文件 恢复的四种 情况 (必要的时候 可以练练)
Below workshop, I will perform some workshops about the database recovery:Step1: when the database in not open status: 1: when the database open, remove all the datafile. 2: shutdown t原创 2012-03-28 15:10:18 · 1344 阅读 · 0 评论 -
ora-600 [2662] && ora-01031 权限不足的解决 (ora-01152)
今天碰到:ORA-00600: 内部错误代码, 参数: [2662], [0], [583782], [0], [631878], [4194313], [], []ORA-600 [2662] [a] [c] [d] [e]Arg [a] Current SCN WRAPArg Current SCN BASEArg [c] dependent SCN WRAPArg [原创 2011-12-29 20:09:39 · 875 阅读 · 0 评论 -
ORA-01152错误解决方法 用老的备份controlfile
下面有原来的controlfile 来试试:具体步骤如下:startup force;alter system set "_allow_resetlogs_corruption"=true scope=spfile;recover database using backup controlfile until cancel;alter databse open resetlog原创 2011-12-29 20:18:23 · 988 阅读 · 1 评论 -
RMAN 的向前滚动式不完全恢复
今天测试 rman 的回归测试:RMAN> list backup summary;List of Backups===============Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag------- -- -- - ----------- ---------------原创 2012-01-13 17:47:16 · 710 阅读 · 0 评论 -
ora 10g 跨越resetlogs 进行恢复 (test 成功)
今天试验了resetlog 跨越时间段进行恢复:先备份:C:\Documents and Settings\Jonup>rman target /恢复管理器: Release 10.2.0.1.0 - Production on 星期三 1月 11 10:53:14 2012Copyright (c) 1982, 2005, Oracle. All rights reserved原创 2012-01-11 13:24:52 · 581 阅读 · 0 评论 -
恢复数据库时什么时候需要using backup controlfile
今天发现 control file的问题,和datafile 里的checkpoint 不一致,导致database 不能open ,下面来说说啥时要用到using backup controlfile:SQL> select checkpoint_change# from v$datafile;CHECKPOINT_CHANGE#------------------原创 2012-01-09 11:39:19 · 1418 阅读 · 0 评论 -
control 文件重建
重建controlfile:alter database backup controlfile to trace;oradebug setmypidoradebug tracefile_name 可以得到trace 的name打开trace 文件:修改: reuse ---> set, nosetlogs ---> setlogsCREATE CONTROLFILE s原创 2012-01-08 16:42:52 · 517 阅读 · 0 评论 -
(伟大的实验 )RESETLOGS后没有备份情况下的数据恢复
一点说明:媒体恢复分完全恢复和不完全恢复。不完全恢复可以恢复到指定的时刻或系统更改号,但不完全恢复之后剩余日志文件就不可用,必须重置日志序列号,用RESETLOGS选项打开数据库,此后数据库变成一个新形体,为了将来的恢复,必须重做一致备份。而且,RESETLOGS之前的备份已不可用。但是,很可能在RESETLOGS后没有做数据库的一致备份,而数据库又不认识RESETLOGS之前的备份,此时该如原创 2012-01-08 20:25:11 · 928 阅读 · 1 评论 -
oracle - 控制文件 恢复
本文章是关于control 控制文件的恢复:oracle@aoracle ezhou]$ ls -l | wc -l18[oracle@aoracle ezhou]$ ls -l *.ctl-rw-r----- 1 oracle oinstall 7061504 Dec 6 21:43 control01.ctl-rw-r----- 1 oracle oinstall 706原创 2011-12-07 14:11:25 · 580 阅读 · 0 评论 -
RMAN-06563: control file or SPFILE must be restored using FROM AUTOBACKUP
Backup and Recovery best practices dictate that we must use a RMAN recovery catalog and also have the controlfile AUTOBACKUP enabled.If we do not do either and we lose all the controlfiles, we canno转载 2011-12-07 20:28:32 · 3407 阅读 · 1 评论 -
spfile 和pfile 在数据库open和shutdown 的两种情况下的恢复成功。
本实验室做当数据库在 open 和shutdown 的两种情况下spfile 和pfile 丢失的情况下的恢复。oracle@aoracle dbs]$ rman target rman_user/rman_user;Recovery Manager: Release 10.2.0.1.0 - Production on Thu Dec 8 19:21:38 2011Copyright原创 2011-12-08 20:09:59 · 3852 阅读 · 1 评论 -
oracle - 关于spfile 的恢复
本实验是恢复spfile:SQL> shutdown immediate;Database closed.Database dismounted.ORACLE instance shut down.SQL> startup nomount;ORACLE instance started.Total System Global Area 335544320 bytes原创 2011-12-08 18:24:44 · 1025 阅读 · 0 评论 -
数据文件的 rman 恢复 - 单个和多个
关于数据文件的回复:1: 先备份:RMAN> backup full database;Starting backup at 06-DEC-11using target database control file instead of recovery catalogallocated channel: ORA_DISK_1channel ORA_DISK_1: sid=1原创 2011-12-06 15:51:04 · 909 阅读 · 0 评论 -
关于 oracle恢复的 概论
There are two type ways of backup: After completing this lesson, you should be able to do the following: 1: Describe media recovery.2: Perform recovery in NOARCHIVELOG mode.3: Perform comp原创 2012-03-28 15:15:19 · 540 阅读 · 0 评论