DB2数据库执行慢

我的DB2数据库每天上午都非常卡,慢。查询一张表都要等N久。然后我 db2 "get snapshot for all bufferpools" 得到以下信息。不清楚该如何优化,救助各位大侠们多多赐教!非常感谢

                       Bufferpool Snapshot

Bufferpool name                            = IBMSYSTEMBP32K
Database name                              = QYDB
Database path                              = /home/db2inst1/db2inst1/NODE0000/SQL00001/MEMBER0000/
Input database alias                       =
Snapshot timestamp                         = 06/26/2015 09:38:13.557438

Buffer pool data logical reads             = Not Collected
Buffer pool data physical reads            = Not Collected
Buffer pool temporary data logical reads   = Not Collected
Buffer pool temporary data physical reads  = Not Collected
Buffer pool data writes                    = Not Collected
Buffer pool index logical reads            = Not Collected
Buffer pool index physical reads           = Not Collected
Buffer pool temporary index logical reads  = Not Collected
Buffer pool temporary index physical reads = Not Collected
Buffer pool xda logical reads              = Not Collected
Buffer pool xda physical reads             = Not Collected
Buffer pool temporary xda logical reads    = Not Collected
Buffer pool temporary xda physical reads   = Not Collected
Buffer pool xda writes                     = Not Collected
Total buffer pool read time (milliseconds) = Not Collected
Total buffer pool write time (milliseconds)= Not Collected
Asynchronous pool data page reads          = Not Collected
Asynchronous pool data page writes         = Not Collected
Buffer pool index writes                   = Not Collected
Asynchronous pool index page reads         = Not Collected
Asynchronous pool index page writes        = Not Collected
Asynchronous pool xda page reads           = Not Collected
Asynchronous pool xda page writes          = Not Collected
Total elapsed asynchronous read time       = Not Collected
Total elapsed asynchronous write time      = Not Collected
Asynchronous data read requests            = Not Collected
Asynchronous index read requests           = Not Collected
Asynchronous xda read requests             = Not Collected
No victim buffers available                = Not Collected
Direct reads                               = Not Collected
Direct writes                              = Not Collected
Direct read requests                       = Not Collected
Direct write requests                      = Not Collected
Direct reads elapsed time (ms)             = Not Collected
Direct write elapsed time (ms)             = Not Collected
Database files closed                      = Not Collected
Unread prefetch pages                      = Not Collected
Vectored IOs                               = Not Collected
Pages from vectored IOs                    = Not Collected
Block IOs                                  = Not Collected
Pages from block IOs                       = Not Collected

Node number                                = 0
Tablespaces using bufferpool               = 0
Alter bufferpool information:
Pages left to remove                      = 0
Current size                              = 16
Post-alter size                           = 16
参与3

2同行回答

drdb2drdb2系统工程师se
都是“。。。 = Not Collected”at minimum, you need to turn on "monitor switch" and collect some troubleshooting data显示全部
都是“。。。 = Not Collected”
at minimum, you need to turn on "monitor switch" and collect some troubleshooting data收起
互联网服务 · 2015-06-26
浏览1212
atpeace331atpeace331数据库管理员银行
回复 1# alan9668 问题基本描述格式:-- 操作系统信息:-- DB2 版本信息:-- 实例、数据库配置信息:-- 问题现象描述:  针对你的问题应该把执行 sql 和 涉及的表以附件形式贴出--  问题发生频率-- 问题发生时的系统层面,数据库层面的监控数据贴出来...显示全部
回复 1# alan9668

问题基本描述格式:
-- 操作系统信息:

-- DB2 版本信息:

-- 实例、数据库配置信息:

-- 问题现象描述:

  针对你的问题应该把执行 sql 和 涉及的表以附件形式贴出

--  问题发生频率

-- 问题发生时的系统层面,数据库层面的监控数据贴出来收起
银行 · 2015-06-26
浏览1283

提问者

alan9668
系统运维工程师alan
擅长领域: Linux服务器系统管理

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2015-06-26
  • 关注会员:1 人
  • 问题浏览:2453
  • 最近回答:2015-06-26
  • X社区推广