Notes about Oracle import (create a tablespace, create a user, and authorize the user)

Source: Internet
Author: User

Sometimes the database cannot be imported smoothly, and a bunch of errors are reported.
Probably because the user does not exist, or the user's tablespace does not.
Check the error message and you will know.
The following is an example of creating a tablespace. There was a problem at the beginning. After the creation, the import can be completed successfully.

 

Exp uuu/UUU@101.123.30.128: 1521/orcl file = c: \ 11820121107.dmp owner = (edm_base) exp uuu/UUU@101.123.30.128: 1521/orcl file = c: \ 11820121107.dmp exp uuu/UUU@101.123.30.128: 1521/orcl file = c: \ 11820121107.dmp ignore = ycreate tablespace tablespace_db logging datafile 'd: \ Oracle10g \ test_data01.dbf 'size 32 m autoextend on next 32 m maxsize 2048 M extent management local; -- create the user create user uuu identified by "uuu" default tablespace tablespace_db temporary tablespace temp profile default; -- Grant/Revoke role privileges grant connect to uuu; grant DBA to uuu; grant resource to uuu; -- Grant/Revoke SYSTEM privileges grant unlimited tablespace to uuu;/* grant connect, resource, DBA to helpdesk ;*/

 

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.