Home  >  Article  >  Database  >  Oracle教程:ORA-25153 临时表空间为空,ORA-01652 无法通过128

Oracle教程:ORA-25153 临时表空间为空,ORA-01652 无法通过128

WBOY
WBOYOriginal
2016-06-07 15:21:221299browse

写了一个复杂的select语句,突然oracle就报了:ORA-25153 临时表空间为空,这个错误,于是网上查了下,发现了如下解决方法:创建

写了一个复杂的select语句,突然Oracle就报了:ORA-25153 临时表空间为空,这个错误,,于是网上查了下,发现了如下解决方法:创建一个新的临时表空间。

首先要有system权限,登录进去后,

第一步,创建一个表空间,如下,引号中的d是盘符,oracleoradatatestdbtemp01是文件名称,100m是大小,

temp01是临时空间名称,可修改。

create temporary tablespace temp01 tempfile 'd:oracleoradatatestdbtemp01

.dbf' size 100m;

第二步,更改数据库临时表空间,就是将原来的更新到新的上

alter database default temporary tablespace temp01;

第三步,删除原来的临时表空间

drop tablespace temp;

做完如下修改后,ORA-25153的错误可以解决了,但是如果第一步中,size值太小的话,又会报ORA-01652 无法通过128。

这里适当修改一下

create temporary tablespace temp01 tempfile 'd:oracleoradatatestdbtemp01

.dbf' size 100m;

中的size值即可。

本文永久更新链接地址

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn