Oracle is perfectly imported to DMP under the Win7 system

Source: Internet
Author: User

First step: Create a backup file storage directory

Create or replace directory Back_file as ' D:\app\yangxf\back_or_memery_file ';

Create or replace directory name as ' D:\app\yangxf\back_or_memery_file ';

Step two: Create a table space

Create tablespace base_data datafile ' D:\app\yangxf\oradata\base_tablespace\BASE.dbf ' size 100M autoextend on next 50m;

Create tablespace table space name (consistent with backup file tablespace) datafile ' D:\app\yangxf\oradata\base_tablespace\ backup filename. dbf ' size 100M autoextend on Next 50m;

Step three: Create a backup file user, specify a table space

Create user base identified by BASE default Tablespace base_data;

Create user username identified by password default tablespace table space name;

Fourth step: Authorized users to read and write the backup file directory

Grant read, write on directory back_file to BASE;

Grant read, write on directory store directory name to user name;

Fifth step: Execute the Import statement

IMPDP System/[email protected] directory=back_file dumpfile=base. DMP full=y;

IMPDP User name/password @ instance name directory= Directory name dumpfile= to the imported file name. DMP full=y;

Note:

Delete all objects under user

Drop user JCSJ cascade;

Drop user username cascade;

Delete Table space

Drop tablespace jcsj_data including contents and datafiles;

Drop tablespace table space name including contents and datafiles;

Super Admin Login

Sqlplus Sys/[email protected] as SYSDBA;

Sqlplus username/Password @ instance name as SYSDBA;

Oracle is perfectly imported to DMP under the Win7 system

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.