Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 网络资源 > 同步WF时总提示APPLSYSD表空间不足
【标  题】:同步WF时总提示APPLSYSD表空间不足
【关键字】:WF,APPLSYSD
【来  源】:http://www.cublog.cn/u/1281/showart.php?id=157530

同步WF时总提示APPLSYSD表空间不足

Your Ad Here
某为网友法帖求助:
[求助] 同步WF时总提示APPLSYSD表空间不足

我执行一个请求,同步 WF 局部表,结果报错

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

而该表空间空闲剩余3.7GB啊!!!

出现好几次了,每次要增加1GB的数据文件才行。

而且该表空间有时候一下增加1GB左右空间,有时候又自己变少了。

有人能帮助、解释一下吗?

 

解决过程:

1 try to resize the tbs's datafile,but no use

2 这是他的数据文件分布情况

3 有人建议扩大这个table的maxextents,我们不妨看看具体报错

ORA-1653: unable to extend table APPLSYS.WF_LOCAL_ROLES_STAGE by 138255 in tablespace APPLSYSD
题是很明显,使这个table要申请那么多空间,可是tbs不能满足,而非tbs由空间,可是table的maxextents到了,所以这种说法否掉

4 后来我建议对方察看这个tbs的连续的free_space,因为oracle存取数据的时候要找的是连续的space,但是对方察看后发现freespace也足够

5最后在metalink发现如下bug2812945

Cause

The table storage parameters are fixed in 11i.OWF.H - Bug 3258819
This problem was detected on Bug 2812945

When a next extent is required for any of the following tables is requested, as the PCTINCREASE is set to 50, it asks each time for a bigger space.

WF_LOCAL_ROLES
WF_LOCAL_USER_ROLES
WF_LOCAL_USER_ROLES_STAGE
WF_LOCAL_ROLES_STAGE
WF_LOCAL_ROLES_TL_STAGE

Feedback from development.

解决方案:

To implement the solution, please execute the following steps:

1. List storage parameters for wfds tables.

select table_name, partition_name, initial_extent, next_extent, pct_increase
from dba_tab_partitions
where table_name in ('WF_LOCAL_USER_ROLES_STAGE'
,'WF_LOCAL_USER_ROLES'
,'WF_LOCAL_ROLES_STAGE'
,'WF_LOCAL_ROLES'
,'WF_LOCAL_ROLES_TL'
,'WF_LOCAL_ROLES_TL_STAGE')
Union
select table_name, 'No partition', initial_extent, next_extent, pct_increase
from sys.dba_tables t
where table_name in ('WF_LOCAL_USER_ROLES_STAGE'
,'WF_LOCAL_ROLES_STAGE'
,'WF_LOCAL_ROLES_TL_STAGE')
order by 1, 2;



2. All partitions that have next extent over 16M or pctincrease different to 0 need to be modified.
Generate the statements to correct these storage parameters using this SQL statement:

Select 'Alter table APPLSYS.' || table_name || ' modify partition '
|| partition_name || ' storage ( next 16M pctincrease 0);' statement
from dba_tab_partitions
where table_name in ('WF_LOCAL_ROLES','WF_LOCAL_USER_ROLES ')
and (pct_increase <> 0 or next_extent > 16 * 1024 * 1024)
Union
select 'Alter table APPLSYS.' || table_name
            || ' storage clause (NEXT 16M pctincrease 0);'
from sys.dba_tables t
where table_name in ('WF_LOCAL_USER_ROLES_STAGE'
,'WF_LOCAL_ROLES_STAGE'
,'WF_LOCAL_ROLES_TL_STAGE')
and (pct_increase <> 0 or next_extent > 16 * 1024 * 1024)
order by 1;

3. Run previous statements generated.

4. Rerun statement in step #1 to review the changes in the storage wfds table storage parameters.

5 让对方察看table的定义

SQL> select TABLE_NAME, INITIAL_EXTENT, next_extent
  2  from all_tables
  3  where table_name = 'WF_LOCAL_ROLES_STAGE';
.
.
TABLE_NAME              INITIAL_EXTENT             NEXT_EXTENT 
---------------------   -----------------------    ----------------------- 
WF_LOCAL_ROLES_STAGE    40960                      755048448           

可以apply patch:Patch 2350501

打完后,应该是这样:

Change the next_extent to 5M as shown below
.
SQL> select TABLE_NAME, INITIAL_EXTENT, next_extent
  2  from all_tables
  3   where table_name = 'WF_LOCAL_ROLES_STAGE';
.
TABLE_NAME              INITIAL_EXTENT             NEXT_EXTENT 
---------------------   -----------------------    ----------------------- 
WF_LOCAL_ROLES_STAGE    40960                      5242880

嗬嗬,搞了半天居然是table的参数定义搞得鬼!

Remen

2006.8.19

 

 

 

 

 

 

 

AutoRaid命令:【上一篇】
第1章U N I X基础知识:【下一篇】
【相关文章】
  • File.deleteOnExit() 与 File.createNewFile() 的冲突
  • 使用CBWFQ进行流量控制
  • PHP下解析swf文件头
  • WWF的网站使用了新的.NET Framework 3.0的域名
  • WindowFX Enhanced v2.12 注册版
  • WF in Asp.Net
  • EWF概述
  • WinFX(WCF,WPF,WWF) 团队成立了,欢迎大家参与(此贴也为申请加入团队贴,只要留下你的BlogID就可以了)。
  • Windows Workflow Foundation (wwf) 学习笔记(二)
  • Growing FreeBSD's filesystems with growfs(8)
  • 【随机文章】
  • 找到PHP v4.0.2rc1-v4.0.7RC2 exploit program
  • AIX Preservation Installation
  • 某些服务开机启动不了怎么办?
  • 用 Runtime Syp 调整 Eclipse 的启动性能,第 2 部分
  • switch——case语句
  • Dot net 正则表达式的应用
  • 网卡启动网络安装Linux -use pxe and kickstart --zt
  • window权限的讲解
  • Informix-Online 7.30的安装及管理(6)
  • VB的字符串缓冲类,为了回答一个问题匆忙写的,HoHo
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 bbb软讯网络 All Rigths Reserved.