Oracle OCP 1Z0-053 Q566(Rman Recovery System Tablespace)
566.You have lost all your SYSTEM tablespace datafiles (system_01.dbf and system_02.dbf) nd the
database has crashed.
What would be the appropriate order of operations to correct the situation?
A. Mount the database with the startup mount command.
B. Take the SYSTEM datafile offline with the alter database command.
C. Restore the SYSTEM_01.dbf datafile from backup media with the required archived redo logs.
D. Restore all SYSTEM tablespace-related datafiles from backup media.
E. Issue the recover tablespace SYSTEM command.
F. Issue the recover datafile SYSTEM_01.dbf command.
G. Open the database with the alter database open command.
H. Open the database with the alter database open resetlogs command.
I. a, c, f, g
J. b, d, e, h
K. a, b, c, f, g
L. d, a, e, g
M. b, c, f, e, g
Answer: D
[oracle@db01 inst1]$ ls -l
total 2221040
-rw-r-----. 1 oracle oinstall 10076160 Mar 25 11:22 control01.ctl
-rw-r-----. 1 oracle oinstall 363077632 Mar 25 11:20 example01.dbf
-rw-r-----. 1 oracle oinstall 52429312 Mar 25 11:21 redo01.log
-rw-r-----. 1 oracle oinstall 52429312 Mar 25 11:21 redo02.log
-rw-r-----. 1 oracle oinstall 52429312 Mar 25 11:20 redo03.log
-rw-r-----. 1 oracle oinstall 650125312 Mar 25 11:20 sysaux01.dbf
-rw-r-----. 1 oracle oinstall 796925952 Mar 25 11:20 system01.dbf
-rw-r-----. 1 oracle oinstall 30416896 Mar 10 05:18 temp01.dbf
-rw-r-----. 1 oracle oinstall 52436992 Mar 9 22:22 temp02.dbf
-rw-r-----. 1 oracle oinstall 52436992 Mar 25 05:40 temp03.dbf
-rw-r-----. 1 oracle oinstall 104865792 Mar 25 11:20 ts_test.dbf
-rw-r-----. 1 oracle oinstall 99622912 Mar 25 11:20 undotbs01.dbf
-rw-r-----. 1 oracle oinstall 52436992 Mar 25 11:20 user_data01.dbf
-rw-r-----. 1 oracle oinstall 5251072 Mar 25 11:20 users01.dbf
[oracle@db01 inst1]$ rm system01.dbf
[oracle@db01 inst1]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Fri Mar 25 11:22:42 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/u01/app/oracle/oradata/inst1/system01.dbf'
ORA-27041: unable to open file
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
SQL> shutdown abort
ORACLE instance shut down.
SQL> quit
RMAN恢復:
[oracle@db01 inst1]$ rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Fri Mar 25 11:24:15 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database (not started)
RMAN> startup mount
Oracle instance started
database mounted
Total System Global Area 413372416 bytes
Fixed Size 2253784 bytes
Variable Size 318770216 bytes
Database Buffers 83886080 bytes
Redo Buffers 8462336 bytes
RMAN> restore datafile 1;
Starting restore at 25-MAR-16
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=134 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=11 device type=DISK
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/inst1/system01.dbf
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/2gr1c23g_1_1
channel ORA_DISK_1: piece handle=/u01/app/oracle/2gr1c23g_1_1 tag=TAG20160325T112016
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:25
Finished restore at 25-MAR-16
RMAN> recover datafile 1;
Starting recover at 25-MAR-16
using channel ORA_DISK_1
using channel ORA_DISK_2
starting media recovery
media recovery complete, elapsed time: 00:00:01
Finished recover at 25-MAR-16
RMAN> alter database open;
database opened
參考:http://blog.csdn.net/rlhua/article/details/13774369
database has crashed.
What would be the appropriate order of operations to correct the situation?
A. Mount the database with the startup mount command.
B. Take the SYSTEM datafile offline with the alter database command.
C. Restore the SYSTEM_01.dbf datafile from backup media with the required archived redo logs.
D. Restore all SYSTEM tablespace-related datafiles from backup media.
E. Issue the recover tablespace SYSTEM command.
F. Issue the recover datafile SYSTEM_01.dbf command.
G. Open the database with the alter database open command.
H. Open the database with the alter database open resetlogs command.
I. a, c, f, g
J. b, d, e, h
K. a, b, c, f, g
L. d, a, e, g
M. b, c, f, e, g
Answer: D
[oracle@db01 inst1]$ ls -l
total 2221040
-rw-r-----. 1 oracle oinstall 10076160 Mar 25 11:22 control01.ctl
-rw-r-----. 1 oracle oinstall 363077632 Mar 25 11:20 example01.dbf
-rw-r-----. 1 oracle oinstall 52429312 Mar 25 11:21 redo01.log
-rw-r-----. 1 oracle oinstall 52429312 Mar 25 11:21 redo02.log
-rw-r-----. 1 oracle oinstall 52429312 Mar 25 11:20 redo03.log
-rw-r-----. 1 oracle oinstall 650125312 Mar 25 11:20 sysaux01.dbf
-rw-r-----. 1 oracle oinstall 796925952 Mar 25 11:20 system01.dbf
-rw-r-----. 1 oracle oinstall 30416896 Mar 10 05:18 temp01.dbf
-rw-r-----. 1 oracle oinstall 52436992 Mar 9 22:22 temp02.dbf
-rw-r-----. 1 oracle oinstall 52436992 Mar 25 05:40 temp03.dbf
-rw-r-----. 1 oracle oinstall 104865792 Mar 25 11:20 ts_test.dbf
-rw-r-----. 1 oracle oinstall 99622912 Mar 25 11:20 undotbs01.dbf
-rw-r-----. 1 oracle oinstall 52436992 Mar 25 11:20 user_data01.dbf
-rw-r-----. 1 oracle oinstall 5251072 Mar 25 11:20 users01.dbf
[oracle@db01 inst1]$ rm system01.dbf
[oracle@db01 inst1]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Fri Mar 25 11:22:42 2016
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/u01/app/oracle/oradata/inst1/system01.dbf'
ORA-27041: unable to open file
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
SQL> shutdown abort
ORACLE instance shut down.
SQL> quit
RMAN恢復:
[oracle@db01 inst1]$ rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Fri Mar 25 11:24:15 2016
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database (not started)
RMAN> startup mount
Oracle instance started
database mounted
Total System Global Area 413372416 bytes
Fixed Size 2253784 bytes
Variable Size 318770216 bytes
Database Buffers 83886080 bytes
Redo Buffers 8462336 bytes
RMAN> restore datafile 1;
Starting restore at 25-MAR-16
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=134 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=11 device type=DISK
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/inst1/system01.dbf
channel ORA_DISK_1: reading from backup piece /u01/app/oracle/2gr1c23g_1_1
channel ORA_DISK_1: piece handle=/u01/app/oracle/2gr1c23g_1_1 tag=TAG20160325T112016
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:25
Finished restore at 25-MAR-16
RMAN> recover datafile 1;
Starting recover at 25-MAR-16
using channel ORA_DISK_1
using channel ORA_DISK_2
starting media recovery
media recovery complete, elapsed time: 00:00:01
Finished recover at 25-MAR-16
RMAN> alter database open;
database opened
參考:http://blog.csdn.net/rlhua/article/details/13774369
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8520577/viewspace-2072485/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle OCP 1Z0-053 Q698(RMAN Recovery)Oracle
- Oracle OCP 1Z0-053 Q360(RMAN Disaster Recovery)OracleAST
- Oracle OCP 1Z0-053 Q513(how to perform tablespace point-in-time recovery)OracleORM
- RMAN: Tablespace Point In Time Recovery (TSPITR)
- Oracle OCP 1Z0-053 (System Partitioning)Oracle
- Oracle OCP 1Z0-053 Q571(Full Recovery)Oracle
- Oracle OCP IZ0-053 Q365(tablespace point-in-time recovery)Oracle
- Oracle OCP 1Z0-053(Rman Compression Algorithm)OracleGo
- Oracle OCP 1Z0-053 Q385(Flashback Table Recovery)Oracle
- Oracle OCP(48):UNDO TABLESPACEOracle
- Oracle OCP 1Z0-053 Q568(noarchivelog full recovery)OracleHive
- Oracle OCP 1Z0 053 Q564(Datafile Recovery with RMAN)Oracle
- Oracle OCP 1Z0 053 Q507(Rman Recovery)Oracle
- Oracle OCP 1Z0 053 Q359(Point-in-time tablespace recovery)Oracle
- Oracle OCP 1Z0-053 Q160(RMAN Duplex)Oracle
- Oracle OCP 1Z0-053 Q693(RMAN Image Copy)Oracle
- Oracle OCP 1Z0-053 Q486(Rman Validate)Oracle
- Oracle OCP 1Z0-053 Q291(encrypted tablespace&redo logs)Oracle
- Oracle OCP IZ0-053 Q241(RMAN Recovery Catalog Keep)Oracle
- Oracle OCP 1Z0-053 Q630(RMAN Backup Encryption)Oracle
- Oracle OCP 1Z0-053 Q6(RMAN Import Catalog)OracleImport
- Oracle OCP 1Z0-053 Q706(Rman Retention Policy)Oracle
- Oracle OCP 1Z0-053 Q671(Rman Encryption&Wallet)Oracle
- Oracle OCP 1Z0-053 Q128(Rman Image Copy Switch)Oracle
- Oracle OCP 1Z0-053 Q326(Rman Recover Command)Oracle
- oracle實驗記錄 (transport tablespace(Rman))Oracle
- Oracle OCP 1Z0-053 Q510(RMAN REPORT NEED BACKUP)Oracle
- Oracle OCP 1Z0-053 Q307(Rman execute global scripts)Oracle
- Oracle OCP 1Z0-053 Q337(Rman Catalog Start with)Oracle
- Oracle OCP 1Z0-053 Q100(Rman Duplicate Skip Readonly)Oracle
- Oracle OCP(60):RMAN 備份Oracle
- Performing Tablespace Point-in-Time Recovery with Recovery Manager(轉)ORM
- Oracle OCP 1Z0-053 (ASM)OracleASM
- Oracle OCP 1Z0-053 Q577(Rman Recover lost control files)Oracle
- Oracle OCP IZ0-053 Q694(Transportable Tablespace)Oracle
- Oracle 基於 RMAN 的不完全恢復(incomplete recovery by RMAN)Oracle
- Oracle OCP 1Z0 053 Q427(Transportable Tablespace)Oracle
- Oracle OCP IZ0-053 710(Recyclebin&Tablespace Quato)Oracle