Use of the Oracle exp/imp Export Import Tool-2

Source: Internet
Author: User

Three. Issues that may arise with the Import tool imp

(1) Database object already exists

In general, you should completely delete the table, sequence, function/process, trigger, etc. of the target data before importing the data.

The database object already exists, and the import fails by the default imp parameter

If the parameter ignore=y is used, the data contents inside the exp file are imported

If the table has constraints for unique keywords, the condition will not be imported

If the table does not have a constraint on a unique keyword, it causes the record to repeat

(2) The database object has a primary foreign KEY constraint

Data import fails when the primary foreign key constraint is not met

Workaround: Import the primary table first, and then import the dependent tables

Disable the primary foreign key constraints of the target import object, after importing the data, enable them

(3) Insufficient authority

If you want to import a user's data into a B user, a user needs to have Imp_full_database permissions

(4) Storage allocation failure when importing large tables (greater than 80M)

The default exp, compress = Y, is to compress all the data on a block of data.

On import, if there is no contiguous large block of data, the import fails.

When exporting large tables larger than 80M, remember that compress= N does not cause this error.

(5) Different character sets used by IMP and EXP

If the character set is different, the import will fail, you can change the UNIX environment variables or NT registry Nls_lang related information.

After the import is complete, change back.

(6) IMP and EXP versions are not compatible

The IMP can successfully import the files generated by the lower version of exp and cannot import the files that are generated by the high version exp.

Use of the Oracle exp/imp Export Import Tool-2

Related Article

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.