你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle Convert a 32-bit Database to 64-bit Database(32位 转到 64位)说明

[日期:2012-03-03] 来源:csdn  作者:tianlesoftware [字体:大 中 小]

Oracle recommends that you run the utlrp.sql script after running the utlirp.sqlscript. The utlrp.sql script recompiles all PL/SQL modules that might be in aninvalid state, including packages, procedures, and types. This is optional butOracle recommends that you do it during installation and not at a later date.To run the utlrp.sql script, enter the following command: 

--执行utlrp.sql 脚本重新编译可能无效的对象,这步建议执行,脚本如下:

 

SQL> shutdown immediate; 
SQL> startup (use appropriate command; outlined above, depending on yourversion)
SQL> @$ORACLE_HOME/rdbms/admin/utlrp.sql 

 

Note: If you arechanging wordsize for Oracle release10.1.x/10.2.x/11.1/11.2 32-Bit to 64-bitwith OLAP enabled for DB then you may likely to see the error 

--注意,如果在启用OLAP的情况,从32位转到64位时还可能遇到如下错误:

On Console: 
<>ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [],[], [], []<> 

On alert.log: 
ORA-07445: exception encountered: core dump [_intel_fast_memcpy.A()+10][SIGSEGV] <> 

Or

ORA-07445: exception encountered: core dump[__intel_new_memcpy()+2132] [SIGSEGV] 

 

(on 11g)

Or

ORA-07445: exception encountered: core dump[_intel_fast_memcpy.A()+10] [SIGSEGV] < style="font-family: arialunicode ms;"> ( Run the Following query to check OLAP componentinstalled 

SELECT COMP_NAME, STATUS FROM DBA_REGISTRY WHERE COMP_NAME LIKE ‘%OLAP%’) 

Please refer the document to solve thisissue 

--如果遇到这种问题,参考如下文档进行解决:

Note:352306.1 Upgrading OLAP from 32 to 64 bits 
Note:332351.1 How To Remove or To Reinstall the OLAP Option

Note: At thispoint, the natively compiled Java objects in the new[wordsize changed] databaseare invalid. Refer to the section "Steps to Update Natively Compiled JavaObjects in the Database" for the procedure to revalidate these objects. 

--注意,如果此时Java 对象还是无效的,参考如下方法来revalidate 这些对象:

Steps to Update NativelyCompiled Java Objects in the Database 

To use nativelycompiled Java objects for Linux x86-64, use the following procedure to updatecompiled Java objects in the database: 

(1) Connect to the database as userSYS or SYSTEM as SYSDBA [ You may get error ORA-1031 while running followingcommand if you are not connected as SYSDBA]
(2)Enter the following command: 
(3)SQL> CREATE OR REPLACE JAVASYSTEM; 

   /

(4)It may be necessary to recompilethe Java objects with ncomp:

          i.e.   % ncomp-user scott/tiger Hello.class

12.  Perform a clean shutdown of the database. 

--clean shutdown DB

 

13.  Perform a complete backup of the new 64-bit Oracle9i Release 2 (9.2)or Oracle10gr1 /10gr2/11gR1 database 

--对64位的DB 进行备份,迁移操作结束。 

小结:

这篇Blog里将的方法属于冷copy,即将整个datafiles拷贝到新的环境上,然后修改相关的信息,重建控制文件等操作。 这只是32位到64位转换的一种方法,还有2种方法可以实现这种操作:

(1)    使用RMAN Revoer,参考:

RMAN Restoring A32 bit Database to 64 bit - An Example [ID 467676.1]

(2)    使用Expdp 和Impdp,参考:

How to UseExport and Import when Transferring Data Across Platforms or Across 32-bit and64-bit Servers [ID 277650.1] 

具体会另篇演示这几种方法。

linux
相关资讯       oracle数据库教程 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款