Skip to main contentIBM Db2 dsmtop Wiki

IO - CF Status

Purpose

Show the current status of the cluster caching facility (CF).  A few items about the global buffer pool are also shown here.

 

There are normally 2 CFs, the current primary and a peer.  It is possible, but not recommended, to run with a single CF. 

 

The purpose of the peer CF is for high availability.  If the primary CF fails, then the peer can take over.  The “State” property tracks failover and other HA type events with values such as BECOMING_PRIMARY and CATCHUP.

 

The global buffer pool (GBP) is part of the CF, so a few metrics about it are shown here.  There is only one GBP even if two CFs have been configured.  So items for the GBP are shown in a separate section at the bottom.

 

This view is populated only if the monitored database is pureScale.  For non pureScale databases, dsmtop opens a pop-up with the message “Available only for pureScale”.

IO-CF-Status.png

Histograms and Summaries (Gauges)

(none)

 

Metrics Shown

Metrics are presented in two columns, one for each CF.  The name of each CF is shown at the top of its column.  There is a small separate section at the bottom with two metrics for the global buffer pool.

 

Instance ID

The instance ID is a member number, except that CF members are special purpose members that don’t show up in most of the monitoring.

 

 

Home Host

The machine which was associated with the member when it was first added to the instance.

 

Source: db2_get_instance_info.home_host

 

Current Host

The machine name on which the member is currently running.

 

Source: db2_get_instance_info.current_host

State

Normally one CF will be PRIMARY and one PEER.

Possible values are

  • STOPPED
  • RESTARTING
  • BECOMING_PRIMARY
  • PRIMARY
  • CATCHUP1
  • PEER, ERROR
  • UNKNOWN

Cross Invalidation Requests / sec

Source: mon_get_cf_cmd.total_cf_requests

Where cf_cmd_name='CrossInvalidate'

Average Cross Invalidation Request Time (us)

Average time for a cross invalidation command.  This should be less than 10 us, more than 20 us indicates a bottleneck.

total_cf_cmd_time_micro / total_cf_requests

Where cf_cmd_name='CrossInvalidate'

CPU Usage %

Source: sysibmadm.env_cf_sys_resources.cpu_usage_total

Memory Total (KB)

Source: sysibmadm.env_cf_sys_resources.memory_total

GBP Data Hit Ratio

100.0 * (pool_data_gbp_l_reads - pool_data_gbp_p_reads) / pool_data_gbp_l_reads

GBP Full / 10k TX

Ideally, this is zero.  Up to about 5 is acceptable.  Higher values indicate possible configuration problems, including:

  • GBP configured too small
  • Too few castout engines configured
  • SOFTMAX set too high

10,000 * (num_gbp_full) / total_app_commits

Default Sort Column

N / A – this view is not a grid.

Keyboard navigation: Vic

Dedicated shortcut key: (none)

Author: KevinLBeck