加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

表空间问题,ORA-1654:unabletoextendindexAPPLSYS.SYS_IOT_TOP_245575

(2013-10-29 10:09:20)
标签:

erp

中科院

it

oracle

分类: DB

空间扩展的问题大部分的问题都在这里,请对号入座吧!

update 2019.01.17

 

----------------------------------------------

实际环境中,有时发现数据库表空间明显还有数G的空闲,日志却报空间不足的错误,多是由于数据库自动扩展时,next extent的值比较大,超出了整个tablespace的最大值。

以下举例即是,缩小next extet值即可。

问题一:

ORA-1654: unable to extend index APPLSYS.SYS_IOT_TOP_245575 by 311075 in tablespace            APPLSYSD

[oraprod@arpinfo ~]$ sqlplus /nolog

SQL*Plus: Release 9.2.0.3.0 - Production on Thu Oct 17 10:46:47 2013
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

SQL> conn apps/xxxxxxx;
Connected.
SQL> select table_name from dba_indexes where index_name = 'SYS_IOT_TOP_245575';

TABLE_NAME
------------------------------
AQ$_WF_CONTROL_H

SQL>alter table applsys.AQ$_WF_CONTROL_H  storage (maxextents unlimited);
 alter table applsys.aq$_wf_deferred_h  storage (maxextents unlimited);

SQL>ALTER TABLE "APPLSYS"."AQ$_WF_CONTROL_H"      STORAGE ( NEXT 512K)  ;
Table altered.


--------看图说话,用oracle client处理上面的问题-----------------

http://s10/mw690/002aGv9xzy6YS8pzySBb9&690


------------------------------------------------

问题二:
http://s10/mw690/002aGv9xzy7eAqeHBFLf9&690

ORA-1653: unable to extend table APPLSYS.WF_LOCAL_ROLES_STAGE by 138255 in              tablespace APPLSYSD 


http://s1/mw690/002aGv9xzy7eAqkDTFub0&690

或执行sql语句:

ALTER TABLE "APPLSYS"."WF_LOCAL_ROLES_STAGE"  STORAGE ( NEXT 100M)

 

 

问题三:

-------------------我是分隔线-----------------------------

ORA-1653: unable to extend table APPS.CAS_COMN_FIN_LATEST3 by 311075 in    tablespace APPLSYSD

ALTER TABLE "APPS"."CAS_COMN_FIN_LATEST3"     STORAGE ( NEXT 50M);

ALTER TABLE "APPS"."CAS_COMN_FIN"    STORAGE ( NEXT 50M)

------------------我是分隔线---------------------------

select owner,table_name,tablespace_name,next_extent,pct_increase 
from dba_tables
where next_extent>10000000 and pct_increase>0
order by next_extent;

alter table APPS.REP_HR_KTFTMX_V        STORAGE (NEXT 16M MINEXTENTS MAXEXTENTS UNLIMITED PCTINCREASE 0);

------------------------------------------------------------------------------------

对next_extent排序

select segment_name,next_extent,tablespace_name from dba_segments order by  next_extent desc  nulls last 

--------------------我是分隔线-----------------------------------

问题四:
 ORA-1631: max # extents 505 reached in table PA.CPA_ALERT_INSERT_F

su - oraprod
sqlplus /nolog
conn / as sysdba

ALTER TABLE "PA"."CFA_ALERT_INSERT_F"    STORAGE ( MAXEXTENTS UNLIMITED);


--------------------------------------------------

ORA-1631: max # extents 505 reached in table APPLSYS.WF_ERROR

 

select owner,segment_name,segment_type,tablespace_name,extents,max_extents from dba_segments where segment_name='WF_ERROR';

ALTER TABLE "APPLSYS"."WF_ERROR"    STORAGE ( MAXEXTENTS UNLIMITED);

 

-----------------------------------------------------

问题五:

http://s16/bmiddle/002aGv9xzy7qQkDffbh6f&690

alter index  GL.GL_ACCOUNT_HIERARCHIES_U1 STORAGE (NEXT 512 MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0);

 

------------------------------------------

其它相关:

数据库扩展表空间:http://blog.sina.com.cn/s/blog_769f68db01015oq7.html
erp 过帐报错: http://blog.sina.com.cn/s/blog_769f68db0101esbs.html

会计期间无法打开 http://blog.sina.com.cn/s/blog_769f68db0100y7yh.html

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有