当前位置:  数据库>oracle

Oracle导机迁移全过程

    来源: 互联网  发布时间:2017-04-15

    本文导语: 104上 scp 到 25上scp /opt/Oracle/111/dbs/initORCL.ora root@10.1.0.25:/opt/oracle/111/dbs/initORCL.ora scp /opt/oracle/111/dbs/spfileORCL.ora root@10.1.0.25:/opt/oracle/111/dbs/spfileORCL.orascp /opt/oracle/111/dbs/orapwORCL root@10.1.0.25:/opt/oracle/111/dbs/orapwORCLscp /opt/oracle/oradata/orcl/...

104上 scp 到 25上
scp /opt/Oracle/111/dbs/initORCL.ora root@10.1.0.25:/opt/oracle/111/dbs/initORCL.ora
scp /opt/oracle/111/dbs/spfileORCL.ora root@10.1.0.25:/opt/oracle/111/dbs/spfileORCL.ora
scp /opt/oracle/111/dbs/orapwORCL root@10.1.0.25:/opt/oracle/111/dbs/orapwORCL
scp /opt/oracle/oradata/orcl/control01.ctl root@10.1.0.25:/opt/oracle/oradata/orcl/control01.ctl
scp /opt/oracle/flash_recovery_area/orcl/control02.ctl root@10.1.0.25:/opt/oracle/oradata/orcl/control02.ctl
scp /opt/oracle/oradata/orcl/system01.dbf root@10.1.0.25:/opt/oracle/oradata/orcl/system01.dbf
scp /opt/oracle/oradata/orcl/sysaux01.dbf root@10.1.0.25:/opt/oracle/oradata/orcl/sysaux01.dbf
scp /opt/oracle/oradata/orcl/undotbs01.dbf root@10.1.0.25:/opt/oracle/oradata/orcl/undotbs01.dbf
scp /opt/oracle/oradata/orcl/users01.dbf root@10.1.0.25:/opt/oracle/oradata/orcl/users01.dbf
scp /opt/oracle/111/TBS_FALABELLA.DBF root@10.1.0.25:/opt/oracle/oradata/orcl/TBS_FALABELLA.DBF
scp /opt/oracle/oradata/orcl/FALABELLA_SO.DBF root@10.1.0.25:/opt/oracle/oradata/orcl/FALABELLA_SO.DBF
scp /opt/oracle/oradata/orcl/temp01.dbf Oracle 数据库(oracle Database)性能调优技术详解 iis7站长之家
scp /opt/oracle/111/TBS_FALABELLA_TEMP.DBF root@10.1.0.25:/opt/oracle/oradata/orcl/TBS_FALABELLA_TEMP.DBF
scp /opt/oracle/oradata/orcl/FALABELLA_SO_TEMP.DBF root@10.1.0.25:/opt/oracle/oradata/orcl/FALABELLA_SO_TEMP.DBF
scp /opt/oracle/oradata/orcl/redo01.log  root@10.1.0.25:/opt/oracle/oradata/orcl/redo01.log
scp /opt/oracle/oradata/orcl/redo02.log  root@10.1.0.25:/opt/oracle/oradata/orcl/redo02.log
scp /opt/oracle/oradata/orcl/redo03.log  root@10.1.0.25:/opt/oracle/oradata/orcl/redo03.log
















chown -R oracle:dba  /opt/oracle/111/dbs/initORCL.ora
chown -R oracle:dba  /opt/oracle/111/dbs/spfileORCL.ora
chown -R oracle:dba  /opt/oracle/111/dbs/orapwORCL
chown -R oracle:dba  /opt/oracle/oradata/orcl/control01.ctl
chown -R oracle:dba  /opt/oracle/oradata/orcl/control02.ctl
chown -R oracle:dba  /opt/oracle/oradata/orcl/system01.dbf
chown -R oracle:dba  /opt/oracle/oradata/orcl/sysaux01.dbf
chown -R oracle:dba  /opt/oracle/oradata/orcl/undotbs01.dbf
chown -R oracle:dba  /opt/oracle/oradata/orcl/users01.dbf
chown -R oracle:dba  /opt/oracle/oradata/TBS_FALABELLA.DBF
chown -R oracle:dba  /opt/oracle/oradata/orcl/FALABELLA_SO.DBF
chown -R oracle:dba  /opt/oracle/oradata/orcl/temp01.dbf
chown -R oracle:dba  /opt/oracle/oradata/TBS_FALABELLA_TEMP.DBF
chown -R oracle:dba  /opt/oracle/oradata/orcl/FALABELLA_SO_TEMP.DBF
chown -R oracle:dba  /opt/oracle/oradata/orcl/redo01.log
chown -R oracle:dba  /opt/oracle/oradata/orcl/redo02.log
chown -R oracle:dba  /opt/oracle/oradata/orcl/redo03.log















vi /opt/oracle/111/dbs/initORCL.ora
/opt/oracle/flash_recovery_area/orcl/control02.ctl   /opt/oracle/oradata/orcl/control02.ctl
startup nomount pfile='/opt/oracle/111/dbs/initORCL.ora';
create spfile from pfile
shutdown immediate;
startup mount;




alter database rename file '/opt/oracle/oradata/TBS_FALABELLA.DBF' to '/opt/oracle/oradata/orcl/TBS_FALABELLA.DBF';
alter database rename file '/opt/oracle/oradata/TBS_FALABELLA_TEMP.DBF' to '/opt/oracle/oradata/orcl/TBS_FALABELLA_TEMP.DBF';

alter database open;


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












  • 相关文章推荐
  • Oracle 12c发布简单介绍及官方下载地址
  • 在linux下安装oracle,如何设置让oracle自动启动!也就是让oracle那个服务自动启动,不是手动的
  • oracle 11g最新版官方下载地址
  • 请问su oracle 和su - oracle有什么不同?
  • Oracle 数据库(oracle Database)Select 多表关联查询方式
  • 虚拟机装Oracle R12与Oracle10g
  • Oracle数据库(Oracle Database)体系结构及基本组成介绍
  • Oracle 数据库开发工具 Oracle SQL Developer
  • 如何设置让Oracle SQL Developer显示的时间包含时分秒
  • Oracle EBS R12 支持 Oracle Database 11g
  • Oracle 10g和Oracle 11g网格技术介绍
  • SCO unix下安装oracle,但没有光盘,请大家推荐一个oracle下载站点(unix版本的)。谢谢!!!!
  • oracle中如何把表中具有相同值列的多行数据合并成一行
  • 请问大家用oracle数据库, 用import oracle.*;下的东西么? 还是用标准库?
  • Oracle 数据库(oracle Database)性能调优技术详解
  • Linux /$ORACLE_HOME $ORACLE_HOME
  • ORACLE日期相关操作
  • Linux系统下Oracle的启动与Oracle监听的启动
  • ORACLE数据库常用字段数据类型介绍
  • 请问在solaris下安装ORACLE,用root用户和用oracle用户安装有什么区别么?
  • Oracle 12c的九大最新技术特性介绍
  • 网间Oracle的连接,远程连接Oracle服务器??


  • 站内导航:


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

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

    浙ICP备11055608号-3