金融其它数据库

db2diag.log报错,请高手帮忙解决。

OS_version:Windows 2003 EE SP3 64 bits
DB_version: DB2 v9.1.300.257 32

说明:00:10这个时刻数据库会自动执行runstatus。
以下为详细日志:
2011-02-19-00.10.03.562000+480 I35646H336         LEVEL: Event
PID     : 4392                 TID  : 7144        PROC : db2fmp.exe
INSTANCE: DB2                  NODE : 000
FUNCTION: DB2 UDB, Health Monitor, hmonLEOExecStatsProfiling, probe:30
START   : Automatic job Automatic statistics profiling has started on database ICMNLSDB
2011-02-19-00.10.03.625000+480 I35984H316         LEVEL: Event
PID     : 4392                 TID  : 7144        PROC : db2fmp.exe
INSTANCE: DB2                  NODE : 000
FUNCTION: DB2 UDB, Health Monitor, hleoFwPopulate, probe:100
START   : LEO: Feedback warehouse population has started on database ICMNLSDB
2011-02-19-00.10.03.718000+480 I36302H375         LEVEL: Error
PID     : 4392                 TID  : 7144        PROC : db2fmp.exe
INSTANCE: DB2                  NODE : 000
FUNCTION: DB2 UDB, Health Monitor, DumpFileList::initialize, probe:212
MESSAGE : ZRC=0x870F0011=-2029060079=SQLO_PATH "an invalid path"
          DIA8514C An invalid file path, "", was specified.
2011-02-19-00.10.03.828000+480 I36679H373         LEVEL: Error
PID     : 4392                 TID  : 7144        PROC : db2fmp.exe
INSTANCE: DB2                  NODE : 000
FUNCTION: DB2 UDB, Health Monitor, DumpFileList::clearAll, probe:123
MESSAGE : ZRC=0x870F0011=-2029060079=SQLO_PATH "an invalid path"
          DIA8514C An invalid file path, "", was specified.
2011-02-19-00.10.03.828000+480 I37054H373         LEVEL: Error
PID     : 4392                 TID  : 7144        PROC : db2fmp.exe
INSTANCE: DB2                  NODE : 000
FUNCTION: DB2 UDB, Health Monitor, DumpFileList::clearAll, probe:123
MESSAGE : ZRC=0x870F0011=-2029060079=SQLO_PATH "an invalid path"
          DIA8514C An invalid file path, "", was specified.
2011-02-19-00.10.03.828000+480 I37429H450         LEVEL: Event
PID     : 4392                 TID  : 7144        PROC : db2fmp.exe
INSTANCE: DB2                  NODE : 000
FUNCTION: DB2 UDB, Health Monitor, hleoFwPopulate, probe:910
MESSAGE : ECF=0x900004E2=-1879046942=ECF_HMON_LEO_POP_FAIL
          General failure in feedback warehouse population
STOP    : LEO: Feedback warehouse population has completed with errors on database ICMNLSDB
2011-02-19-00.10.03.875000+480 I37881H517         LEVEL: Event
PID     : 4392                 TID  : 7144        PROC : db2fmp.exe
INSTANCE: DB2                  NODE : 000
FUNCTION: DB2 UDB, Health Monitor, hmonLEOExecStatsProfiling, probe:150
STOP    : Automatic job Automatic statistics profiling has completed with error -1879046942 on database ICMNLSDB
Make sure that the feedback warehouse has been created using the SYSINSTALLOBJECTS stored procedure, and that automatic statistics profiling is turned on.
omatic statistics profiling is turned on.
参与6

5同行回答

gaoqsgaoqs软件工程师中国民生银行
如果需要自动统计信息配置,那么可以打开参数 AUTO_STATS_PROF 和 AUTO_PROF_UPD。自动统计信息配置则通过 ...weiruan85 发表于 2011-2-21 14:59     AUTO_START_PROF    AUTO_PROF_UPD 两个参数都已打开的。为何还报这个错啊?...显示全部
如果需要自动统计信息配置,那么可以打开参数 AUTO_STATS_PROF 和 AUTO_PROF_UPD。自动统计信息配置则通过 ...
weiruan85 发表于 2011-2-21 14:59





    AUTO_START_PROF
    AUTO_PROF_UPD 两个参数都已打开的。

为何还报这个错啊?收起
金融其它 · 2011-03-01
浏览1243
drdb2drdb2系统工程师se
回复 4# weiruan85 Good job:)显示全部
回复 4# weiruan85


Good job:)收起
互联网服务 · 2011-02-24
浏览1230
feedback warehouse has been created using the SYSINSTALLOBJECTS stored procedure, and that automatic statistics profiling is turned on.显示全部
feedback warehouse has been created using the SYSINSTALLOBJECTS stored procedure, and that automatic statistics profiling is turned on.收起
2011-02-21
浏览1299
start2000start2000系统架构师ABB
没什么大问题显示全部
没什么大问题收起
互联网服务 · 2011-02-21
浏览1288
weiruan85weiruan85数据库管理员ibm
如果需要自动统计信息配置,那么可以打开参数 AUTO_STATS_PROF 和 AUTO_PROF_UPD。自动统计信息配置则通过确定何时和如何收集统计信息更进了一步。统计信息配置文件是自动生成的,自动统计信息收集过程将用它来调度 RUNSTATS。可以用内部算法来比较新收集的统计信息与已保存...显示全部
如果需要自动统计信息配置,那么可以打开参数 AUTO_STATS_PROF 和 AUTO_PROF_UPD。自动统计信息配置则通过确定何时和如何收集统计信息更进了一步。统计信息配置文件是自动生成的,自动统计信息收集过程将用它来调度 RUNSTATS。可以用内部算法来比较新收集的统计信息与已保存的一组统计信息,并基于某些触发条件发出包含抽样的 RUNSTATS。
当启用自动统计信息配置时,数据库活动的有关信息被收集并存储在查询反馈仓库中。然后,基于查询反馈仓库中的数据生成统计配置文件。
为了允许自动生成统计信息配置文件,需要设置两个数据库配置参数:
•        db2 update db cfg for SAMPLE using AUTO_STATS_PROF ON
打开该参数将启动查询反馈数据的收集。
•        db2 update db cfg for SAMPLE using AUTO_PROF_UPD ON
打开该参数,指定使用分析查询反馈数据的 DB2 中的建议来更新 RUNSTATS 配置文件。
在触发自动统计信息配置之前,必须通过运行 SYSINSTALLOBJECTS 存储过程创建查询反馈仓库。
按照下列方式调用该存储过程:
                               
call SYSINSTALLOBJECTS ( toolname , action , tablespacename , schemaname )

其中,toolname 是“ASP”或“AUTO STATS PROFILING”,对于 action,“C”表示创建,“D”表示删除。
目前,不使用参数 schemaname。
例如,要创建反馈仓库,需要运行下列存储过程:
call SYSINSTALLOBJECTS ('ASP', 'C', 'USERSPACE1', '')

该过程将创建下列表、存储建议以及与查询执行过程中碰到的谓词有关的信息:
•        SYSTOOLS.OPT_FEEDBACK_QUERY
•        SYSTOOLS.OPT_FEEDBACK_PREDICATE
•        SYSTOOLS.OPT_FEEDBACK_PREDICATE_COLUMN
•        SYSTOOLS.OPT_FEEDBACK_RANKING
•        SYSTOOLS.OPT_FEEDBACK_RANKING_COLUMN
当禁用 AUTO_PROF_UPD 参数时,可以将建议存储在 SYSTOOLS.OPT_FEEDBACK_RANKING 表中。然后,当手动更新 RUNSTATS 配置文件时,就可以查看该表中所存储的建议。
DB2 自动统计信息收集和配置生成只能在 DB2 串行模式下启用;它们在联邦的、SMP 和 MPP 环境中是不可用的。收起
政府机关 · 2011-02-21
浏览1269

提问者

gaoqs
软件工程师中国民生银行
擅长领域: 数据库

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2011-02-21
  • 关注会员:1 人
  • 问题浏览:10150
  • 最近回答:2011-03-01
  • X社区推广