Database migration-Linux-32 to Linux-64 (10.2.0.4)

Source: Internet
Author: User
Database migration: Linux-32 to Linux-64 (10.2.0.4)

Database migration: Linux-32 to Linux-64 (10.2.0.4)

I. Environment Description

Source database:

Operating System: LINUX 32-bit

Database: Oracle 10.2.0.4.0 32-bit

Target database:

Operating System: LINUX 64-bit

Database: ORACLE 10.2.0.4.0 64-bit

Ii. operation instructions

Cross-platform transmission using RMAN

Export:

1. startup open read only;

2. Check whether cross-platform conversion is supported

Set serveroutput on;DeclareDb_ready Boolean;BeginDb_ready:=dbms_tdb.check_db('Linux x86 64-bit',2);If(db_ready) thenDbms_output.put_line('support');ElseDbms_output.put_line('nosupport');End if;End;

3. Check whether external objects exist.

DeclareExternal Boolean;BeginExternal:=dbms_tdb.check_external;End;

4. Perform full-database conversion in RMAN

Convert database new database 'micsregr' -- (set the Instance name MICSREGR here) Transport script. '/u02/app/oracle/oradata/MICSREGR/rmandata/tsconv. SQL 'To platform. 'linux x86 64-bit 'db _ file_name_convert '/u02/app/oracle/oradata/MICSREGR/''/u02/RMAN/';

Note that the following error is reported:/u02/app/oracle/oradata/MICSREGR/must be added with/; otherwise, an OMF error is reported.

/U02/RMAN/a must be added with a to distinguish it from the OMF file of the source database.

ORA-01276: Cannot add file/u02/app/oracle/oradata/MICSREGR/rmandata/o1_mf_system_4c720cx5_.dbf.  File has an Oracle Managed Files file name.

5. Set the database to read write

Startup open read write;

The above is the database migration-Linux-32 to Linux-64 (10.2.0.4) content, more relevant content please pay attention to PHP Chinese Network (www.php1.cn )!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.