DB2 Version 9.7 for Linux, UNIX, and Windows

db_name - Database Name monitor element

The real name of the database for which information is collected or to which the application is connected. This is the name the database was given when created.

Table 1. Table Function Monitoring Information
Table Function Monitor Element Collection Level
MON_GET_MEMORY_POOL table function - Get memory pool information Always collected
MON_GET_MEMORY_SET table function - Get memory set information Always collected
Table 2. Snapshot Monitoring Information
Snapshot Level Logical Data Grouping Monitor Switch
Database dbase Basic
Database dbase_remote Basic
Application appl_id_info Basic
Application appl_remote Basic
Table Space tablespace_list Buffer Pool
Buffer Pool bufferpool Buffer Pool
Table table_list Table
Lock db_lock_list Basic
Dynamic SQL dynsql_list Basic
DCS Database dcs_dbase Basic
DCS Application dcs_appl_info Basic
Table 3. Event Monitoring Information
Event Type Logical Data Grouping Monitor Switch
Database event_dbheader -
Usage
You may use this element to identify the specific database to which the data applies.

For applications that are not using DB2 Connect™ to connect to a host or System i® database server, you can use this element in conjunction with the db_path monitor element to uniquely identify the database and help relate the different levels of information provided by the monitor.

When returned with information about memory pools with MON_GET_MEMORY_POOL, the value for this monitor element is NULL for memory pools defined at the instance level. Otherwise, the value returned is the name of the database for which the pool is defined.