我在DB2 9.7.8上收到此错误
Database handling error - 4003: Database error in dataview MATCHTAB: SQL0956C Not enough storage is available in the database heap to process the statement.
我已按照此处的建议增加了堆大小:
http://www-01.ibm.com/support/knowledgecenter/SSEPGG_9.5.0/com.ibm.db2.luw.messages.sql.doc/doc/msql00956c.html?lang=en
但它没有解决错误 我将堆大小从6000增加到8000。
有没有办法确定合适的堆大小,因为我不想随意增加它?
谢谢,
乔
db2diag登录mustaccios建议
DATA #1 : <preformatted>
Out of memory failure for Database Heap (DBHEAP) on node 0.
Requested block size : 8208 bytes.
Physical heap size : 48955392 bytes.
Configured heap size : 49872896 bytes.
Unreserved memory used by heap : 0 bytes.
Unreserved memory left in set : 61014016 bytes.
2014-01-20-15.16.30.573000+060 I90041446H637 LEVEL: Error
PID : 2504 TID : 2488 PROC : db2syscs.exe
INSTANCE: DB2 NODE : 000 DB : Database1
APPHDL : 0-4062 APPID: *LOCAL.DB2.140120140000
AUTHID : CORONA
EDUID : 2488 EDUNAME: db2agent (CORONA) 0
FUNCTION: DB2 UDB, access plan manager, sqlra_add_pkg_id_to_ejected_list, probe:252
RETCODE : ZRC=0x8B0F0002=-1961951230=SQLO_NOMEM_DBH
"No memory available in 'Database Heap'"
DIA8302C No memory available in the database heap.
DATA #1 : signed integer, 8 bytes
7360