星空网 > 软件开发 > 数据库

RMAN还原32位数据库到64位实例的错误处理

将ORACLE 10g 32bit数据库还原到测试机ORACLE 10g 64bit的数据库实例上, 还原、恢复数据库后,使用open resetlogs打开数据库后,发现警告日志里面有ORA-12012以及ORA-06553错误:

Sun Mar  8 13:31:08 2015
LOGSTDBY: Validation complete
Starting control autobackup
Control autobackup written to DISK device
        handle '/u03/flash_recovery_area/backup/backupsets/ora_cfc-2179993557-20150308-00'
Completed: alter database open resetlogs
Sun Mar  8 13:31:09 2015
Errors in file /u01/app/oracle/admin/epps/bdump/epps_j000_14891.trc:
ORA-12012: error on auto execute of job 41
ORA-06553: PLS-801: internal error [56319]
Sun Mar  8 13:31:09 2015
Errors in file /u01/app/oracle/admin/epps/bdump/epps_j001_14893.trc:
ORA-12012: error on auto execute of job 21
ORA-06553: PLS-801: internal error [56319]
Sun Mar  8 13:31:09 2015
Errors in file /u01/app/oracle/admin/epps/bdump/epps_j006_14903.trc:
ORA-12012: error on auto execute of job 42567
ORA-06553: PLS-ORA-06553: PLS-801: internal error [56319]


RMAN还原32位数据库到64位实例的错误处理

出现这个错误,是因为32bit和64bit数据库的wordsize不同,需要执行以下步骤完成wordsize的转换。具体可以参考How to Convert a 32-bit Database to 64-bit Database on Linux? (文档 ID 341880.1)

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup upgrade;
ORACLE instance started.
 
Total System Global Area 3590324224 bytes
Fixed Size                  2084296 bytes
Variable Size            1607467576 bytes
Database Buffers         1966080000 bytes
Redo Buffers               14692352 bytes
Database mounted.
Database opened.
SQL> @?/rdbms/admin/utlip.sql


 

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
 
Total System Global Area 3590324224 bytes
Fixed Size                  2084296 bytes
Variable Size            1607467576 bytes
Database Buffers         1966080000 bytes
Redo Buffers               14692352 bytes
Database mounted.
Database opened.
SQL>  @?/rdbms/admin/utlrp.sql


 

在执行脚本时,会报下面错误,官方解释为Note:If you are changing wordsize for Oracle release10.1.x/10.2.x/11.1/11.2 32-Bit to 64-bit with OLAP enabled for DB then you may likely to see the error

RMAN还原32位数据库到64位实例的错误处理

Fri Jan 23 17:24:05 2015

Errors in file /u01/app/oracle/admin/epps/bdump/epps_smon_9027.trc:

ORA-00604: error occurred at recursive SQL level 1

ORA-00607: Internal error occurred while making a change to a data block

ORA-00600: internal error code, arguments: [4194], [18], [13], [], [], [], [], []

Fri Jan 23 17:25:55 2015

Error 0 in kwqmnpartition(), aborting txn

Fri Jan 23 17:25:55 2015

Errors in file /u01/app/oracle/admin/epps/bdump/epps_mmon_9113.trc:

ORA-00600: internal error code, arguments: [4194], [38], [38], [], [], [], [], []

ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []

ORA-06553: PLS-801: internal error [56319]

Flush retried for xcb 0x12c114e20, pmd 0x12cca2d30

Doing block recovery for file 122 block 939

No block recovery was needed

Fri Jan 23 17:25:56 2015

Errors in file /u01/app/oracle/admin/epps/bdump/epps_mmon_9113.trc:

ORA-00600: internal error code, arguments: [4194], [38], [38], [], [], [], [], []

ORA-00600: internal error code, arguments: [4194], [38], [38], [], [], [], [], []

ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []

ORA-06553: PLS-801: internal error [56319]

ORA-600 encountered when generating server alert SMG-3503

Flush retried for xcb 0x12c114e20, pmd 0x12cca2d30

Doing block recovery for file 122 block 939

No block recovery was needed

Fri Jan 23 17:25:57 2015

Errors in file /u01/app/oracle/admin/epps/bdump/epps_mmon_9113.trc:

ORA-00600: internal error code, arguments: [4194], [38], [38], [], [], [], [], []

Flush retried for xcb 0x12c114e20, pmd 0x12cca2d30

Doing block recovery for file 122 block 939

No block recovery was needed

 

参考资料:

http://blog.itpub.net/23135684/viewspace-757172

https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=wo3y0s6qj_9&_afrLoop=209150676970938#GOAL




原标题:RMAN还原32位数据库到64位实例的错误处理

关键词:数据库

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

电商出口小包在跨境物流中该如何选择?:https://www.ikjzd.com/articles/21486
选品新方向:跨境电商小卖逆袭的布料市场分析:https://www.ikjzd.com/articles/21487
2019IEBE嘉宾Creative Capital董瞻伟:品牌的灵魂是故事:https://www.ikjzd.com/articles/21488
德国税务干货整合:2019年亚马逊德国税务最常见FAQ:https://www.ikjzd.com/articles/21489
订单断崖式下跌,那些竞争对手简直疯了!:https://www.ikjzd.com/articles/2149
干货 | 亚马逊类目排名BSR详解:https://www.ikjzd.com/articles/21490
奥地利vat怎么收费,注册多少钱:https://www.xlkjsw.com/news/88149.html
Wildberries或面临俄罗斯近十年最大反垄断诉讼:https://www.kjdsnews.com/a/1840768.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流