imp full database (转官档)

Using Export and Import to Move a Database Between Platforms

10g官档:http://docs.oracle.com/cd/B19306_01/server.102/b14215/exp_imp.htm#i1021654

The Export and Import utilities are the only method that Oracle supports for moving an existing Oracle database from one hardware platform. to another. This includes moving between UNIX and NT systems and also moving between two NT systems running on different platforms.

The following steps present a general overview of how to move a database between platforms.

  1. As a DBA user, issue the following SQL query to get the exact name of all tablespaces. You will need this information later in the process.

    SQL> SELECT tablespace_name FROM dba_tablespaces;
    
    
  2. As a DBA user, perform. a full export from the source database, for example:

    > exp system/manager FULL=y FILE=expdat.dmp
    
  3. Move the dump file to the target database server. If you use FTP, be sure to copy it in binary format (by entering binary at the FTP prompt) to avoid file corruption.

  4. Create a database on the target server.

    See Also:

    Oracle Database Administrator's Guide for information about how to create a database
  5. Before importing the dump file, you must first create your tablespaces, using the information obtained in Step 1. Otherwise, the import will create the corresponding datafiles in the same file structure as at the source database, which may not be compatible with the file structure on the target system.

  6. As a DBA user, perform. a full import with the IGNORE parameter enabled:

    > imp system/manager FULL=y IGNORE=y FILE=expdat.dmp
    
    

    Using IGNORE=y instructs Oracle to ignore any creation errors during the import and permit the import to complete.

  7. Perform. a full backup of your new database.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26442936/viewspace-754347/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/26442936/viewspace-754347/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值