首页 > 其他 > 详细

临时表空间组创建及删除

时间:2018-10-30 18:22:42      阅读:203      评论:0      收藏:0      [点我收藏+]

一、临时表空间组创建

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.

 

临时表空间组创建及删除

原文:https://www.cnblogs.com/orcl-2018/p/9878518.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!