Professional Documents
Culture Documents
3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\>set ORACLE_SID=reco1
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
STATUS
------------
OPEN
Tablespace created.
User created.
Grant succeeded.
SQL> exit;
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
C:\>rman catalog=dev/dev@reco1
RMAN> exit
Piece Name:
D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP
\2008_11_11\O1_MF_N_670503116_4KL5MPLK_.BKP
Control File Included: Ckp SCN: 851851 Ckp time: 11-NOV-08
RMAN> exit
C:\>set ORACLE_SID=orcl
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
FILE_NAME
--------------------------------------------------------------------------------
TABLESPACE_NAME
------------------------------
D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
USERS
D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
SYSAUX
D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
UNDOTBS1
FILE_NAME
--------------------------------------------------------------------------------
TABLESPACE_NAME
------------------------------
D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
SYSTEM
D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERDATA01.DBF
USER_DATA
D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERDATA02.DBF
USER_DATA
User created.
Grant succeeded.
Table created.
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
SQL> /
1 row created.
Error received:-
C:\>set ORACLE_SID=orcl
SQL> startup;
ORACLE instance started.
SQL> shutdown
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> exit;
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\>rman catalog=dev/dev@reco1
database opened
RMAN> exit;
C:\>set oracle_sid=orcl
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
A NUMBER
A
----------
9
9
9
9
Table is recovered.
Scenario 2:-
Controlfile lost.
C:\>rman catalog=dev/dev@reco1
database mounted
released channel: ORA_DISK_1
database opened
new incarnation of database registered in recovery catalog
starting full resync of recovery catalog
full resync complete