How to build table spaces, build users, and import DMP files in Oracle

Source: Internet
Author: User

Assuming Oracle has an entirely new database ORCL, now it's time to import the database file (. dmp) into this new database ORCL. The detailed steps are as follows: 1. Create a table spaceFor example:Create tablespace Test (tablespace name) datafile ' F:\oracle\oradata\orcl\test.dmp ' (table Space storage location)size 50M (table space size, unit trillion)autoextend on next 50MMaxSize UnlimitedExtent management Local Autoallocatesegment Space management auto; 2. Create a user and assign a tablespace to a userCreate user test (username)identified by test (password)default tablespace Test (table space name); 3. Granting permissions to usersGrant Dba,connect,resource,Aq_administrator_role,aq_user_role,authenticateduser to test (user name); 4. Import data (at the Command Prompt window)imp test/[email protected]buffer=64000File=d:\test.dmp (where the DMP file is located)full=y (full and TABLES are two import modes, TABLES can import only some of the tables, tables= (TAB1,TAB2,...) )commit=y ignore=y Log=test.log

How to build table spaces, build users, and import DMP files in Oracle

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.