Bo's Oracle Station

查看: 2176|回复: 0

课程第29/30次(2016-12-25星期日上下午)

[复制链接]

75

主题

115

帖子

2772

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2772
发表于 2016-12-26 11:24:08 | 显示全部楼层 |阅读模式
12c CLOUDCONTROL和12c OCP的配置
(昨天课堂真实录屏,剪掉了几句无关紧要的话。上午教室隔壁公司装修,录屏中可以想像当时全班遭受了什么样的噪音折磨。幸好下午就不再装修了。)



上完1Z0-052第15章(图形界面配置备份)
上完1Z0-052第16章(简单恢复)
(052共19章,053共21章,063多租户共9章,49-17)
  1. [root@station90 桌面]# su - oracle
  2. [oracle@station90 ~]$ sqlplus /nolog

  3. SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 27 16:12:25 2016

  4. Copyright (c) 1982, 2009, Oracle.  All rights reserved.

  5. SQL> conn / as sysdba
  6. Connected.
  7. SQL> alter database backup controlfile to trace ;

  8. Database altered.

  9. SQL> !ps
  10.   PID TTY          TIME CMD
  11. 15878 pts/28   00:00:00 sqlplus
  12. 17469 pts/28   00:00:00 ps

  13. SQL> select  spid  from v$session  s , v$process p
  14.   2   where s.paddr=p.addr
  15.   3   and s.terminal='pts/28';

  16. SPID
  17. ------------------------
  18. 15917

  19. SQL> exit
  20. Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
  21. With the Partitioning, Automatic Storage Management, OLAP, Data Mining
  22. and Real Application Testing options
  23. [oracle@station90 ~]$ rman target /

  24. Recovery Manager: Release 11.2.0.1.0 - Production on Tue Dec 27 17:56:04 2016

  25. Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

  26. connected to target database: ORCL (DBID=1343950367)

  27. RMAN> list failure;

  28. using target database control file instead of recovery catalog
  29. List of Database Failures
  30. =========================

  31. Failure ID Priority Status    Time Detected Summary
  32. ---------- -------- --------- ------------- -------
  33. 2808       HIGH     OPEN      27-DEC-16     Tablespace 4: 'USERS' is offline
  34. 788        HIGH     OPEN      27-DEC-16     One or more non-system datafiles are missing

  35. RMAN> advise failure all;

  36. List of Database Failures
  37. =========================

  38. Failure ID Priority Status    Time Detected Summary
  39. ---------- -------- --------- ------------- -------
  40. 2808       HIGH     OPEN      27-DEC-16     Tablespace 4: 'USERS' is offline
  41. 788        HIGH     OPEN      27-DEC-16     One or more non-system datafiles are missing

  42. analyzing automatic repair options; this may take some time
  43. allocated channel: ORA_DISK_1
  44. channel ORA_DISK_1: SID=145 device type=DISK
  45. allocated channel: ORA_DISK_2
  46. channel ORA_DISK_2: SID=81 device type=DISK
  47. allocated channel: ORA_DISK_3
  48. channel ORA_DISK_3: SID=79 device type=DISK
  49. allocated channel: ORA_DISK_4
  50. channel ORA_DISK_4: SID=138 device type=DISK
  51. allocated channel: ORA_DISK_5
  52. channel ORA_DISK_5: SID=206 device type=DISK
  53. allocated channel: ORA_DISK_6
  54. channel ORA_DISK_6: SID=21 device type=DISK
  55. allocated channel: ORA_DISK_7
  56. channel ORA_DISK_7: SID=82 device type=DISK
  57. allocated channel: ORA_DISK_8
  58. channel ORA_DISK_8: SID=143 device type=DISK
  59. allocated channel: ORA_SBT_TAPE_1
  60. channel ORA_SBT_TAPE_1: SID=205 device type=SBT_TAPE
  61. channel ORA_SBT_TAPE_1: Oracle Secure Backup
  62. allocated channel: ORA_SBT_TAPE_2
  63. channel ORA_SBT_TAPE_2: SID=80 device type=SBT_TAPE
  64. channel ORA_SBT_TAPE_2: Oracle Secure Backup
  65. analyzing automatic repair options complete

  66. Not all specified failures can currently be repaired.
  67. The following failures must be repaired before advise for others can be given.

  68. Failure ID Priority Status    Time Detected Summary
  69. ---------- -------- --------- ------------- -------
  70. 788        HIGH     OPEN      27-DEC-16     One or more non-system datafiles are missing

  71. Mandatory Manual Actions
  72. ========================
  73. 1. If file +DATA/orcl/datafile/users.259.930909037 was unintentionally renamed or moved, restore it
  74. 2. If you have an export of tablespace USERS, then drop and re-create the tablespace and import the data.
  75. 3. Contact Oracle Support Services if the preceding recommendations cannot be used, or if they do not fix the failures selected for repair

  76. Optional Manual Actions
  77. =======================
  78. no manual actions available

  79. Automated Repair Options
  80. ========================
  81. no automatic repair options available

  82. RMAN> repaire failure preview;

  83. RMAN-00571: ===========================================================
  84. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  85. RMAN-00571: ===========================================================
  86. RMAN-00558: error encountered while parsing input commands
  87. RMAN-01009: syntax error: found "identifier": expecting one of: "advise, allocate, alter, backup, @, catalog, change, configure, connect, convert, copy, create, crosscheck, delete, drop, duplicate, exit, flashback, grant, host, import, list, mount, open, print, quit, recover, register, release, repair, replace, report, reset, restore, resync, revoke, run, send, set, show, shutdown, spool, sql, startup, switch, transport, unregister, upgrade, validate, {, "
  88. RMAN-01008: the bad identifier was: repaire
  89. RMAN-01007: at line 1 column 1 file: standard input

  90. RMAN> repair failure preview;

  91. RMAN-00571: ===========================================================
  92. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  93. RMAN-00571: ===========================================================
  94. RMAN-03002: failure of repair command at 12/27/2016 17:58:32
  95. RMAN-06953: no automatic repairs were listed by ADVISE FAILURE

  96. RMAN> list backup of  datafile '+DATA/orcl/datafile/users.259.930909037';


  97. List of Backup Sets
  98. ===================


  99. BS Key  Type LV Size       Device Type Elapsed Time Completion Time
  100. ------- ---- -- ---------- ----------- ------------ ---------------
  101. 63      Full    675.75M    SBT_TAPE    00:00:46     25-DEC-16      
  102.         BP Key: 69   Status: AVAILABLE  Compressed: NO  Tag: TAG20161225T152607
  103.         Handle: 34roc54f_1_1   Media: station90-000011
  104.   List of Datafiles in backup set 63
  105.   File LV Type Ckp SCN    Ckp Time  Name
  106.   ---- -- ---- ---------- --------- ----
  107.   4       Full 1639605    25-DEC-16 +DATA/orcl/datafile/users.259.930909037

  108. BS Key  Type LV Size       Device Type Elapsed Time Completion Time
  109. ------- ---- -- ---------- ----------- ------------ ---------------
  110. 65      Incr 1  18.48M     DISK        00:00:02     26-DEC-16      
  111.         BP Key: 72   Status: AVAILABLE  Compressed: NO  Tag: ORA_OEM_LEVEL_0
  112.         Piece Name: +FRA/orcl/backupset/2016_12_26/nnndn1_ora_oem_level_0_0.392.931620325
  113.   List of Datafiles in backup set 65
  114.   File LV Type Ckp SCN    Ckp Time  Name
  115.   ---- -- ---- ---------- --------- ----
  116.   4    1  Incr 1643178    26-DEC-16 +DATA/orcl/datafile/users.259.930909037

  117. BS Key  Type LV Size       Device Type Elapsed Time Completion Time
  118. ------- ---- -- ---------- ----------- ------------ ---------------
  119. 70      Incr 1  20.14M     DISK        00:00:01     27-DEC-16      
  120.         BP Key: 77   Status: AVAILABLE  Compressed: NO  Tag: ORA_OEM_LEVEL_0
  121.         Piece Name: +FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.382.931706737
  122.   List of Datafiles in backup set 70
  123.   File LV Type Ckp SCN    Ckp Time  Name
  124.   ---- -- ---- ---------- --------- ----
  125.   4    1  Incr 1647548    27-DEC-16 +DATA/orcl/datafile/users.259.930909037

  126. BS Key  Type LV Size       Device Type Elapsed Time Completion Time
  127. ------- ---- -- ---------- ----------- ------------ ---------------
  128. 75      Incr 1  94.16M     DISK        00:00:02     27-DEC-16      
  129.         BP Key: 82   Status: AVAILABLE  Compressed: NO  Tag: ORA_OEM_LEVEL_0
  130.         Piece Name: +FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.376.931707425
  131.   List of Datafiles in backup set 75
  132.   File LV Type Ckp SCN    Ckp Time  Name
  133.   ---- -- ---- ---------- --------- ----
  134.   4    1  Incr 1649995    27-DEC-16 +DATA/orcl/datafile/users.259.930909037

  135. BS Key  Type LV Size       Device Type Elapsed Time Completion Time
  136. ------- ---- -- ---------- ----------- ------------ ---------------
  137. 80      Incr 1  6.10M      DISK        00:00:01     27-DEC-16      
  138.         BP Key: 87   Status: AVAILABLE  Compressed: NO  Tag: ORA_OEM_LEVEL_0
  139.         Piece Name: +FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.373.931708447
  140.   List of Datafiles in backup set 80
  141.   File LV Type Ckp SCN    Ckp Time  Name
  142.   ---- -- ---- ---------- --------- ----
  143.   4    1  Incr 1652048    27-DEC-16 +DATA/orcl/datafile/users.259.930909037

  144. BS Key  Type LV Size       Device Type Elapsed Time Completion Time
  145. ------- ---- -- ---------- ----------- ------------ ---------------
  146. 85      Incr 1  13.18M     DISK        00:00:01     27-DEC-16      
  147.         BP Key: 92   Status: AVAILABLE  Compressed: NO  Tag: ORA_OEM_LEVEL_0
  148.         Piece Name: +FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.369.931708565
  149.   List of Datafiles in backup set 85
  150.   File LV Type Ckp SCN    Ckp Time  Name
  151.   ---- -- ---- ---------- --------- ----
  152.   4    1  Incr 1654105    27-DEC-16 +DATA/orcl/datafile/users.259.930909037

  153. BS Key  Type LV Size       Device Type Elapsed Time Completion Time
  154. ------- ---- -- ---------- ----------- ------------ ---------------
  155. 89      Incr 1  904.00K    DISK        00:00:00     27-DEC-16      
  156.         BP Key: 96   Status: AVAILABLE  Compressed: NO  Tag: ORA_OEM_LEVEL_0
  157.         Piece Name: +FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.366.931708685
  158.   List of Datafiles in backup set 89
  159.   File LV Type Ckp SCN    Ckp Time  Name
  160.   ---- -- ---- ---------- --------- ----
  161.   4    1  Incr 1654400    27-DEC-16 +DATA/orcl/datafile/users.259.930909037

  162. RMAN> list copy of  datafile '+DATA/orcl/datafile/users.259.930909037';

  163. List of Datafile Copies
  164. =======================

  165. Key     File S Completion Time Ckp SCN    Ckp Time      
  166. ------- ---- - --------------- ---------- ---------------
  167. 32      4    A 27-DEC-16       1654105    27-DEC-16      
  168.         Name: +FRA/orcl/datafile/users.390.931533947
  169.         Tag: ORA_OEM_LEVEL_0


  170. RMAN> restore datafile '+DATA/orcl/datafile/users.259.930909037';

  171. Starting restore at 27-DEC-16
  172. using channel ORA_DISK_1
  173. using channel ORA_DISK_2
  174. using channel ORA_DISK_3
  175. using channel ORA_DISK_4
  176. using channel ORA_DISK_5
  177. using channel ORA_DISK_6
  178. using channel ORA_DISK_7
  179. using channel ORA_DISK_8
  180. using channel ORA_SBT_TAPE_1
  181. using channel ORA_SBT_TAPE_2

  182. channel ORA_DISK_1: restoring datafile 00004
  183. input datafile copy RECID=32 STAMP=931708682 file name=+FRA/orcl/datafile/users.390.931533947
  184. destination for restore of datafile 00004: +DATA/orcl/datafile/users.259.930909037
  185. ORA-19505: failed to identify file "+FRA/orcl/datafile/users.390.931533947"
  186. ORA-17503: ksfdopn:2 Failed to open file +FRA/orcl/datafile/users.390.931533947
  187. ORA-15012: ASM file '+FRA/orcl/datafile/users.390.931533947' does not exist
  188. ORA-19600: input file is datafile-copy 32 (+FRA/orcl/datafile/users.390.931533947)
  189. ORA-19601: output file is datafile 4 (+DATA)

  190. failover to previous backup

  191. channel ORA_SBT_TAPE_1: starting datafile backup set restore
  192. channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
  193. channel ORA_SBT_TAPE_1: restoring datafile 00004 to +DATA/orcl/datafile/users.259.930909037
  194. channel ORA_SBT_TAPE_1: reading from backup piece 34roc54f_1_1
  195. channel ORA_SBT_TAPE_1: piece handle=34roc54f_1_1 tag=TAG20161225T152607
  196. channel ORA_SBT_TAPE_1: restored backup piece 1
  197. channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:55
  198. Finished restore at 27-DEC-16

  199. RMAN> list failure;

  200. List of Database Failures
  201. =========================

  202. Failure ID Priority Status    Time Detected Summary
  203. ---------- -------- --------- ------------- -------
  204. 2808       HIGH     OPEN      27-DEC-16     Tablespace 4: 'USERS' is offline

  205. RMAN> advise failure all;

  206. List of Database Failures
  207. =========================

  208. Failure ID Priority Status    Time Detected Summary
  209. ---------- -------- --------- ------------- -------
  210. 2808       HIGH     OPEN      27-DEC-16     Tablespace 4: 'USERS' is offline

  211. analyzing automatic repair options; this may take some time
  212. using channel ORA_DISK_1
  213. using channel ORA_DISK_2
  214. using channel ORA_DISK_3
  215. using channel ORA_DISK_4
  216. using channel ORA_DISK_5
  217. using channel ORA_DISK_6
  218. using channel ORA_DISK_7
  219. using channel ORA_DISK_8
  220. using channel ORA_SBT_TAPE_1
  221. using channel ORA_SBT_TAPE_2
  222. analyzing automatic repair options complete

  223. Mandatory Manual Actions
  224. ========================
  225. 1. Please contact Oracle Support Services to resolve failure 2808: Tablespace 4: 'USERS' is offline

  226. Optional Manual Actions
  227. =======================
  228. no manual actions available

  229. Automated Repair Options
  230. ========================
  231. no automatic repair options available

  232. RMAN> repair failure preview;

  233. RMAN-00571: ===========================================================
  234. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  235. RMAN-00571: ===========================================================
  236. RMAN-03002: failure of repair command at 12/27/2016 18:01:31
  237. RMAN-06953: no automatic repairs were listed by ADVISE FAILURE

  238. RMAN> sql "alter tablespace users online";

  239. sql statement: alter tablespace users online
  240. RMAN-00571: ===========================================================
  241. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  242. RMAN-00571: ===========================================================
  243. RMAN-03009: failure of sql command on default channel at 12/27/2016 18:01:48
  244. RMAN-11003: failure during parse/execution of SQL statement: alter tablespace users online
  245. ORA-01113: file 4 needs media recovery
  246. ORA-01110: data file 4: '+DATA/orcl/datafile/users.259.931716043'

  247. RMAN> list failure;

  248. List of Database Failures
  249. =========================

  250. Failure ID Priority Status    Time Detected Summary
  251. ---------- -------- --------- ------------- -------
  252. 8          HIGH     OPEN      27-DEC-16     One or more non-system datafiles need media recovery
  253. 2808       HIGH     OPEN      27-DEC-16     Tablespace 4: 'USERS' is offline

  254. RMAN> advise failure all;

  255. List of Database Failures
  256. =========================

  257. Failure ID Priority Status    Time Detected Summary
  258. ---------- -------- --------- ------------- -------
  259. 8          HIGH     OPEN      27-DEC-16     One or more non-system datafiles need media recovery
  260. 2808       HIGH     OPEN      27-DEC-16     Tablespace 4: 'USERS' is offline

  261. analyzing automatic repair options; this may take some time
  262. using channel ORA_DISK_1
  263. using channel ORA_DISK_2
  264. using channel ORA_DISK_3
  265. using channel ORA_DISK_4
  266. using channel ORA_DISK_5
  267. using channel ORA_DISK_6
  268. using channel ORA_DISK_7
  269. using channel ORA_DISK_8
  270. using channel ORA_SBT_TAPE_1
  271. using channel ORA_SBT_TAPE_2
  272. analyzing automatic repair options complete

  273. Not all specified failures can currently be repaired.
  274. The following failures must be repaired before advise for others can be given.

  275. Failure ID Priority Status    Time Detected Summary
  276. ---------- -------- --------- ------------- -------
  277. 8          HIGH     OPEN      27-DEC-16     One or more non-system datafiles need media recovery

  278. Mandatory Manual Actions
  279. ========================
  280. no manual actions available

  281. Optional Manual Actions
  282. =======================
  283. 1. If you restored the wrong version of data file +DATA/orcl/datafile/users.259.931716043, then replace it with the correct one

  284. Automated Repair Options
  285. ========================
  286. Option Repair Description
  287. ------ ------------------
  288. 1      Recover datafile 4  
  289.   Strategy: The repair includes complete media recovery with no data loss
  290.   Repair script: /u01/app/oracle/diag/rdbms/orcl/orcl/hm/reco_2101988646.hm

  291. RMAN> repair failure preview;

  292. Strategy: The repair includes complete media recovery with no data loss
  293. Repair script: /u01/app/oracle/diag/rdbms/orcl/orcl/hm/reco_2101988646.hm

  294. contents of repair script:
  295.    # recover datafile
  296.    sql 'alter database datafile 4 offline';
  297.    recover datafile 4;
  298.    sql 'alter database datafile 4 online';

  299. RMAN> repair failure;

  300. Strategy: The repair includes complete media recovery with no data loss
  301. Repair script: /u01/app/oracle/diag/rdbms/orcl/orcl/hm/reco_2101988646.hm

  302. contents of repair script:
  303.    # recover datafile
  304.    sql 'alter database datafile 4 offline';
  305.    recover datafile 4;
  306.    sql 'alter database datafile 4 online';

  307. Do you really want to execute the above repair (enter YES or NO)? YES
  308. executing repair script

  309. sql statement: alter database datafile 4 offline

  310. Starting recover at 27-DEC-16
  311. using channel ORA_DISK_1
  312. using channel ORA_DISK_2
  313. using channel ORA_DISK_3
  314. using channel ORA_DISK_4
  315. using channel ORA_DISK_5
  316. using channel ORA_DISK_6
  317. using channel ORA_DISK_7
  318. using channel ORA_DISK_8
  319. using channel ORA_SBT_TAPE_1
  320. using channel ORA_SBT_TAPE_2
  321. channel ORA_DISK_1: starting incremental datafile backup set restore
  322. channel ORA_DISK_1: specifying datafile(s) to restore from backup set
  323. destination for restore of datafile 00004: +DATA/orcl/datafile/users.259.931716043
  324. channel ORA_DISK_1: reading from backup piece +FRA/orcl/backupset/2016_12_26/nnndn1_ora_oem_level_0_0.392.931620325
  325. channel ORA_DISK_1: piece handle=+FRA/orcl/backupset/2016_12_26/nnndn1_ora_oem_level_0_0.392.931620325 tag=ORA_OEM_LEVEL_0
  326. channel ORA_DISK_1: restored backup piece 1
  327. channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
  328. channel ORA_DISK_1: starting incremental datafile backup set restore
  329. channel ORA_DISK_1: specifying datafile(s) to restore from backup set
  330. destination for restore of datafile 00004: +DATA/orcl/datafile/users.259.931716043
  331. channel ORA_DISK_1: reading from backup piece +FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.382.931706737
  332. channel ORA_DISK_1: piece handle=+FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.382.931706737 tag=ORA_OEM_LEVEL_0
  333. channel ORA_DISK_1: restored backup piece 1
  334. channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
  335. channel ORA_DISK_1: starting incremental datafile backup set restore
  336. channel ORA_DISK_1: specifying datafile(s) to restore from backup set
  337. destination for restore of datafile 00004: +DATA/orcl/datafile/users.259.931716043
  338. channel ORA_DISK_1: reading from backup piece +FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.376.931707425
  339. channel ORA_DISK_1: piece handle=+FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.376.931707425 tag=ORA_OEM_LEVEL_0
  340. channel ORA_DISK_1: restored backup piece 1
  341. channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
  342. channel ORA_DISK_1: starting incremental datafile backup set restore
  343. channel ORA_DISK_1: specifying datafile(s) to restore from backup set
  344. destination for restore of datafile 00004: +DATA/orcl/datafile/users.259.931716043
  345. channel ORA_DISK_1: reading from backup piece +FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.373.931708447
  346. channel ORA_DISK_1: piece handle=+FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.373.931708447 tag=ORA_OEM_LEVEL_0
  347. channel ORA_DISK_1: restored backup piece 1
  348. channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
  349. channel ORA_DISK_1: starting incremental datafile backup set restore
  350. channel ORA_DISK_1: specifying datafile(s) to restore from backup set
  351. destination for restore of datafile 00004: +DATA/orcl/datafile/users.259.931716043
  352. channel ORA_DISK_1: reading from backup piece +FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.369.931708565
  353. channel ORA_DISK_1: piece handle=+FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.369.931708565 tag=ORA_OEM_LEVEL_0
  354. channel ORA_DISK_1: restored backup piece 1
  355. channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
  356. channel ORA_DISK_1: starting incremental datafile backup set restore
  357. channel ORA_DISK_1: specifying datafile(s) to restore from backup set
  358. destination for restore of datafile 00004: +DATA/orcl/datafile/users.259.931716043
  359. channel ORA_DISK_1: reading from backup piece +FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.366.931708685
  360. channel ORA_DISK_1: piece handle=+FRA/orcl/backupset/2016_12_27/nnndn1_ora_oem_level_0_0.366.931708685 tag=ORA_OEM_LEVEL_0
  361. channel ORA_DISK_1: restored backup piece 1
  362. channel ORA_DISK_1: restore complete, elapsed time: 00:00:01

  363. starting media recovery

  364. archived log for thread 1 with sequence 73 is already on disk as file +FRA/orcl/archivelog/2016_12_27/thread_1_seq_73.364.931708705
  365. archived log for thread 1 with sequence 74 is already on disk as file +FRA/orcl/archivelog/2016_12_27/thread_1_seq_74.363.931708817
  366. archived log for thread 1 with sequence 75 is already on disk as file +FRA/orcl/archivelog/2016_12_27/thread_1_seq_75.362.931715235
  367. archived log for thread 1 with sequence 76 is already on disk as file +FRA/orcl/archivelog/2016_12_27/thread_1_seq_76.361.931715235
  368. archived log for thread 1 with sequence 77 is already on disk as file +FRA/orcl/archivelog/2016_12_27/thread_1_seq_77.360.931715239
  369. archived log for thread 1 with sequence 78 is already on disk as file +FRA/orcl/archivelog/2016_12_27/thread_1_seq_78.359.931715239
  370. archived log for thread 1 with sequence 79 is already on disk as file +FRA/orcl/archivelog/2016_12_27/thread_1_seq_79.358.931715241
  371. archived log for thread 1 with sequence 80 is already on disk as file +FRA/orcl/archivelog/2016_12_27/thread_1_seq_80.357.931715243
  372. archived log file name=+FRA/orcl/archivelog/2016_12_27/thread_1_seq_73.364.931708705 thread=1 sequence=73
  373. archived log file name=+FRA/orcl/archivelog/2016_12_27/thread_1_seq_74.363.931708817 thread=1 sequence=74
  374. archived log file name=+FRA/orcl/archivelog/2016_12_27/thread_1_seq_75.362.931715235 thread=1 sequence=75
  375. archived log file name=+FRA/orcl/archivelog/2016_12_27/thread_1_seq_76.361.931715235 thread=1 sequence=76
  376. archived log file name=+FRA/orcl/archivelog/2016_12_27/thread_1_seq_77.360.931715239 thread=1 sequence=77
  377. archived log file name=+FRA/orcl/archivelog/2016_12_27/thread_1_seq_78.359.931715239 thread=1 sequence=78
  378. media recovery complete, elapsed time: 00:00:01
  379. Finished recover at 27-DEC-16

  380. sql statement: alter database datafile 4 online
  381. repair failure complete

  382. RMAN> list failure;

  383. List of Database Failures
  384. =========================

  385. Failure ID Priority Status    Time Detected Summary
  386. ---------- -------- --------- ------------- -------
  387. 2808       HIGH     OPEN      27-DEC-16     Tablespace 4: 'USERS' is offline

  388. RMAN> sql "alter tablespace users online";

  389. sql statement: alter tablespace users online

  390. RMAN> list failure;

  391. no failures found that match specification

  392. RMAN> exit


  393. Recovery Manager complete.
  394. [oracle@station90 ~]$
复制代码

DRA:
Screenshot.png


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-11-22 04:55 , Processed in 0.046309 second(s), 31 queries .

快速回复 返回顶部 返回列表