Ora-25153:临时表空间为空
2016-06-21 14:20
232 查看
用户反映记账操作时,提示ora-25153:临时表空间为空
1、先查询表空间情况:
select * from dba_tablespaces where contents='TEMPORARY';
查询返回两条记录,说明存在两个临时表空间,如下:
![](https://images2015.cnblogs.com/blog/951623/201606/951623-20160621141749631-1549095825.png)
2、再查看视图dba_temp_files和v$tempfile
select * from dba_temp_files;
select * from v$tempfile;
查询没有返回记录;
3、查看服务器上文件夹下,发现存在临时表空间对应的数据文件:
TEMP01.dbf和ZLTOOLSTMP.dbf两个数据文件;
4、向临时数据表空间添加数据文件:
alter tablespace TEMP add tempfile 'D:\APP\ADMINISTRATOR\ORADATA\ORCL\TEMP02.DBF' size 200m autoextend on;
alter tablespace ZLTOOLSTMP add tempfile 'D:\APP\ADMINISTRATOR\ORADATA\ORCL\ZLTOOLSTMP02.DBF' size 100m autoextend on;
5、验证添加成功:
select * from dba_temp_files;
1、先查询表空间情况:
select * from dba_tablespaces where contents='TEMPORARY';
查询返回两条记录,说明存在两个临时表空间,如下:
![](https://images2015.cnblogs.com/blog/951623/201606/951623-20160621141749631-1549095825.png)
2、再查看视图dba_temp_files和v$tempfile
select * from dba_temp_files;
select * from v$tempfile;
查询没有返回记录;
3、查看服务器上文件夹下,发现存在临时表空间对应的数据文件:
TEMP01.dbf和ZLTOOLSTMP.dbf两个数据文件;
4、向临时数据表空间添加数据文件:
alter tablespace TEMP add tempfile 'D:\APP\ADMINISTRATOR\ORADATA\ORCL\TEMP02.DBF' size 200m autoextend on;
alter tablespace ZLTOOLSTMP add tempfile 'D:\APP\ADMINISTRATOR\ORADATA\ORCL\ZLTOOLSTMP02.DBF' size 100m autoextend on;
5、验证添加成功:
select * from dba_temp_files;
![](https://images2015.cnblogs.com/blog/951623/201606/951623-20160621141758740-761478485.png)
相关文章推荐
- 线程的使用
- leetcode(word-break)
- 理解 Objective-C Runtime
- 内购
- 编译安装mod_jk on centOS
- Tween动画学习笔记(一)
- Git同步一个Fork
- Hibernate中持久化上下文的flush操作之一AUTO
- lintcode --交错正负数
- TortoiseSVN设置比较工具为BeyondCompare
- iCloud
- linux vsftpd 550 create directory operation failed解决方法
- html5新属性——placeholder
- cocos2dx JNI DETECTED ERROR IN APPLICATION: illegal class name 'XXX'的错误修复
- Linux 下挂载新硬盘方法
- Android 获取文件大小
- 基于Flash ActionScript 实现RTMP发布与播放媒本流
- 9-8-B树-查找-第9章-《数据结构》课本源码-严蔚敏吴伟民版
- querySelector和css3选择器
- 2.5亿美元!乐视买下近300亩雅虎硅谷土地