SMF 100-001 System Statistics
    • 29 Feb 2024
    • 8 Minutes to read
    • Contributors
    • Dark
      Light

    SMF 100-001 System Statistics

    • Dark
      Light

    Article summary

    Introduction

    DB2 statistics will be collected from SMF type 100. In this type of record, it doesn’t really matter the SMF subtype of the SMF record because DB2 uses another specification type to distinguish different SMF specializations.

    In DB2 there is an identification named IFCID (Instrumentation Facility Component Identifier) each one with different data and purpose.

    The statistics trace reports information about how much the Db2 system services and database services are used.

    You can use the information that the statistics trace provides to plan Db2 capacity or to tune the entire set of active Db2 programs.

    If you specify YES for the SMF STATISTICS entry in panel DSNTIPN, the statistics trace uses classes 1, 3, 4, 5, and 6 as the defaults. If the statistics trace is started using the START TRACE command, the statistics trace uses class 1 as the default.

    The following table describes the Db2 statistics trace classes.

    If you specify YES for the SMFSTAT subsystem parameter, the statistics trace starts automatically when you start Db2, and sends the default classes (classes 1, 3, 4, 5, and 6) statistics data to SMF. SMF records statistics data in both SMF type 100 and 102 records. IFCIDs 0001, 0002, 0202, 0225, 0230, and 0369 are of SMF type 100. All other IFCIDs in statistics trace classes are of SMF type 102.

    When you specify CLASS(7) or IFCID(365) in a START TRACE or MODIFY TRACE command, Db2 writes IFCID 0365 records. These records are written to the specified destination of the statistics trace for remote locations that communicate with the subsystem. Statistics are generated only for those locations that have activity since the record was generated. The location statistics are written each time that the STATIME interval elapses. Statistics can be written for as many as 95 remote locations.

    Db2 also writes statistics about all DRDA locations with the other default statistics trace data to a single SMF location named DRDA REMOTE LOCS, whenever other default statistics are written.

    Statistics trace classesThe following table shows the IFCIDs that are activated for each statistics trace class.Table 1. Classes for Db2 statistics traceClassDescription of classActivated IFCIDs1Information about system services, database statistics, statistics for the database services address space (ssnmDBM1), and information about the system parameters that were in effect when the trace was started. This default class is also activated when you omit the CLASS keyword from the START TRACE command when you start the statistics trace.0001, 0002, 0105, 0106, 0202, 02252Installation-defined statistics record01523Deadlock, lock escalation, group buffer pool, data set extension information, and indications of long-running uncommitted reads, and active log space shortages.0172, 0196, 0250, 0258, 0261, 0262, 0313, 0330, 03374Db2 exceptional conditions.0173, 0191-0195, 0203-0210, 0235, 0236, 0238, 0267, 02685Db2 data sharing statistics record.02306Storage statistics for the Db2 subsystem.02257DRDA location statistics.03658Data set I/O statistics.01999Aggregated CPU and wait time statistics by connection type.036910 - 29Reserved. 30 - 32Available for local use.

    Intervals for collecting Db2 statistics trace records
    Db2 collects statistics trace records for the following IFCIDs at the interval specified by the STATIME and SYNCVAL subsystem parameters. For more information, see STATISTICS TIME field (STATIME subsystem parameter) and

    STATISTICS SYNC field (SYNCVAL subsystem parameter)

    0105 (Db2 performance trace)
    0106 (system parameters)
    0199 (data set statistics)
    0365 (remote location statistics)
    0402 (monitor profile warnings or exceptions)
    Db2 collects statistics trace records for other IFCIDs at fixed one-minute intervals.

    CSV I001 for SMF 100 IFCID 001, including PROD section, Control Address Space stats, Command stats, Storage Manager stats, DDF stats, z/OS System Stats.

    Fields

    Stored in dbsi001

    SMF FieldDB Column nameDescription
    DBSHD_RTYrecord_typeValue is always I001
    DBSHD_SIDsidSID
    DBSHD_DTTMwrite_datetimeDatetime written into SMF buffer
    DBSHD_SSIDssidSubsystem ID
    DBSQWH_QWHSLOCNlocal_location_nameLocal location name
    DBSQWH_QWHSNIDluwid_network_idLUWID Network ID
    DBSQWH_QWHSLUNMluwid_lunameLUWID LUNAME
    DBSQWH_QWHSLUUVluwid_uniquenLUWID UNIQUEN
    DBSQWH_QWHSLUCCluwid_commitLUWID commit
    DBSQWH_QWHSACEace_addressACE address
    DBSQWH_QWHCAIDauthorization_idAuthorization ID
    DBSQWH_QWHCCVcorrelation_idCorrelation ID
    DBSQWH_QWHCPLANplan_namePlan name
    DBSQWH_QWHCOPIDoriginal_operator_idORIG. Operator ID
    DBSQWH_QWHCATYPconnection_typeConnection type
    DBSQWH_QWHCCNconnection_nameConnection name
    DBSQWH_QWHCEUIDenduser_idEnduser USER-ID
    DBSQWH_QWHCEUTXenduser_transactionEnduser transaction
    DBSQWH_QWHCEUWNenduser_workstationEnduser workstation
    DBSQWH_QWHCTCXTtrusted_contextTrusted context
    DBSQWH_QWHCROLErole_nameRole name
    DBSQWH_QWHCCTKNcorrelation_tokenCorrelation token
    DBSQWH_QWHDRQNMrequester_locationRequester location
    DBSQWH_QWHDSVNMserver_name_parameterServer name parameter
    DBSQWH_QWHDPRIDproduct_id_parameterProduct ID parameter
    DBSQWH_QWHAMEMNdb2_member_nameDB2 Member name
    DBSQWH_QWHADSGNdb2_group_nameDB2 Group name
    DBSQWH_QWHUCPUcpu_time_ziip_and_cpCPU time ZIIP+CP
    DBSQWH_QWHUSEcpu_time_ziipCPU time ZIIP
    DBS001_QWSAPROClast_4_char_procedureLast 4 char of procedure
    DBS001_QWSAEJSTas_job_step_timerJOB step timer value of A.S.
    DBS001_QWSASRBTas_srb_timerSRB timer value for A.S.
    DBS001_QWSAASIDas_asidASID value for A.S.
    DBS001_QWSAASCBascb_tokenASCB token
    DBS001_QWSAPSRBas_premtable_srb_timerPREEMTABLE SRB timer for A.S.
    DBS001_QWSAPSRB_ZIIPziip_premtable_srb_timerPREEMTABLE SRB ZIIP timer
    DBS001_Q9STCTR0display_databaseDisplay database
    DBS001_Q9STCTR1display_threadDisplay thread
    DBS001_Q9STCTR2display_utilityDisplay utility
    DBS001_Q9STCTR3recover_bsdsRecover BSDS
    DBS001_Q9STCTR4recover_indoubtRecover INDOUBT
    DBS001_Q9STCTR5start_databaseStart database
    DBS001_Q9STCTR6start_traceStart trace
    DBS001_Q9STCTR7start_subsystemStart subsystem
    DBS001_Q9STCTR8stop_databaseStop database
    DBS001_Q9STCTR9stop_traceStop trace
    DBS001_Q9STCTRAstop_subsystemStop subsystem
    DBS001_Q9STCTRBterm_utilityTerm utility
    DBS001_Q9STCTRCdis_traceDIS trace
    DBS001_Q9STCTRDreset_generic_cluReset generic clu
    DBS001_Q9STERORunrecognized_commandUnrecognized command
    DBS001_Q9STCTREstart_rlimitStart RLimit
    DBS001_Q9STCTRFstop_rlimitStop RLimit
    DBS001_Q9STCTRGdisplay_rlimitDisplay RLimit
    DBS001_Q9STCTRHmodify_traceModifiy trace
    DBS001_Q9STCTRIstart_ddfStart DDF
    DBS001_Q9STCTRJstop_ddfStop DDF
    DBS001_Q9STCTRKcancel_ddf_threadCancel DDF thread
    DBS001_Q9STCTRLdisplay_locationDisplay location
    DBS001_Q9STCTRMarchive_logArchive log
    DBS001_Q9STCTRNalter_bufferpoolAlter bufferpool
    DBS001_Q9STCTROdisplay_bufferpoolDisplay bufferpool
    DBS001_Q9STCTRPset_archiveSet archive
    DBS001_Q9STCTRQdisplay_archiveDisplay archive
    DBS001_Q9STCTRRreset_indoubtReset INDOUBT
    DBS001_Q9STCTRSalter_gbpoolAlter GB pool
    DBS001_Q9STCTRTdisplay_gbpoolDisplay GB pool
    DBS001_Q9STCTRUdisplay_procedureDisplay procedure
    DBS001_Q9STCTRVstart_procedureStart procedure
    DBS001_Q9STCTRWstop_procedureStop procedure
    DBS001_Q9STCTRXdis_groupDIS group
    DBS001_Q9STCTRYalter_utilityAlter utility
    DBS001_Q9STCTRZdisplay_functionDisplay function
    DBS001_Q9STCTX0start_functionStart function
    DBS001_Q9STCTX1stop_functionStop function
    DBS001_Q9STCTX2set_logSet log
    DBS001_Q9STCTX3display_logDisplay log
    DBS001_Q9STCTX4set_system_parameterSet system parameter
    DBS001_Q9STCTX5display_ddfDisplay DDF
    DBS001_Q9STCTADaccess_databaseAccess database
    DBS001_Q9STCTSSstart_profileStart profile
    DBS001_Q9STCTSTstop_profileStop profile
    DBS001_Q9STCTSDdisplay_profileDisplay profile
    DBS001_Q9STCTDAdisplay_accelerationDisplay acceleration
    DBS001_Q9STCTSAstart_accelerationStart acceleration
    DBS001_Q9STCTXAstop_accelerationStop acceleration
    DBS001_Q9STCDMDmodify_ddfModify DDF
    DBS001_QSSTGPLFget_fixed_poolGet fixed pool
    DBS001_QSSTFPLFfree_fixed_poolFree fixed pool
    DBS001_QSSTFREFfreemained_fixed_poolFREEMAINED SEGMENTS IN 31-BIT
    DBS001_QSSTEXPFgetmained_fixed_poolEXTENSIONS GETMAINED IN FIXED
    DBS001_QSSTCONFcontracted_fixed_poolCONTRACTED SEGMENTS IN 31-BIT
    DBS001_QSSTGPLVget_variable_poolGet variable pool
    DBS001_QSSTFPLVfree_variable_poolFree variable pool
    DBS001_QSSTFREVfreemained_variable_poolFREEMAINED SEGMENTS IN 31-BIT
    DBS001_QSSTEXPVgetmained_variable_poolEXTENSIONS GETMAINED IN 31-BIT
    DBS001_QSSTCONVcontracted_variable_poolCONTRACTED SEGMENTS IN 31-BIT
    DBS001_QSSTGETMgetmained_request31-BIT GETMAIN REQUEST
    DBS001_QSSTFREMfreemained_request31-BIT FREEMAIN REQUEST
    DBS001_QSSTRCNZget_request_failureCONDITIONAL 31-BIT GET REQUEST
    DBS001_QSSTCONTfull_system_contractionsFull system contractions
    DBS001_QSSTCRITqsstcritCritical storage shortage after
    DBS001_QSSTABNDqsstabndAbends due to local storage
    DBS001_QSST_SGETMstack_request_required_getmain31-BIT STACK REQUEST REQUIRED
    DBS001_QSST_SGETRool_stack_get_requests_31b31-BIT OUT OF LINE STACK GET REQUEST
    DBS001_QSST_SGETEXTstack_request_satisfied_31b31-BIT STACK REQUEST SATISFIED
    DBS001_QSST_SFREEMfree_request_required31-BIT FREE REQUEST REQUIRED
    DBS001_QSST_SFREERool_stack_free_requests_31bNUMBER OF OUT OF LINE 31-BIT
    DBS001_QSST_D64POSTool_stack_deallocation_requestsNUMBER OF OUT OF LINE 64-BIT
    DBS001_QSST_A64POSTool_stack_allocation_requestsNUMBER OF OUT OF LINE 64-BIT
    DBS001_QSST_A64WAITool_stack_allocation_wait_requestsNUMBER OF OUT OF LINE 64-BIT
    DBS001_QSST_M64DISNUMstack_segment_required_discardNUMBER OF 64-BIT STACK SEGMENT
    DBS001_QSST_M64DISPGSstack_pages_discardedNUMBER OF 64-BIT STACK PAGES
    DBS001_QSST_SGETR64ool_stack_get_requests_64bNUMBER OF OUT OF LINE 64-BIT
    stack_request_satisfied_64b
    DBS001_QSST_SGETDEXT64stack_request_required64-BIT STACK REQUEST REQUIRED
    DBS001_QSST_SFREER64ool_stack_free_requests_64bNUMBER OF OUT OF LINE 64-BIT
    DBS001_QSST_SFREEDEXT64stack_free_required64-BIT STACK FREE REQUIRED
    DBS001_QSST_DISCARDMODE64real_frame_discard_modeReal frame discard mode
    DBS001_QSST_RSMAX_WARNdbs001_qsst_rsmax_warnNUMBER IMES REALSTORAGE_MAX
    DBS001_QSST_P64DISNUMpools_contractedNUMBER OF 64-BIT POOLS
    DBS001_QSST_P64DISBLKpool_blocks_required_discardNUMBER OF 64-BIT POOL BLOCKS
    DBS001_QSST_P64DISPGSpool_pages_discardedNUMBER OF 64-BIT POOL PAGES
    DBS001_QSST_CONTSTOR_NUMqsst_contstor_numNUMBER OF 31-BIT AGENT LOCAL POOLS
    DBS001_QLSTLOCNremote_site_location_nameLocation name of the remote
    DBS001_QLSTPRIDremote_location_prdidPRDID of the remote location
    DBS001_QLSTCNVSconversations_site_to_remoteNumber of conversation from site to remote
    DBS001_QLSTCNVTconversations_deallocated_site_to_remoteNumber of conversation deallocated from remote to site
    DBS001_QLSTCNVRconversations_remote_to_siteNumber of conversation from remote to site
    DBS001_QLSTMSGSremote_site_msg_sentNumber of message sent
    DBS001_QLSTMSGRremote_site_msg_receivedNumber of message received
    DBS001_QLSTSQLSremote_site_sql_sentNumber of SQL statements sent
    DBS001_QLSTSQLRremote_site_sql_receivedNumber of SQL statements received
    DBS001_QLSTBYTSremote_site_data_sentNumber of bytes of data sent
    DBS001_QLSTBYTRremote_site_data_receivedNumber of bytes of data received
    DBS001_QLSTROWSremote_site_row_sentNumber of rows of data sent
    DBS001_QLSTROWRremote_site_row_receivedNumber of rows of data received
    DBS001_QLSTBTBFblocks_fetch_transmissionNumber of blocks transmitted
    DBS001_QLSTBRBFblocks_fetch_receivedNumber of blocks received
    DBS001_QLSTCOMSqlstcomsNumber of commit requests sent to the server
    DBS001_QLSTCOMRqlstcomrNumber of commit requests received
    DBS001_QLSTABRSqlstabrsNumber of abort requests sent to the server
    DBS001_QLSTABRRqlstabrrNumber of abort requests received
    DBS001_QLSTINDTthreads_indoubtNumber of threads that became indoubt
    DBS001_QLSTCNVQconversation_requests_queuedNumber of conversation request queued
    DBS001_QDSTQDBTqdstqdbt
    DBS001_QDSTCSTRcold_startNumber of cold start
    DBS001_QDSTWSTRwarm_startNumber of warm start
    DBS001_QDSTRSATresynchronization_connections_attemptedNumber of resynchronization connection attempted
    DBS001_QDSTRSSUresynchronization_connections_succeededNumber of resynchronization connection succeeded
    DBS001_QDSTQCRTrejected_connectionNumber of rejected connection
    DBS001_QDSTQCITtype1_inactive_dbatsNumber of current inactive dbats
    DBS001_QDSTQMITtype1_max_inactive_dbats_existed
    DBS001_QDSTCNATcurrent_active_disconnected_dbatsNumber of current active disconnected dbats
    DBS001_QDSTHWATmax_active_disconnected_dbatsQDSTCNAT HIGH WATER MARK.
    DBS001_QDSTHWDTmax_remote_connections_existedMaximum number of remote connection
    DBS001_QDSTNITCtype1_terminatedNumber of threads terminated
    DBS001_QDSTCIN2type2_inactive_dbats
    DBS001_QDSTMIN2type2_max_concurrent_inactive_existedQDSTCIN2 HIGH WATER MARK.
    DBS001_QDSTQIN2qdstqin2Number of received requests
    DBS001_QDSTNQR2qdstnqr2
    DBS001_QDSTMQR2qdstmqr2QDSTNQR2 HIGH WATER MARK.
    DBS001_QDSTNADSqdstnads
    DBS001_QDSTMADSqdstmadsQDSTNADS HIGH WATER MARK.
    DBS001_QDSTNDBAqdstndba
    DBS001_QDSTPOOLqdstpool
    DBS001_QDSTNCQCqdstncqcNumber of queued client
    DBS001_QDSTNARDcurrent_active_dbatsCurrent number of active dbats
    DBS001_QDSTMARDmax_active_dbatsMaximum number of active dbats
    DBS001_QDSTNQMNqdstnqmnRELATIVE TO QDSTNQR2
    DBS001_QDSTNQMXqdstnqmxRELATIVE TO QDSTNQR2
    DBS001_QDSTNQAVqdstnqavRELATIVE TO QDSTNQR2
    DBS001_QDSTNCCWqdstnccwNumber of queued client
    DBS001_QWOSLNCPcps_on_lparNumber of CPS on LPAR
    DBS001_QWOSLPRUcpu_utilization_lparCPU UTILIZATION LPAR
    DBS001_QWOSDB2Ucpu_utilization_db2_subsysCPU UTILIZATION DB2 SUBSYS
    DBS001_QWOSMSTUcpu_utilization_db2_mstrCPU UTILIZATION DB2 MSTR
    DBS001_QWOSDBMUcpu_utilization_db2_dbm1CPU UTILIZATION DB2 DBM1
    DBS001_QWOSLPIRpage_in_rate_lparPAGE-IN RATE LPAR
    DBS001_QWOSDPIRpage_in_rate_db2_subsysPAGE-IN RATE DB2 SUBSYS
    DBS001_QWOSLRSTreal_storage_lparReal storage on LPAR
    DBS001_QWOSLRSFfree_real_storage_lparFree real storage on LPAR
    DBS001_QWOSDRSUused_real_storage_db2_subsysUsed real storage on DB2 subsystem
    DBS001_QWOSLVSTvirtual_storage_lparVirtual storage on LPAR
    DBS001_QWOSLVSFfree_virtual_storage_lparFree virtual storage on LPAR
    DBS001_QWOSDVSUused_virtual_storage_db2_subsysNumber of used virtual storage DB2 subsystem
    DBS001_QWOSLUICunreferenced_interval_countNumber of unreferenced interval

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.