当前位置:  数据库>oracle

Oracle 10g同字节序跨平台迁移

    来源: 互联网  发布时间:2017-03-24

    本文导语:   在Oracle 10g中,同字节序跨平台的文件头信息Oracle会自动改写,不再需要转换。   我们看以下测试:   [oracle@danaly oradata]$ sqlplus "/ as sysdba"   SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 12 15:14:21 2007   Copyright (c) 1982, 2005...

  在Oracle 10g中,同字节序跨平台的文件头信息Oracle会自动改写,不再需要转换。

  我们看以下测试:

  [oracle@danaly oradata]$ sqlplus "/ as sysdba"

  SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 12 15:14:21 2007

  Copyright (c) 1982, 2005, Oracle. All rights reserved.

  Connected to:

  Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

  With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options

  SQL> alter database mount;

  Database altered.

  SQL> alter database open;

  Database altered.

  SQL> select name from v$datafile;

  NAME

  --------------------------------------------------------------------------------

  /opt/oracle/oradata/eygle/EYGLE/datafile/o1_mf_system_37tc1xns_.dbf

  /opt/oracle/oradata/eygle/EYGLE/datafile/o1_mf_undotbs1_37tc29mb_.dbf

  /opt/oracle/oradata/eygle/EYGLE/datafile/o1_mf_sysaux_37tc2gqc_.dbf

  /opt/oracle/oradata/eygle/EYGLE/datafile/o1_mf_users_37tc2tth_.dbf

  SQL> show parameter comp

  NAME TYPE VALUE

  ------------------------------------ ----------- ------------------------------

  compatible string 10.2.0.1.0

  nls_comp string

  plsql_compiler_flags string INTERPRETED, NON_DEBUG

  plsql_v2_compatibility boolean FALSE

  SQL> create tablespace trans

  2 datafile '/opt/oracle/oradata/eygle/EYGLE/datafile/trans.dbf' size 10M;

  Tablespace created.

  SQL> create user trans identified by trans default tablespace trans;

  User created.

  SQL> grant connect,resource to trans;

  Grant succeeded.

  SQL> connect trans/trans

  create table test as select * from dict;

  Connected.

  SQL>

  Table created.

  SQL> select count(*) from test;

  COUNT(*)

  ----------

  615

  SQL> connect / as sysdba

  Connected.

  SQL> alter tablespace trans read only;

  Tablespace altered.

  SQL> exit

  Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

  With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options

  [oracle@danaly oradata]$ exp '/ as sysdba' tablespaces=trans transport_tablespace=y file=exp_trans.dmp

  Export: Release 10.2.0.1.0 - Production on Thu Jul 12 15:28:24 2007

  Copyright (c) 1982, 2005, Oracle. All rights reserved.

  Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

  With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options

  Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set

  Note: table data (rows) will not be exported

  About to export transportable tablespace metadata...

  For tablespace TRANS ...

  . exporting cluster definitions

  . exporting table definitions

  . . exporting table TEST

  . exporting referential integrity constraints

  . exporting triggers

  . end transportable tablespace metadata export

  Export terminated successfully without warnings.

  [oracle@danaly oradata]$ ls -l exp_trans.dmp

  -rw-r--r-- 1 oracle dba 16384 Jul 12 15:28 exp_trans.dmp

  [oracle@danaly oradata]$ pwd

  /opt/oracle/oradata


    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • Oracle 10g和Oracle 11g网格技术介绍
  • 虚拟机装Oracle R12与Oracle10g
  • Oracle 10g中导出到Oracle 9的问题小结
  • 安装Oracle 10g忘记sys密码
  • Oracle 10G进程体系学习笔记
  • [官方最新消息]Oracle 10G 认证考试新变化
  • SOLARIS 下如何卸载ORACLE10G
  • oracle10g 数据备份与导入
  • 为何用dbstart启动oracle10g不好用
  • linux下oracle 10g如何完全卸载?
  • Oracle 10g client for Solaris
  • 急求Linux下oracle 10g和weblogic 9的安装
  • Linux系统下利用java连接Oracle 10G
  • Linux下完全卸载ORACLE 10G的方法
  • Linux下Oracle 10G DBCA等汉字乱码解决方法
  • redhat as 4 下如何安装oracle 10g ?
  • 求助前辈们:solaris 10 x86 安装oracle 10g 错误
  • 将Oracle 8i数据成功移植Oracle 10g的方法
  • 上传一个非常详细的Oracle10G在IBMAIX 5L上的安装步骤与大家分享
  • linux as3 安装oracle10g ,web端能访问,终端用命令不能进入
  • 如何升级Oracle 9i到10g
  • Oracle 12c发布简单介绍及官方下载地址
  • 在linux下安装oracle,如何设置让oracle自动启动!也就是让oracle那个服务自动启动,不是手动的
  • oracle 11g最新版官方下载地址
  • 请问su oracle 和su - oracle有什么不同?
  • Oracle 数据库(oracle Database)Select 多表关联查询方式
  • Oracle 数据库开发工具 Oracle SQL Developer
  • Oracle数据库(Oracle Database)体系结构及基本组成介绍
  • Oracle EBS R12 支持 Oracle Database 11g
  • 如何设置让Oracle SQL Developer显示的时间包含时分秒
  • Access2000迁移到Oracle9i要点 iis7站长之家


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3