设为首页 加入收藏

TOP

配置ORACLE11GADG(三)
2014-11-23 21:38:49 来源: 作者: 【 】 浏览:45
Tags:配置 ORACLE11GADG
cript

sql statement: alterdatabase mount standby database

contents of MemoryScript:

{

set newname for tempfile 1 to

"/export/11g/oradata/orcl/temp01.dbf";

switch clone tempfile all;

set newname for datafile 1 to

"/export/11g/oradata/orcl/system01.dbf";

set newname for datafile 2 to

"/export/11g/oradata/orcl/sysaux01.dbf";

set newname for datafile 3 to

"/export/11g/oradata/orcl/undotbs01.dbf";

set newname for datafile 4 to

"/export/11g/oradata/orcl/users01.dbf";

set newname for datafile 5 to

"/export/11g/oradata/orcl/example01.dbf";

backup as copy reuse

datafile 1 auxiliary format

"/export/11g/oradata/orcl/system01.dbf" datafile

2 auxiliary format

"/export/11g/oradata/orcl/sysaux01.dbf" datafile

3 auxiliary format

"/export/11g/oradata/orcl/undotbs01.dbf" datafile

4 auxiliary format

"/export/11g/oradata/orcl/users01.dbf" datafile

5 auxiliary format

"/export/11g/oradata/orcl/example01.dbf" ;

sql 'alter system archive log current';

}

executing Memory Script

executing command: SETNEWNAME

renamed tempfile 1 to/export/11g/oradata/orcl/temp01.dbf in control file

executing command: SETNEWNAME

executing command: SETNEWNAME

executing command: SETNEWNAME

executing command: SETNEWNAME

executing command: SETNEWNAME

Starting backup at 10-NOV-14

using channel ORA_DISK_1

channel ORA_DISK_1:starting datafile copy

input datafile filenumber=00001 name=/export/11g/oradata/orcl/system01.dbf

output filename=/export/11g/oradata/orcl/system01.dbf tag=TAG20141110T094610

channel ORA_DISK_1:datafile copy complete, elapsed time: 00:00:56

channel ORA_DISK_1: startingdatafile copy

input datafile filenumber=00002 name=/export/11g/oradata/orcl/sysaux01.dbf

output filename=/export/11g/oradata/orcl/sysaux01.dbf tag=TAG20141110T094610

channel ORA_DISK_1:datafile copy complete, elapsed time: 00:00:35

channel ORA_DISK_1:starting datafile copy

input datafile filenumber=00005 name=/export/11g/oradata/orcl/example01.dbf

output filename=/export/11g/oradata/orcl/example01.dbf tag=TAG20141110T094610

channel ORA_DISK_1:datafile copy complete, elapsed time: 00:00:16

channel ORA_DISK_1:starting datafile copy

input datafile filenumber=00003 name=/export/11g/oradata/orcl/undotbs01.dbf

output filename=/export/11g/oradata/orcl/undotbs01.dbf tag=TAG20141110T094610

channel ORA_DISK_1:datafile copy complete, elapsed time: 00:00:07

channel ORA_DISK_1:starting datafile copy

input datafile filenumber=00004 name=/export/11g/oradata/orcl/users01.dbf

output filename=/export/11g/oradata/orcl/users01.dbf tag=TAG20141110T094610

channel ORA_DISK_1:datafile copy complete, elapsed time: 00:00:07

Finished backup at10-NOV-14

sql statement: altersystem archive log current

contents of MemoryScript:

{

switch clone datafile all;

}

executing Memory Script

datafile 1 switched todatafile copy

input datafile copyRECID=5 STAMP=863257693 file name=/export/11g/oradata/orcl/system01.dbf

datafile 2 switched todatafile copy

input datafile copyRECID=6 STAMP=863257694 file name=/export/11g/oradata/orcl/sysaux01.dbf

datafile 3 switched todatafile copy

input datafile copyRECID=7 STAMP=863257694 file name=/export/11g/oradata/orcl/undotbs01.dbf

datafile 4 switched todatafile copy

input datafile copyRECID=8 STAMP=863257694 file name=/export/11g/oradata/orcl/users01.dbf

datafile 5 switched todatafile copy

input dat

首页 上一页 1 2 3 4 下一页 尾页 3/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Oracle11g新特性系统分区表 下一篇oracle触发器产生单据号

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: