创建表空间、临时表空间、用户
文件->新建->SQL窗口
--查看表空间位置
select * from dba_data_files;
--创建表空间
create tablespace foobar
datafile '/opt/db/foobar.dbf' size 100m;
--创建临时表空间
create temporary tablespace foobar_tmp
tempfile '/opt/db/foobar_tmp.dbf' size 100m;
--创建用户
create user foo identified by foo
default tablespace foobar
temporary tablespace foobar_tmp;
grant connect,resource to foo;
grant dba to foo;
导出对象、数据
工具->导出用户对象