1.创建表空间
create tablespace
example_tablespace datafile 'e:\****.dbf' size 10m
reuse
autoextend on
next 1m maxsize unlimited;
create user
username identified by
password default tablespace
usertablespace temporary tablespace
temp;
3.IMP导入数据库文件注意
grant dba to
username;
DBA权限是必需的
一般默认导入的表空间是导出时候的表空间
revoke unlimited tablespace from
username;
alter user
username quota 0 on
users;
表空间限额设置
alter user
username quota unlimited on
user_define_tablespace;
imp
username/
password file='e:\***.dbf' tablespaces=
tbs fromuser=
sourcename touser=
targetname log='e:\a.txt'
