Dear all,
It seems there is a problem with some snapshot table functions, if you try
to divide by some element that is unset or equal to 0. This generates a trap
file with the db2fmp.exe process, that keeps going on, until your disk is
full. I'm on W2K, DB2 UDB 8.1 FP4.
Test case:
db2start
db2 connect to sample
db2 "select POOL_ASYNC_DATA _READS / POOL_ASYNC_DATA _READ_REQS from table
(snapshot_datab ase('sample',-1)) as t"
and you get the trap file.
Besides, I wish there be a link to each table function in the Information
Center; page admin/r0006117.htm. You get there a table with no link ...
Snapshot monitor SQL table functions
There are a number of different snapshot monitor SQL table functions
(referred to as snapshot table functions) available, each returning monitor
data about a specific area of the database system. For example, the
SNAPSHOT_BP snapshot table function captures a snapshot of buffer pool
information. The following table lists each available snapshot monitor table
function:
Table 500. Snapshot Monitor SQL Table Functions
Monitor level SQL table function Information returned
Database manager SNAPSHOT_DBM Database manager level information.
Database manager SNAPSHOT_FCM Database manager level information
regarding the fast communication manager (FCM).
Database manager SNAPSHOT_FCMNOD E Database manager level information
for a partition regarding the fast communication manager (FCM).
Database manager SNAPSHOT_SWITCH ES Database manager monitor switch
settings.
....
And in the page regarding the SNAPSHOT_DATABA SE (admin/r0007092.htm) table
function, there is no link back to the "snapshot monitor SQL table
functions" page.
Best regards,
Jean-Marc
It seems there is a problem with some snapshot table functions, if you try
to divide by some element that is unset or equal to 0. This generates a trap
file with the db2fmp.exe process, that keeps going on, until your disk is
full. I'm on W2K, DB2 UDB 8.1 FP4.
Test case:
db2start
db2 connect to sample
db2 "select POOL_ASYNC_DATA _READS / POOL_ASYNC_DATA _READ_REQS from table
(snapshot_datab ase('sample',-1)) as t"
and you get the trap file.
Besides, I wish there be a link to each table function in the Information
Center; page admin/r0006117.htm. You get there a table with no link ...
Snapshot monitor SQL table functions
There are a number of different snapshot monitor SQL table functions
(referred to as snapshot table functions) available, each returning monitor
data about a specific area of the database system. For example, the
SNAPSHOT_BP snapshot table function captures a snapshot of buffer pool
information. The following table lists each available snapshot monitor table
function:
Table 500. Snapshot Monitor SQL Table Functions
Monitor level SQL table function Information returned
Database manager SNAPSHOT_DBM Database manager level information.
Database manager SNAPSHOT_FCM Database manager level information
regarding the fast communication manager (FCM).
Database manager SNAPSHOT_FCMNOD E Database manager level information
for a partition regarding the fast communication manager (FCM).
Database manager SNAPSHOT_SWITCH ES Database manager monitor switch
settings.
....
And in the page regarding the SNAPSHOT_DATABA SE (admin/r0007092.htm) table
function, there is no link back to the "snapshot monitor SQL table
functions" page.
Best regards,
Jean-Marc
Comment