在做异地恢复数据库试验的时候,报错ORA38856,具体情况如下:源库为ORACLERAC,2节点数据库版本11.2.0.4目标库为单实例ORACLE,版本11.2.0.4源库Rman备份为0级全备在restore成功以后,recover不成功,需要用到原来的onlinelog,重建控制文件,然后alterdatabaseopenresetlogs..
分类:
编程语言 时间:
2015-09-22 14:42:50
阅读次数:
195
前言rman在实际应用中用到的不多,很多时候一个项目开始设置好备份策略,后续基本上都用不到了,除非数据库出现异常,可以说,rman是一个不常用但是却非常重要的技能,但是又非常容易忘记。为了不在关键时刻掉链子,做了一个rman异地恢复数据库的试验。试验环境介绍操作系统数..
分类:
数据库 时间:
2015-09-22 14:41:03
阅读次数:
218
RMAN用来存放数据库元数据的schema。the catalog includes the following types of metadata:-Data file and archived redo log backup sets and backup pieces-Data file co...
分类:
其他好文 时间:
2015-09-22 14:15:01
阅读次数:
316
1.切换归档,执行rman全库备份2.传送的服务器上。3.对其进行恢复--创建对应的目录1.修改配置文件,按比例修改配置参数根据这些目录更改创建对应的目录mkdir-p/home/opt/oracle/diag/rdbms/wms/wmsmkdir-p/home/opt/oracle/diag/rdbms/wms/wms/tracemkdir-p/home/opt/oracle/dia..
分类:
数据库 时间:
2015-09-21 19:46:15
阅读次数:
268
Your production database it functional on the SHOST1 host. You are backing up the production
database by using Recovery Manager (RMAN) with the recovery catalog. You want to replicate the
production...
分类:
其他好文 时间:
2015-09-21 19:39:42
阅读次数:
125
View the Exhibit and examine the RMAN commands.
Which statement describes the effect of a backup retention policy on the backup of a backup set?
A.Either all the copies of a backup set are obsolete or...
分类:
其他好文 时间:
2015-09-21 17:59:29
阅读次数:
150
一.RMAN备份源库注意点:最好保留rman备份日志$rman target / log=backup.logRMAN>run {allocate channel t1 type disk;allocate channel t2 type disk;allocate channel t3 type ...
分类:
数据库 时间:
2015-09-21 15:28:28
阅读次数:
282
@ORA12C>altersessionsetnls_date_format=‘yyyy-mm-ddhh24:mi:ss‘;
Sessionaltered.
SYS@ORA12C>createtablet_0920asselect*fromdba_objects;
Tablecreated.
SYS@ORA12C>selectcount(*)fromt_0920;
COUNT(*)
-----------------
91691
1rowselected.
SYS@ORA12C>sel..
分类:
其他好文 时间:
2015-09-21 01:53:43
阅读次数:
238
备份Spfile、控制文件、数据文件、归档日志文件,并删除冗余备份。可结合rman cmdfile=FILE_PATH msglog=$HOME/backup/log/backup_level0.log和CRONTAB进行周期备份。run {allocate channel c1 device ty...
分类:
其他好文 时间:
2015-09-15 23:35:56
阅读次数:
438
1.配置网络参数(静态注册)SID_LIST_LISTENER=(SID_LIST=(SID_DESC=(GLOBAL_DBNAME=orcl)(SID_NAME=orcl)(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1))2.设置密码文件orapwdfile=orapwclonedbpassword=myoracle3.准备参数文件4.建立相关文件夹grepu01initclonedb.o..
分类:
数据库 时间:
2015-09-15 01:46:47
阅读次数:
274