Home > Database > Mysql Tutorial > ORA-1652: unable to extend temp segment by 8 in tablespace错误

ORA-1652: unable to extend temp segment by 8 in tablespace错误

WBOY
Release: 2016-06-07 17:04:01
Original
1412 people have browsed it

ORA-1652: unable to extend temp segment by 8 in tablespace错误在alert_SID.log出现下面错误:Thu Aug 5 17:13:07 2010ORA-1

ORA-1652: unable to extend temp segment by 8 in tablespace错误

在alert_SID.log出现下面错误:

Thu Aug  5 17:13:07 2010
ORA-1652: unable to extend temp segment by 8 in tablespace                 TEST
Thu Aug  5 17:31:58 2010
ORA-1652: unable to extend temp segment by 8 in tablespace                 TEST

查看AIX中数据库的该表空间的最大值应该为32GB,真实大小为2GB。
这是因为没有改变AIX5.3系统的limits文件,该文件限制系统文件的大小。如果没有修改该文件,默认的数据文件最大为2GB
如果数据库在AIX中的用户为Oracle,在/etc/security/limits 文件中增加下面的内容:

Oracle:
        fsize = -1
        data = -1
        stack = -1
        core = -1

改变这文件之后,,数据库重新启动则可以解决最大2GB,则最大值为32GB。

如果不能重启数据库,则可以在数据库中的该表空间中增加多一个数据文件来解决上面的问题。
如:
alter tablespace TEST
add datafile '/usr/oracle/oms/oradata/bgp/TEST02.dbf'
size 5M autoextend on

linux

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template