暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

清理临时表空间

原创 章芋文 2012-08-03
652
C:\\Documents and Settings\\Administrator.YDXZ-50AD111670>sqlplus a/a@reportview a
s sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on 星期五 8月 3 13:22:42 2012

Copyright (c) 1982, 2005, Oracle. All rights reserved.


连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL> create temporary tablespace temp2 tempfile 'E:\\Report_Data\\reportvi\\temp02.
dbf' size 500m reuse autoextend on next 100m maxsize unlimited;

表空间已创建。


SQL> alter database default temporary tablespace temp2;

数据库已更改。


SQL> drop tablespace temp including contents and datafiles;

表空间已删除。

然后在OS下删除temp01.dbf文件即可

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论