"ORACLE" 11g database table export and import 10g spatio-temporal table problems that cannot be exported

Source: Internet
Author: User

Issue: ORACLE 11g exports a user's own table with the EXP command export and IMP imports 10g found empty table cannot be exported

Cause: 11g When you start to build a table, segment is not assigned by default to save space, and when the table inserts the first data, it is redistributed segment

Workaround 3 ways:
1: Insert a piece of data into the blank, and then delete it, allocate space (the empty table is relatively small).
2: Modify the system parameters of alter systems set DEFERRED_SEGMENT_CREATE=FALSE;
(segment will be assigned to the newly added table system), restart the database.
3: Allocating space to existing empty tables in bulk
Select ' ALTER TABLE ' | |  table_name | | ' allocate extent; ' As SQL from all_tables where num_rows = 0 and owner=username;

Perform import and export work 1. Exp System/[email protected] owner=username1 file=expfile.dmp full=y 2. Imp ystem/[email protected] fromuser=username1 touser=username2 ignore=y file=expfile.dmp full=y

"ORACLE" 11g database table export and import 10g spatio-temporal table problems that cannot be exported

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.