创建临时表空间组+查询临时表空间组+临时表空间移动到别的临时表空间组中

来源:互联网 发布:淘宝手淘搜索提升 编辑:程序博客网 时间:2024/05/18 22:55

一创建临时表空间组
在创建临时表空间的时候,使用tablespace group 语句指定一个组就行

create temporary tablespace mytemp1
tempfile ‘F:\test\mytempspace1.dbf’
size 10M autoextend on next 1M maxsize 20M
tablespace group group1
这里写图片描述

二查询临时表空间组
select * from dba_tablespace_groups;
这里写图片描述

三临时表空间移动到别的临时表空间组中
这里写图片描述
将mytemp1移动到group2中

alter tablespace mytemp1 tablespace group group2;
这里写图片描述

0 0