数据库移植问题?

来源:互联网 发布:丸美白色之恋 知乎 编辑:程序博客网 时间:2024/06/06 18:32
作者:mikesj    时间:02-08-27 19:12

困倦 数据库移植问题?

1,在做数据库移植时,EXP数据库A,现在要IMP数据到另一个数据库B中?
2,在建立数据库B后是否要建立用户和表空间与数据库A中一致的结构?。如果用户和表空间名在A,B中不一致怎末处理,是否会失败?
3,如果B不需要建立用户和表空间:问EXP FULL A时SYSTEM表空间的内容也应该导出来了,IMP到B数据库,如果B数据库没有与A一样的磁盘结构,如:A中数据文件分布在3个磁盘上面,B中数据文件分布在2个磁盘上面,SYSTEM系统表空间的导如B后是否要变?
4,如果B需要建立用户和表空间:问A导出的数据与B中的系统数据是怎样处理的??
谢谢!!


作者:snowhite2000    时间:02-08-28 00:33

Re: 数据库移植问题?

1,在做数据库移植时,EXP数据库A,现在要IMP数据到另一个数据库B中?
exp/imp is not the only way to migrate your database. if you new DB will under same platform, you can just copy the database to new server and run one scripte.

2,在建立数据库B后是否要建立用户和表空间与数据库A中一致的结构?。如果用户和表空间名在A,B中不一致怎末处理,是否会失败?

if you want to import all export database, you do not need create tablespace. import processes will create that for you, but you need add some parameter to you import string.

if you users and tablespaces are different in two database, you can manually import using import user mode. in this way, you have to import user schema one by one.

3,如果B不需要建立用户和表空间:问EXP FULL A时SYSTEM表空间的内容也应该导出来了,IMP到B数据库,如果B数据库没有与A一样的磁盘结构,如:A中数据文件分布在3个磁盘上面,B中数据文件分布在2个磁盘上面,SYSTEM系统表空间的导如B后是否要变?

you don't need care about this, oracle will do that for you.

4,如果B需要建立用户和表空间:问A导出的数据与B中的系统数据是怎样处理的??

how to import your data, that is really up to your situation.
You can import everything to the new database first, than arrange it. You also can just import those data you need for new database, and get rid of those garbage data.

make your migration plan first, then ask if oracle can do that for you or not.

snowhite2000

原创粉丝点击