表空间操作

创建表空间:
create tablespace ZSDATA
datafile '/opt/app/oracle/oradata/KYGD/ZSDATA.dbf' size 1024M 
autoextend on 
next 800M 
maxsize unlimited;

创建用户:
create user formal
  identified by jx20121204
  default tablespace ZSDATA
  temporary tablespace TEMP
  profile DEFAULT;
grant connect to formal;
grant resource to formal;
grant IMP_FULL_DATABASE to formal; 授权导入导出权限

授权用户表空间权限
alter user formal quota  unlimited on ZSDATA;

导入表指定多个表空间
imp formal/32122 file=rain.20121204.dmp  tablespaces=TRDATA,ZSDATA full=y

你可能感兴趣的:(表空间)