WEB开发网
开发学院数据库Oracle Oracle可传输表空间实现跨平台移植 阅读

Oracle可传输表空间实现跨平台移植

 2007-05-12 12:26:50 来源:WEB开发网   
核心提示: RMAN> convert tablespace users, maints2> to platform 'HP-UX (64-bit)'3> format='/home/oracle/rman_bkups/%N_%f'4> para
  RMAN> convert tablespace users, maints
  2> to platform 'HP-UX (64-bit)'
  3> format='/home/oracle/rman_bkups/%N_%f'
  4> parallelism = 5;
  
  Starting backup at 14-MAR-04
  using target database controlfile instead of recovery catalog
  allocated channel:ORA_DISK_1
  channel ORA_DISK_1:sid=244 devtype=DISK
  allocated channel:ORA_DISK_2
  channel ORA_DISK_2:sid=243 devtype=DISK
  allocated channel:ORA_DISK_3
  channel ORA_DISK_3:sid=245 devtype=DISK
  allocated channel:ORA_DISK_4
  channel ORA_DISK_4:sid=272 devtype=DISK
  allocated channel:ORA_DISK_5
  channel ORA_DISK_5:sid=253 devtype=DISK
  channel ORA_DISK_1:starting datafile conversion
  input datafile fno=00004 name=/usr/oradata/dw10/dw10/users01.dbf
  channel ORA_DISK_2:starting datafile conversion
  input datafile fno=00005 name=/usr/oradata/dw10/dw10/users02.dbf
  channel ORA_DISK_3:starting datafile conversion
  input datafile fno=00006 name=/usr/oradata/dw10/dw10/maints01.dbf
  channel ORA_DISK_4:starting datafile conversion
  input datafile fno=00007 name=/usr/oradata/dw10/dw10/maints02.dbf
  converted datafile=/home/oracle/rman_bkups/USERS_4
  channel ORA_DISK_1:datafile conversion complete, elapsed time: 00:00:03
  converted datafile=/home/oracle/rman_bkups/USERS_5
  channel ORA_DISK_2:datafile conversion complete, elapsed time: 00:00:00
  converted datafile=/home/oracle/rman_bkups/MAINTS_6
  channel ORA_DISK_3:datafile conversion complete, elapsed time: 00:00:01
  converted datafile=/home/oracle/rman_bkups/MAINTS_7
  channel ORA_DISK_4:datafile conversion complete, elapsed time: 00:00:01
  Finished backup at 14-MAR-04

在上述例子中,转换后的文件名难于辨认并很难与原始文件关联(例如,文件 users01.dbf 变为 USERS_4)。相反,还可以使用其它格式来为数据文件命名。

上一页  1 2 3 4 5 

Tags:Oracle 传输 空间

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接