To import to a specific table space, you need to create a new tablespace, and if not, use the one you already have, just follow the steps below
Enter IMP username/password in the DOS window @ip address: Port number/DB instance file= ' path of the DMP file to be imported ' full = y (may be required)
Here are the steps to create a tablespace and a user:
- user
- build: create user User name identified by "password";
- Authorization: grant create session to user name;
- < span class= "keyword" >grant create table to user name;
- grant create tablespace to user name;
- Create a tablespace (typically a table space with n stored data and an index space):
- Create tablespace table space name
- DataFile ' Path (to build the path first) \***.dbf ' size *m
- Tempfile ' path \***.dbf ' size *m
- Autoextend on -automatic growth
- --There are some commands to define the size, see the need
- Default Storage (
- Initial 100K,
- Next 100k,
- );
- Example: creating a table space
- Create tablespace aside
- DataFile ' F:\app\Aside\oradata\orcl\Aside.dbf '
- Size 100M
- Autoextend on next 5M maxsize 3000M;
- Delete Table space
- Drop tablespace aside including contents and datafiles
- User Rights
- To grant a user permission to use the tablespace:
- Alter user username quota Unlimited on table space;
- or alter user username quota *m on table space;
Oracle uses commands to import DMP files