java.sql.SQLException: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
2017-03-23 17:49
766 查看
数据库更新操作报错:
Error updating database. Cause: java.sql.SQLException: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
; uncategorized SQLException for SQL []; SQL state [72000]; error code [1652]; ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
; nested exception is java.sql.SQLException: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
原因:表空间太小
1.删除掉原表空间,新建一个表空间temp02
查找表空间:
select file_name,bytes/1024/1024 "MB",autoextensible,tablespace_name from dba_temp_files
新建temp02;
create temporary tablespace TEMP02 TEMPFILE '/u01/app/oracle/product/10.2.0/db_1/dbs/temp02.dbf' SIZE 512M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;
Tablespace created.
更改数据库的默认临时表空间为temp02
alter database default temporary tablespace temp02;
删除原来的默认临时表空间TEMP01
drop tablespace temp01 including contents and datafiles;
2.更改临时表空间大小
alter database tempfile '/u01/app/oracle/product/10.2.0/db_1/dbs/temp01.dbf' RESIZE 1000m;
Error updating database. Cause: java.sql.SQLException: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
; uncategorized SQLException for SQL []; SQL state [72000]; error code [1652]; ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
; nested exception is java.sql.SQLException: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
原因:表空间太小
1.删除掉原表空间,新建一个表空间temp02
查找表空间:
select file_name,bytes/1024/1024 "MB",autoextensible,tablespace_name from dba_temp_files
新建temp02;
create temporary tablespace TEMP02 TEMPFILE '/u01/app/oracle/product/10.2.0/db_1/dbs/temp02.dbf' SIZE 512M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;
Tablespace created.
更改数据库的默认临时表空间为temp02
alter database default temporary tablespace temp02;
删除原来的默认临时表空间TEMP01
drop tablespace temp01 including contents and datafiles;
2.更改临时表空间大小
alter database tempfile '/u01/app/oracle/product/10.2.0/db_1/dbs/temp01.dbf' RESIZE 1000m;
相关文章推荐
- ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
- ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
- ORA-01652:unable to extend temp segment by 128 in tablespace TEMPTS1
- ORA-01652 : Unable to extend temp segment by 128 in tablespace temp
- 临时表空间不够ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
- Oracle - ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
- ORA-01652: 无法通过 128 (在表空间 TEMP 中) 扩展 temp 段(EXP-00056: 遇到 ORACLE 错误 1652 ORA-01652: unable to extend temp segment by 128 in tablespace TEMP)
- ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
- ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
- ORA-01652:unable to extend temp segment by num in tablespace name
- ORA-01652:unable to extend temp segment by num in tablespace name
- ORA-1652错误 unable to extend temp segment by 128 in tablespace
- ORA-01652:unable to extend temp segment by num in tablespace name
- 2016-1-8 ORA-1652: unable to extend temp segment by 128 in tablespace解决方案
- ORA-1652: unable to extend temp segment by 128 in tablespace xxx Troubleshootin
- ORA-01652 unable to extend temp segment by string in tablespace string
- ORA-01652:unable to extend temp segment by num in tablespace name
- ORA-1652: unable to extend temp segment by 128 in tablespace
- ORA-20000: -1652:ORA-01652: unable to extend temp segment by 8192 in tablespace
- ORA-01652:unable to extend temp segment by num in tablespace name