ORACLE Import and export operations

Source: Internet
Author: User

1. Import command:

Imp Userid/[email protected] full=y file=d:\data\xxx.dmp ignore=y


2. Export command

Exp Userid/[email protected] file=d:\dkj\test.dmp tables= (wf_test)
Exp Userid/[email protected] buffer=50000000 file=d:\data\xxx.dmp Owner=userid

1. After installing Oracle 11g, in Sqlplus, execute the following command:
Sql>alter system set Deferred_segment_creation=false;

Import and export Whether it is a blank table or a non-empty table

2. In Oracle 11g, the default profile is set to "password_life_time=180", causing the Oracle user's password to be changed within 180 days, or the connection failure will be prompted when the database is started.

Change the default 180 days to "unlimited" and log in to Sqlplus:
Sql>alter profile default limit password_life_time UNLIMITED;

You do not need to restart the database after you modify it, it takes effect immediately.

PLEASE NOTE!!!

1, oracle11g default to Empty table is not assigned segment, so use EXP export oracle11g database, empty table is not exported.

2. After setting the Deferred_segment_creation parameter to False, both the empty table and the non-empty table are assigned segment.
In Sqlplus, execute the following command:
Sql>alter system set Deferred_segment_creation=false;
View:
Sql>show parameter deferred_segment_creation;

This value is set only after the newly added table, which has no effect on the previously established empty table.

Set up your Oracle 11g in a timely manner as described above

Use our current library when doing import and export if you do not see 0 rows of recorded tables, indicating that the above settings are not done

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.