Standby開啟

来源:互联网 发布:云服务器怎么安装php 编辑:程序博客网 时间:2024/06/05 17:06
Standby開啟方法
8i:
graphicsty</home/oracle>$sqlplus internal
SQL*Plus: Release 8.1.6.0.0 - Production on Fri Feb 18 11:08:31 2005
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 872292336 bytes
Fixed Size 69616 bytes
Variable Size 370864128 bytes
Database Buffers 500301824 bytes
Redo Buffers 1056768 bytes
SQL> alter database mount standby database;
Database altered.
SQL> recover standby database;
ORA-00279: change 700519891 generated at 02/18/2005 03:27:31 needed for thread
1
ORA-00289: suggestion : /data/graphic/arch/1_29844.arc
ORA-00280: change 700519891 for thread 1 is in sequence #29844
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
9i:
dmd3-db</home/oracle>$sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Fri Feb 18 11:15:39 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 940644268 bytes
Fixed Size 452524 bytes
Variable Size 402653184 bytes
Database Buffers 536870912 bytes
Redo Buffers 667648 bytes
SQL> alter database mount standby database;
Database altered.
SQL> recover standby database;
ORA-00279: change 80243187 generated at 02/18/2005 08:46:50 needed for thread 1
ORA-00289: suggestion : /data/tpc/arch/1_900.dbf
ORA-00280: change 80243187 for thread 1 is in sequence #900
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
Auto
正式DB開啟
sqlplus internal
startup
exit
lsnrctl start
 
原创粉丝点击