|
lz,我的版本是9204,结果与你有点差别,必须在mount状态下才显示DBID,看来方法与版本有点关系:)请大家指教
---启动例程之前
[oracle@hh ~]$ rman target/
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database (not started)
RMAN> exit
Recovery Manager complete.
-----启动例程,即nomount状态,rman target/并没有列出dbid
[oracle@hh ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Sun Apr 20 02:22:30 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 126948772 bytes
Fixed Size 452004 bytes
Variable Size 58720256 bytes
Database Buffers 67108864 bytes
Redo Buffers 667648 bytes
SQL> select status from v$instance;
STATUS
------------
STARTED
SQL> host
[oracle@hh ~]$ rman target /
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: orcl (not mounted)
RMAN> exit
Recovery Manager complete.
[oracle@hh ~]$ exit
exit
----DB启动至mount状态,rman target/就显示dbid了。
SQL> alter database mount
2 ;
Database altered.
SQL> host
[oracle@hh ~]$ rman target /
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: ORCL (DBID=1153803032)
RMAN> exit
Recovery Manager complete.
[oracle@hh ~]$ exit
exit
SQL> alter database open;
Database altered.
SQL> host
[oracle@sgk ~]$ rman target /
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: ORCL (DBID=1153803032)
RMAN> exit
Recovery Manager complete.
[ 本帖最后由 kdkd 于 2008-4-20 12:28 编辑 ] |
|