临时表空间组创建及删除
Posted orcl-2018
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了临时表空间组创建及删除相关的知识,希望对你有一定的参考价值。
一、临时表空间组创建
1、
SQL> alter tablespace temp tablespace group temgrp;
Tablespace altered.
2、
SQL> create temporary tablespace temp2 tempfile ‘/u01/app/oracle/temp02.dbf‘ size 10M tablespace group temgrp;
Tablespace created.
3、
SQL> alter database default temporary tablespace temgrp;
Database altered.
二、临时表空间组删除
1、
SQL> alter tablespace temp tablespace group ‘‘;
Tablespace altered.
2、
SQL> alter database default temporary tablespace temp;
Database altered.
3、
SQL> drop tablespace temp2 including contents and datafiles;
Tablespace dropped.
以上是关于临时表空间组创建及删除的主要内容,如果未能解决你的问题,请参考以下文章