--创建临时表空间 --//Linux下的文件系统 create temporary tablespace cloudv2_temp tempfile '/home/oracle/app/oracle/oradata/cloudv2/cloudv2_temp01.dbf' size 64m autoextend on next 64m maxsize 2048m extent management local; --创建数据表空间 --//Linux下的文件系统 create tablespace cloudv2_data logging datafile '/home/oracle/app/oracle/oradata/cloudv2/cloudv2_data01.dbf' size 64m autoextend on next 65m maxsize 2048m extent management local; --创建用户并指定表空间 用户名和密码均为"test" create user testidentified by test default tablespace cloudv2_data temporary tablespace cloudv2_temp; --授权ccapp用户所具备的权限 grant connect,resource,dba to test; imp test/test@cloudv2 full=y file=2014-1-15-sjcloudv2.0.dmp --删除用户 drop user test cascade;