1.1 建用户
create user reporter identified by xxxxxx;
grant resource,connect to reporter;
grant dba to reporter;
1.2 表空间划分
1.2.1 建reporter表空间
create tablespace reporter
datafile '/opt/oracle/product/10.2.0/oradata/OINMS/reporter01.dbf' size 4000M
autoextend off;
alter tablespace reporter
add datafile '/opt/oracle/product/10.2.0/oradata/OINMS/reporter02.dbf' size 4000M
autoextend off;
create temporary tablespace reporter_temp
tempfile '/opt/oracle/product/10.2.0/oradata/OINMS/reporter_temp01.dbf' size 2000M
autoextend off;