How to import a DMP file into your own Oracle database

Source: Internet
Author: User
Tags dba

1, first, we can first create their own user table space, the format of creating table space is as follows:

Create Tablespace Test (the name of the tablespace)
DataFile ' D:\oracle\product\10.2.0\userdata\test.dbf ' (this side can be written under one of Oracle's paths)
Size 50m (initial size)
Autoextend on; (Auto-expand)

2. Next, we can create a user of our own, creating the following format:

CREATE user utest (user name)
Identified by Upassword (password)
DEFAULT tablespace Test (table space created above)
Temporary tablespace temp; (Temporary tablespace will write temp)

3. Then we need to give our users permission to manage their tablespaces

GRANT CONNECT to Utest;
GRANT RESOURCE to Utest;
GRANT DBA to Utest;--dba is the highest-level permission to create databases, tables, and so on.

The execution environment of the above three statements needs to enter Oralce

How to enter Oracle under CMD

Sqlplus system/Password Enter

4, Next we can import our DMP file into our own table space, import mode

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

Import an instance

Imp Utest/upassword file=d:\20140227.dmp full=y ignore=y (Import the file into the tablespace of our own new user) Note: The execution environment of this statement is the environment when you first enter the command table

How to import a DMP file into your own Oracle database

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.