oracle 建表空间、用户

前端之家收集整理的这篇文章主要介绍了oracle 建表空间、用户前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
create temporary tablespace tmp_temp tempfile '/home/oracle/app/oracle/oradata/tmp_temp.dbf' size 50m autoextend on next 50m maxsize 20480m extent management local;

create tablespace tmp  datafile '/home/oracle/app/oracle/oradata/orcl/tmp.dbf' size 512m autoextend on next 50m maxsize unlimited logging extent management local segment space management auto;

create user tmpuser identified by tmpuserp default tablespace tmp temporary tablespace tmp_temp; 

grant connect,resource,dba to tmpuser; 

commit;

conn tmpuser/tmpuserp;

猜你在找的Oracle相关文章