Importing data from Oracle

Source: Internet
Author: User

It's not the first time I got in touch with Oracle. I still installed it before and remotely connected to the server from PLSQL developer, but I never did it. This time, I gave a DMP file to be imported into the database. It took a lot of effort for the first contact and finally solved it with the help of others.

 

The process is like this. First open the Enterprise Manager Console, expand the database, find the storage node, and create a tablespace. The created tablespace name will eventually correspond to the space of the imported file, try again to see how it is consistent. If something goes wrong, you will see the name of the tablespace that should be created. Then create a user name for the DMP file to import. This is also based on the name displayed when the user is confused. When the user is created, the tablespace just created should correspond to the user, then execute this command. Just keep the path aligned.

 

IMP name/password @ oarcl file = A. dmp log = A. Log fromuser = OA touser = OA

 

Name/password is the username and password used to log on to the database, and CMDL is the Instance name. File: The DMP file fromuser is the tablespace of the user whose name touser is to be imported when exported from DMP. this is OK.

 

It took me most of the time. But I still learned it .~~

 

Note: If you do not have the sysdba permission, import

IMP 'name/password @ oarcl as sysdba 'file = A. dmp log = A. Log fromuser = OA touser = OA

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.