Bo's Oracle Station

查看: 1458|回复: 0

课程第28次

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2019-12-7 09:03:00 | 显示全部楼层 |阅读模式
删除表空间时可能会遇到的问题:
  1. drop flashback archive fda1;

  2. select  * from dba_flashback_archive;

  3. select  * from dba_flashback_archive_tables;
复制代码
  1. select  * from dba_flashback_archive_ts;
  2. select  * from dba_tab_partitions  where table_name in
  3. (select  table_name  from dba_tab_partitions tp where tp.tablespace_name='USERS');
复制代码
1.png


  1. alter table hr.tpart move  partition tpart_b tablespace example;
复制代码
  1. select  * from dba_part_indexes where table_name='TPART';

  2. select  * from dba_ind_partitions  where index_name='IPART';

  3. alter index hr.ipart rebuild  partition  tpart_b tablespace example;
复制代码
  1. [oracle@station79 trace]$ pwd
  2. /u01/app/oracle/diag/rdbms/orcl/orcl/trace
  3. [oracle@station79 trace]$ grep  -B 10  'drop tablespace'  alert_orcl.log
复制代码

------------------------------
  1. Copyright (c) 1982, 2013, Oracle.  All rights reserved.

  2. SQL> conn / as sysdba
  3. Connected to an idle instance.
  4. SQL> startup
  5. ORACLE instance started.

  6. Total System Global Area 1043886080 bytes
  7. Fixed Size                  2259840 bytes
  8. Variable Size             654312576 bytes
  9. Database Buffers          381681664 bytes
  10. Redo Buffers                5632000 bytes
  11. Database mounted.
  12. Database opened.
  13. SQL> show parameter db_name

  14. NAME                                 TYPE        VALUE
  15. ------------------------------------ ----------- ------------------------------
  16. db_name                              string      rcat
  17. SQL> create tablespace rcattbs  datafile '/u01/app/oracle/oradata/rcat/rcattbs.dbf' size 50M autoextend on ;

  18. Tablespace created.

  19. SQL> create user u79 identified by oracle_4U  default tablespace rcattbs quota unlimited on rcattbs;

  20. User created.

  21. SQL> grant recovery_catalog_owner to u79;

  22. Grant succeeded.
复制代码
  1. [oracle@station79 ~]$ rman target / catalog u79/oracle_4U@rcat

  2. Recovery Manager: Release 11.2.0.4.0 - Production on Thu Oct 24 08:00:46 2019

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

  4. connected to target database: ORCL (DBID=1545528092)
  5. connected to recovery catalog database

  6. RMAN> create catalog;

  7. recovery catalog created

  8. RMAN> register database;

  9. database registered in recovery catalog
  10. starting full resync of recovery catalog
  11. full resync complete

  12. RMAN>
复制代码

  1. Recovery Manager: Release 11.2.0.4.0 - Production on Thu Oct 24 08:05:53 2019

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

  3. connected to target database: ORCL (not mounted)
  4. connected to recovery catalog database

  5. RMAN> exit   


  6. Recovery Manager complete.
  7. [oracle@station79 ~]$ rman target /                           

  8. Recovery Manager: Release 11.2.0.4.0 - Production on Thu Oct 24 08:06:03 2019

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

  10. connected to target database: ORCL (not mounted)

  11. RMAN> list backup of controlfile;

  12. using target database control file instead of recovery catalog
  13. RMAN-00571: ===========================================================
  14. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  15. RMAN-00571: ===========================================================
  16. RMAN-03002: failure of list command at 10/24/2019 08:06:14
  17. ORA-01507: database not mounted

  18. RMAN> exit                                                            


  19. Recovery Manager complete.
  20. [oracle@station79 ~]$ rman target / catalog u79/oracle_4U@rcat

  21. Recovery Manager: Release 11.2.0.4.0 - Production on Thu Oct 24 08:07:21 2019

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

  23. connected to target database: ORCL (not mounted)
  24. connected to recovery catalog database

  25. RMAN> list backup of controlfile;


  26. List of Backup Sets
  27. ===================


  28. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  29. ------- ---- -- ---------- ----------- ------------ -------------------
  30. 221     Incr 0  10.00M     SBT_TAPE    00:00:16     2019-10-23:20:08:53
  31.         BP Key: 254   Status: AVAILABLE  Compressed: NO  Tag: 1T-WHOLE-INCR0
  32.         Handle: 0duf2g65_1_1   Media: station79-000006
  33.   Control File Included: Ckp SCN: 4982367      Ckp time: 2019-10-23:20:08:37

  34. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  35. ------- ---- -- ---------- ----------- ------------ -------------------
  36. 233     Incr 1  10.00M     SBT_TAPE    00:00:23     2019-10-24:06:39:46
  37.         BP Key: 266   Status: AVAILABLE  Compressed: NO  Tag: 2T-WHOLE-INCR1
  38.         Handle: 0ouf3l4r_1_1   Media: station79-000012
  39.   Control File Included: Ckp SCN: 5044301      Ckp time: 2019-10-24:06:39:22

  40. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  41. ------- ---- -- ---------- ----------- ------------ -------------------
  42. 236     Full    10.00M     SBT_TAPE    00:00:16     2019-10-24:06:47:59
  43.         BP Key: 269   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  44.         Handle: 0suf3lkf_1_1   Media: station79-000006
  45.   Control File Included: Ckp SCN: 5050754      Ckp time: 2019-10-24:06:47:43

  46. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  47. ------- ---- -- ---------- ----------- ------------ -------------------
  48. 237     Full    10.00M     SBT_TAPE    00:00:17     2019-10-24:06:55:33
  49.         BP Key: 270   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  50.         Handle: 0uuf3m2k_1_1   Media: station79-000006
  51.   Control File Included: Ckp SCN: 5051673      Ckp time: 2019-10-24:06:55:16

  52. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  53. ------- ---- -- ---------- ----------- ------------ -------------------
  54. 238     Full    10.00M     SBT_TAPE    00:00:29     2019-10-24:07:11:37
  55.         BP Key: 271   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  56.         Handle: 10uf3n0c_1_1   Media: station79-000006
  57.   Control File Included: Ckp SCN: 5054203      Ckp time: 2019-10-24:07:11:08

  58. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  59. ------- ---- -- ---------- ----------- ------------ -------------------
  60. 239     Full    10.00M     SBT_TAPE    00:00:16     2019-10-24:07:14:36
  61.         BP Key: 272   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  62.         Handle: 13uf3n6c_1_1   Media: station79-000006
  63.   Control File Included: Ckp SCN: 5054593      Ckp time: 2019-10-24:07:14:20

  64. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  65. ------- ---- -- ---------- ----------- ------------ -------------------
  66. 240     Full    10.00M     SBT_TAPE    00:00:17     2019-10-24:07:16:56
  67.         BP Key: 273   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  68.         Handle: 15uf3nan_1_1   Media: station79-000006
  69.   Control File Included: Ckp SCN: 5054899      Ckp time: 2019-10-24:07:16:40

  70. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  71. ------- ---- -- ---------- ----------- ------------ -------------------
  72. 241     Full    10.00M     SBT_TAPE    00:00:16     2019-10-24:07:22:08
  73.         BP Key: 274   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-BEFORE-DROP
  74.         Handle: 16uf3nkg_1_1   Media: station79-000006
  75.   Control File Included: Ckp SCN: 5055387      Ckp time: 2019-10-24:07:21:52

  76. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  77. ------- ---- -- ---------- ----------- ------------ -------------------
  78. 242     Full    10.00M     SBT_TAPE    00:00:16     2019-10-24:07:24:29
  79.         BP Key: 275   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  80.         Handle: 17uf3not_1_1   Media: station79-000006
  81.   Control File Included: Ckp SCN: 5056678      Ckp time: 2019-10-24:07:24:13

  82. RMAN> list backup of controlfile;


  83. List of Backup Sets
  84. ===================


  85. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  86. ------- ---- -- ---------- ----------- ------------ -------------------
  87. 221     Incr 0  10.00M     SBT_TAPE    00:00:16     2019-10-23:20:08:53
  88.         BP Key: 254   Status: AVAILABLE  Compressed: NO  Tag: 1T-WHOLE-INCR0
  89.         Handle: 0duf2g65_1_1   Media: station79-000006
  90.   Control File Included: Ckp SCN: 4982367      Ckp time: 2019-10-23:20:08:37

  91. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  92. ------- ---- -- ---------- ----------- ------------ -------------------
  93. 233     Incr 1  10.00M     SBT_TAPE    00:00:23     2019-10-24:06:39:46
  94.         BP Key: 266   Status: AVAILABLE  Compressed: NO  Tag: 2T-WHOLE-INCR1
  95.         Handle: 0ouf3l4r_1_1   Media: station79-000012
  96.   Control File Included: Ckp SCN: 5044301      Ckp time: 2019-10-24:06:39:22

  97. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  98. ------- ---- -- ---------- ----------- ------------ -------------------
  99. 236     Full    10.00M     SBT_TAPE    00:00:16     2019-10-24:06:47:59
  100.         BP Key: 269   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  101.         Handle: 0suf3lkf_1_1   Media: station79-000006
  102.   Control File Included: Ckp SCN: 5050754      Ckp time: 2019-10-24:06:47:43

  103. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  104. ------- ---- -- ---------- ----------- ------------ -------------------
  105. 237     Full    10.00M     SBT_TAPE    00:00:17     2019-10-24:06:55:33
  106.         BP Key: 270   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  107.         Handle: 0uuf3m2k_1_1   Media: station79-000006
  108.   Control File Included: Ckp SCN: 5051673      Ckp time: 2019-10-24:06:55:16

  109. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  110. ------- ---- -- ---------- ----------- ------------ -------------------
  111. 238     Full    10.00M     SBT_TAPE    00:00:29     2019-10-24:07:11:37
  112.         BP Key: 271   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  113.         Handle: 10uf3n0c_1_1   Media: station79-000006
  114.   Control File Included: Ckp SCN: 5054203      Ckp time: 2019-10-24:07:11:08

  115. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  116. ------- ---- -- ---------- ----------- ------------ -------------------
  117. 239     Full    10.00M     SBT_TAPE    00:00:16     2019-10-24:07:14:36
  118.         BP Key: 272   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  119.         Handle: 13uf3n6c_1_1   Media: station79-000006
  120.   Control File Included: Ckp SCN: 5054593      Ckp time: 2019-10-24:07:14:20

  121. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  122. ------- ---- -- ---------- ----------- ------------ -------------------
  123. 240     Full    10.00M     SBT_TAPE    00:00:17     2019-10-24:07:16:56
  124.         BP Key: 273   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  125.         Handle: 15uf3nan_1_1   Media: station79-000006
  126.   Control File Included: Ckp SCN: 5054899      Ckp time: 2019-10-24:07:16:40

  127. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  128. ------- ---- -- ---------- ----------- ------------ -------------------
  129. 241     Full    10.00M     SBT_TAPE    00:00:16     2019-10-24:07:22:08
  130.         BP Key: 274   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-BEFORE-DROP
  131.         Handle: 16uf3nkg_1_1   Media: station79-000006
  132.   Control File Included: Ckp SCN: 5055387      Ckp time: 2019-10-24:07:21:52

  133. BS Key  Type LV Size       Device Type Elapsed Time Completion Time   
  134. ------- ---- -- ---------- ----------- ------------ -------------------
  135. 242     Full    10.00M     SBT_TAPE    00:00:16     2019-10-24:07:24:29
  136.         BP Key: 275   Status: AVAILABLE  Compressed: NO  Tag: LABS-14-CONTR-AFTER-DROP
  137.         Handle: 17uf3not_1_1   Media: station79-000006
  138.   Control File Included: Ckp SCN: 5056678      Ckp time: 2019-10-24:07:24:13

  139. RMAN> restore controlfile from tag 'LABS-14-CONTR-BEFORE-DROP';

  140. Starting restore at 2019-10-24:08:07:57
  141. allocated channel: ORA_SBT_TAPE_1
  142. channel ORA_SBT_TAPE_1: SID=25 device type=SBT_TAPE
  143. channel ORA_SBT_TAPE_1: Oracle Secure Backup
  144. allocated channel: ORA_SBT_TAPE_2
  145. channel ORA_SBT_TAPE_2: SID=26 device type=SBT_TAPE
  146. channel ORA_SBT_TAPE_2: Oracle Secure Backup
  147. allocated channel: ORA_DISK_1
  148. channel ORA_DISK_1: SID=27 device type=DISK
  149. allocated channel: ORA_DISK_2
  150. channel ORA_DISK_2: SID=28 device type=DISK
  151. allocated channel: ORA_DISK_3
  152. channel ORA_DISK_3: SID=29 device type=DISK
  153. allocated channel: ORA_DISK_4
  154. channel ORA_DISK_4: SID=30 device type=DISK
  155. allocated channel: ORA_DISK_5
  156. channel ORA_DISK_5: SID=31 device type=DISK
  157. allocated channel: ORA_DISK_6
  158. channel ORA_DISK_6: SID=32 device type=DISK
  159. allocated channel: ORA_DISK_7
  160. channel ORA_DISK_7: SID=33 device type=DISK
  161. allocated channel: ORA_DISK_8
  162. channel ORA_DISK_8: SID=34 device type=DISK

  163. channel ORA_SBT_TAPE_1: starting datafile backup set restore
  164. channel ORA_SBT_TAPE_1: restoring control file
  165. channel ORA_SBT_TAPE_1: reading from backup piece 16uf3nkg_1_1
  166. channel ORA_SBT_TAPE_1: piece handle=16uf3nkg_1_1 tag=LABS-14-CONTR-BEFORE-DROP
  167. channel ORA_SBT_TAPE_1: restored backup piece 1
  168. channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:25
  169. output file name=+DATA/orcl/controlfile/current.260.1022408353
  170. output file name=+FRA/orcl/controlfile/current.256.1022408353
  171. Finished restore at 2019-10-24:08:08:29

  172. RMAN> alter database mount;

  173. database mounted
  174. released channel: ORA_SBT_TAPE_1
  175. released channel: ORA_SBT_TAPE_2
  176. released channel: ORA_DISK_1
  177. released channel: ORA_DISK_2
  178. released channel: ORA_DISK_3
  179. released channel: ORA_DISK_4
  180. released channel: ORA_DISK_5
  181. released channel: ORA_DISK_6
  182. released channel: ORA_DISK_7
  183. released channel: ORA_DISK_8

  184. RMAN> run {
  185. 2> sql "alter session set nls_date_format=''YYYY-MM-DD:HH24:MI:SS''";
  186. 3> set until time '2019-10-24:07:22:27';
  187. 4> restore database;
  188. 5> recover database;
  189. 6> }

  190. sql statement: alter session set nls_date_format=''YYYY-MM-DD:HH24:MI:SS''

  191. executing command: SET until clause

  192. Starting restore at 2019-10-24:08:12:26
  193. Starting implicit crosscheck backup at 2019-10-24:08:12:26
  194. allocated channel: ORA_DISK_1
  195. channel ORA_DISK_1: SID=34 device type=DISK
  196. allocated channel: ORA_DISK_2
  197. channel ORA_DISK_2: SID=33 device type=DISK
  198. allocated channel: ORA_DISK_3
  199. channel ORA_DISK_3: SID=32 device type=DISK
  200. allocated channel: ORA_DISK_4
  201. channel ORA_DISK_4: SID=31 device type=DISK
  202. allocated channel: ORA_DISK_5
  203. channel ORA_DISK_5: SID=30 device type=DISK
  204. allocated channel: ORA_DISK_6
  205. channel ORA_DISK_6: SID=29 device type=DISK
  206. allocated channel: ORA_DISK_7
  207. channel ORA_DISK_7: SID=28 device type=DISK
  208. allocated channel: ORA_DISK_8
  209. channel ORA_DISK_8: SID=27 device type=DISK
  210. Finished implicit crosscheck backup at 2019-10-24:08:12:32

  211. Starting implicit crosscheck copy at 2019-10-24:08:12:32
  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. Finished implicit crosscheck copy at 2019-10-24:08:12:32

  221. searching for all files in the recovery area
  222. cataloging files...
  223. cataloging done

  224. List of Cataloged Files
  225. =======================
  226. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_161.260.1022202615
  227. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_162.261.1022209779
  228. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_163.262.1022216953
  229. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_164.263.1022223617
  230. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_165.264.1022230823
  231. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_166.265.1022239153
  232. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_167.266.1022249049
  233. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_168.267.1022252501
  234. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_169.268.1022262307
  235. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_170.269.1022272869
  236. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_171.270.1022274667
  237. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_172.271.1022280315
  238. File Name: +fra/ORCL/ARCHIVELOG/2019_10_21/thread_1_seq_173.272.1022280361

  239. allocated channel: ORA_SBT_TAPE_1
  240. channel ORA_SBT_TAPE_1: SID=25 device type=SBT_TAPE
  241. channel ORA_SBT_TAPE_1: Oracle Secure Backup
  242. allocated channel: ORA_SBT_TAPE_2
  243. channel ORA_SBT_TAPE_2: SID=37 device type=SBT_TAPE
  244. channel ORA_SBT_TAPE_2: Oracle Secure Backup
  245. using channel ORA_DISK_1
  246. using channel ORA_DISK_2
  247. using channel ORA_DISK_3
  248. using channel ORA_DISK_4
  249. using channel ORA_DISK_5
  250. using channel ORA_DISK_6
  251. using channel ORA_DISK_7
  252. using channel ORA_DISK_8

  253. channel ORA_SBT_TAPE_1: starting datafile backup set restore
  254. channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
  255. channel ORA_SBT_TAPE_1: restoring datafile 00001 to +DATA/orcl/datafile/system.256.1017747273
  256. channel ORA_SBT_TAPE_1: reading from backup piece 07uf2g1a_1_1
  257. channel ORA_SBT_TAPE_1: piece handle=07uf2g1a_1_1 tag=1T-WHOLE-INCR0
  258. channel ORA_SBT_TAPE_1: restored backup piece 1
  259. channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:45
  260. channel ORA_SBT_TAPE_1: starting datafile backup set restore
  261. channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
  262. channel ORA_SBT_TAPE_1: restoring datafile 00002 to +DATA/orcl/datafile/sysaux.257.1017747273
  263. channel ORA_SBT_TAPE_1: reading from backup piece 08uf2g2e_1_1
  264. channel ORA_SBT_TAPE_1: piece handle=08uf2g2e_1_1 tag=1T-WHOLE-INCR0
  265. channel ORA_SBT_TAPE_1: restored backup piece 1
  266. channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:35
  267. channel ORA_SBT_TAPE_1: starting datafile backup set restore
  268. channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
  269. channel ORA_SBT_TAPE_1: restoring datafile 00003 to +DATA/orcl/datafile/undotbs1.264.1022254567
  270. channel ORA_SBT_TAPE_1: restoring datafile 00005 to +DATA/orcl/datafile/example.265.1017747369
  271. channel ORA_SBT_TAPE_1: restoring datafile 00006 to +DATA/orcl/datafile/tbs1.267.1017789135
  272. channel ORA_SBT_TAPE_1: restoring datafile 00007 to +DATA/orcl/datafile/tbs2.268.1022104451
  273. channel ORA_SBT_TAPE_1: restoring datafile 00008 to /u01/app/oracle/oradata/orcl/tbs3_a.dbf
  274. channel ORA_SBT_TAPE_1: restoring datafile 00009 to /u01/app/oracle/oradata/orcl/tbs3_b.dbf
  275. channel ORA_SBT_TAPE_1: restoring datafile 00011 to +DATA/orcl/datafile/tbs5.270.1022108063
  276. channel ORA_SBT_TAPE_1: restoring datafile 00014 to +DATA/orcl/datafile/tbs_nocompression.273.1022129913
  277. channel ORA_SBT_TAPE_1: restoring datafile 00015 to +DATA/orcl/datafile/tbs_basic.274.1022129945
  278. channel ORA_SBT_TAPE_1: restoring datafile 00016 to +DATA/orcl/datafile/tbs_oltp.275.1022129967
  279. channel ORA_SBT_TAPE_1: reading from backup piece 09uf2g38_1_1
  280. channel ORA_SBT_TAPE_1: piece handle=09uf2g38_1_1 tag=1T-WHOLE-INCR0
  281. channel ORA_SBT_TAPE_1: restored backup piece 1
  282. channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:25
  283. channel ORA_SBT_TAPE_1: starting datafile backup set restore
  284. channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
  285. channel ORA_SBT_TAPE_1: restoring datafile 00017 to +DATA/orcl/datafile/tbs6.276.1022136411
  286. channel ORA_SBT_TAPE_1: restoring datafile 00018 to +DATA/orcl/datafile/tbsaudit.277.1022182039
  287. channel ORA_SBT_TAPE_1: restoring datafile 00019 to +HIGHDATA/orcl/datafile/tbshighdata1.256.1022396685
  288. channel ORA_SBT_TAPE_1: restoring datafile 00020 to +HIGHDATA/orcl/datadir/tbshighdata2.dbf
  289. channel ORA_SBT_TAPE_1: restoring datafile 00021 to +DATA/orcl/datafile/tbs7.258.1022401035
  290. channel ORA_SBT_TAPE_1: restoring datafile 00022 to +DATA/orcl/datadir/tbs8.dbf
  291. channel ORA_SBT_TAPE_1: reading from backup piece 0auf2g41_1_1
  292. channel ORA_SBT_TAPE_1: piece handle=0auf2g41_1_1 tag=1T-WHOLE-INCR0
  293. channel ORA_SBT_TAPE_1: restored backup piece 1
  294. channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:25
  295. channel ORA_SBT_TAPE_1: starting datafile backup set restore
  296. channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
  297. channel ORA_SBT_TAPE_1: restoring datafile 00010 to +DATA/orcl/datafile/tbs4.269.1022107971
  298. channel ORA_SBT_TAPE_1: reading from backup piece 0buf2g4h_1_1
  299. channel ORA_SBT_TAPE_1: piece handle=0buf2g4h_1_1 tag=1T-WHOLE-INCR0
  300. channel ORA_SBT_TAPE_1: restored backup piece 1
  301. channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:25
  302. channel ORA_SBT_TAPE_1: starting datafile backup set restore
  303. channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
  304. channel ORA_SBT_TAPE_1: restoring datafile 00012 to +DATA/orcl/datafile/tbs4.271.1022108093
  305. channel ORA_SBT_TAPE_1: reading from backup piece 0cuf2g5c_1_1
  306. channel ORA_SBT_TAPE_1: piece handle=0cuf2g5c_1_1 tag=1T-WHOLE-INCR0
  307. channel ORA_SBT_TAPE_1: restored backup piece 1
  308. channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:25
  309. channel ORA_SBT_TAPE_1: starting datafile backup set restore
  310. channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
  311. channel ORA_SBT_TAPE_1: restoring datafile 00013 to +DATA/orcl/datafile/tbs16k.272.1022119203
  312. channel ORA_SBT_TAPE_1: reading from backup piece 0euf2g6n_1_1
  313. channel ORA_SBT_TAPE_1: piece handle=0euf2g6n_1_1 tag=1T-WHOLE-INCR0
  314. channel ORA_SBT_TAPE_1: restored backup piece 1
  315. channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:00:25
  316. Finished restore at 2019-10-24:08:16:14

  317. Starting recover at 2019-10-24:08:16:14
  318. using channel ORA_SBT_TAPE_1
  319. using channel ORA_SBT_TAPE_2
  320. using channel ORA_DISK_1
  321. using channel ORA_DISK_2
  322. using channel ORA_DISK_3
  323. using channel ORA_DISK_4
  324. using channel ORA_DISK_5
  325. using channel ORA_DISK_6
  326. using channel ORA_DISK_7
  327. using channel ORA_DISK_8
  328. channel ORA_SBT_TAPE_1: starting incremental datafile backup set restore
  329. channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
  330. destination for restore of datafile 00001: +DATA/orcl/datafile/system.256.1017747273
  331. channel ORA_SBT_TAPE_1: reading from backup piece 0iuf3l0l_1_1
  332. channel ORA_SBT_TAPE_2: starting incremental datafile backup set restore
  333. channel ORA_SBT_TAPE_2: specifying datafile(s) to restore from backup set
  334. destination for restore of datafile 00017: +DATA/orcl/datafile/tbs6.276.1022136411
  335. destination for restore of datafile 00018: +DATA/orcl/datafile/tbsaudit.277.1022182039
  336. destination for restore of datafile 00019: +HIGHDATA/orcl/datafile/tbshighdata1.256.1022396685
  337. destination for restore of datafile 00020: +HIGHDATA/orcl/datadir/tbshighdata2.dbf
  338. destination for restore of datafile 00021: +DATA/orcl/datafile/tbs7.258.1022401035
  339. destination for restore of datafile 00022: +DATA/orcl/datadir/tbs8.dbf
  340. channel ORA_SBT_TAPE_2: reading from backup piece 0luf3l40_1_1
  341. PSDRPC returns significant error 1013.
  342. RMAN-00571: ===========================================================
  343. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  344. RMAN-00571: ===========================================================
  345. RMAN-03002: failure of recover command at 10/24/2019 08:16:57
  346. ORA-19870: error while restoring backup piece 0iuf3l0l_1_1
  347. ORA-00600: internal error code, arguments: [krbrpr_no_buffer], [0iuf3l0l_1_1], [2], [0], [], [], [], [], [], [], [], []

  348. RMAN> crosscheck backup;

  349. using channel ORA_SBT_TAPE_1
  350. using channel ORA_SBT_TAPE_2
  351. using channel ORA_DISK_1
  352. using channel ORA_DISK_2
  353. using channel ORA_DISK_3
  354. using channel ORA_DISK_4
  355. using channel ORA_DISK_5
  356. using channel ORA_DISK_6
  357. using channel ORA_DISK_7
  358. using channel ORA_DISK_8
  359. crosschecked backup piece: found to be 'AVAILABLE'
  360. backup piece handle=02uf2fv7_1_1 RECID=1 STAMP=1022443495
  361. crosschecked backup piece: found to be 'AVAILABLE'
  362. backup piece handle=01uf2fv6_1_1 RECID=2 STAMP=1022443495
  363. crosschecked backup piece: found to be 'AVAILABLE'
  364. backup piece handle=03uf2g0a_1_1 RECID=3 STAMP=1022443530
  365. crosschecked backup piece: found to be 'AVAILABLE'
  366. backup piece handle=04uf2g0a_1_1 RECID=4 STAMP=1022443530
  367. crosschecked backup piece: found to be 'AVAILABLE'
  368. backup piece handle=05uf2g0q_1_1 RECID=5 STAMP=1022443546
  369. crosschecked backup piece: found to be 'AVAILABLE'
  370. backup piece handle=07uf2g1a_1_1 RECID=6 STAMP=1022443563
  371. crosschecked backup piece: found to be 'AVAILABLE'
  372. backup piece handle=08uf2g2e_1_1 RECID=7 STAMP=1022443598
  373. crosschecked backup piece: found to be 'AVAILABLE'
  374. backup piece handle=09uf2g38_1_1 RECID=8 STAMP=1022443626
  375. crosschecked backup piece: found to be 'AVAILABLE'
  376. backup piece handle=0auf2g41_1_1 RECID=9 STAMP=1022443649
  377. crosschecked backup piece: found to be 'AVAILABLE'
  378. backup piece handle=0buf2g4h_1_1 RECID=10 STAMP=1022443668
  379. crosschecked backup piece: found to be 'AVAILABLE'
  380. backup piece handle=0cuf2g5c_1_1 RECID=11 STAMP=1022443692
  381. crosschecked backup piece: found to be 'AVAILABLE'
  382. backup piece handle=0duf2g65_1_1 RECID=12 STAMP=1022443718
  383. crosschecked backup piece: found to be 'AVAILABLE'
  384. backup piece handle=06uf2g1a_1_1 RECID=13 STAMP=1022443562
  385. crosschecked backup piece: found to be 'AVAILABLE'
  386. backup piece handle=0euf2g6n_1_1 RECID=14 STAMP=1022443737
  387. crosschecked backup piece: found to be 'AVAILABLE'
  388. backup piece handle=0fuf2g77_1_1 RECID=15 STAMP=1022443751
  389. crosschecked backup piece: found to be 'AVAILABLE'
  390. backup piece handle=0guf2g81_1_1 RECID=16 STAMP=1022443777
  391. crosschecked backup piece: found to be 'AVAILABLE'
  392. backup piece handle=0iuf3l0l_1_1 RECID=17 STAMP=1022481429
  393. crosschecked backup piece: found to be 'AVAILABLE'
  394. backup piece handle=0juf3l1q_1_1 RECID=18 STAMP=1022481469
  395. crosschecked backup piece: found to be 'AVAILABLE'
  396. backup piece handle=0huf3l0l_1_1 RECID=19 STAMP=1022481429
  397. crosschecked backup piece: found to be 'AVAILABLE'
  398. backup piece handle=0kuf3l32_1_1 RECID=20 STAMP=1022481511
  399. crosschecked backup piece: found to be 'AVAILABLE'
  400. backup piece handle=0luf3l40_1_1 RECID=21 STAMP=1022481536
  401. crosschecked backup piece: found to be 'AVAILABLE'
  402. backup piece handle=0muf3l41_1_1 RECID=22 STAMP=1022481537
  403. crosschecked backup piece: found to be 'AVAILABLE'
  404. backup piece handle=0nuf3l4q_1_1 RECID=23 STAMP=1022481562
  405. crosschecked backup piece: found to be 'AVAILABLE'
  406. backup piece handle=0ouf3l4r_1_1 RECID=24 STAMP=1022481564
  407. crosschecked backup piece: found to be 'AVAILABLE'
  408. backup piece handle=0puf3l5l_1_1 RECID=25 STAMP=1022481590
  409. crosschecked backup piece: found to be 'AVAILABLE'
  410. backup piece handle=0quf3l5m_1_1 RECID=26 STAMP=1022481590
  411. crosschecked backup piece: found to be 'AVAILABLE'
  412. backup piece handle=0suf3lkf_1_1 RECID=28 STAMP=1022482064
  413. crosschecked backup piece: found to be 'AVAILABLE'
  414. backup piece handle=0uuf3m2k_1_1 RECID=30 STAMP=1022482517
  415. crosschecked backup piece: found to be 'AVAILABLE'
  416. backup piece handle=10uf3n0c_1_1 RECID=32 STAMP=1022483470
  417. crosschecked backup piece: found to be 'AVAILABLE'
  418. backup piece handle=13uf3n6c_1_1 RECID=35 STAMP=1022483661
  419. crosschecked backup piece: found to be 'AVAILABLE'
  420. backup piece handle=15uf3nan_1_1 RECID=37 STAMP=1022483801
  421. crosschecked backup piece: found to be 'AVAILABLE'
  422. backup piece handle=16uf3nkg_1_1 RECID=38 STAMP=1022484113
  423. crosschecked backup piece: found to be 'AVAILABLE'
  424. backup piece handle=17uf3not_1_1 RECID=39 STAMP=1022484254
  425. Crosschecked 33 objects


  426. RMAN> list expired backupset;

  427. specification does not match any backup in the repository

  428. RMAN> list expired copy;

  429. specification does not match any datafile copy in the repository
  430. specification does not match any control file copy in the repository
  431. specification does not match any archived log in the repository

  432. RMAN>
复制代码


回复

使用道具 举报

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

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-5-9 06:22 , Processed in 0.151375 second(s), 27 queries .

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