Database migration problems?

Source: Internet
Author: User
Author:Mikesj Time:02-08-27 19: 12

Database migration problems?

1. When porting a database, exp database a now needs imp data to another database B?
2. After database B is created, should the user and tablespace be consistent with the structure in database ?. If the user and tablespace names are inconsistent in A and B, how can this problem be solved?
3. If B does not need to create a user or table space: Ask exp full A, the content of the system table space should also be exported. IMP is sent to database B, if database B does not have the same disk structure as database A, for example, data files in database a are distributed on three disks, and data files in database B are distributed on two disks, does the system tablespace need to be changed after being imported as B?
4. If B needs to create a user and table space: How is the data exported by a and the system data in B processed ??
Thank you !!

Author:Snowhite2000 Time:02-08-28

Re: database migration problem?

1. When porting a database, exp database a now needs imp data to another database 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. After database B is created, should the user and tablespace be consistent with the structure in database ?. If the user and tablespace names are inconsistent in A and B, how can this problem be solved?

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. If B does not need to create a user or table space: Ask exp full A, the content of the system table space should also be exported. IMP is sent to database B, if database B does not have the same disk structure as database A, for example, data files in database a are distributed on three disks, and data files in database B are distributed on two disks, does the system tablespace need to be changed after being imported as B?

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

4. If B needs to create a user and table space: How is the data exported by a and the system data in B processed ??

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.