DB2TIMES SAP (DB2 Times) Structure details

Dictionary Type: Structure
Description: DB2 Times




ABAP Code to SELECT data from DB2TIMES
Related tables to DB2TIMES
Access table DB2TIMES




Structure field list including key, data, relationships and ABAP select examples

DB2TIMES is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "DB2 Times" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_DB2TIMES TYPE DB2TIMES.

The DB2TIMES table consists of various fields, each holding specific information or linking keys about DB2 Times data available in SAP. These include THDTCPUTOT (Total CPU time on System z including DB2), THDTINB2 (Accumulated elapsed time in DB2), THDTCPUIN (CPU time spent in DB2), THDTSUSPIN (Time spent suspended in DB2).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP DB2TIMES structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
THDTOUDB2Time spent out of DB2 DB2OUTDB2CHAR16DB2CHAR16
THDTCPUTOTTotal CPU time on System z including DB2 DB2TCPUTOTCHAR16DB2CHAR16
THDTINB2Accumulated elapsed time in DB2 DB2TINDB2CHAR16DB2CHAR16
THDTCPUINCPU time spent in DB2 DB2TCPUINCHAR16DB2CHAR16
THDTSUSPINTime spent suspended in DB2 DB2TSUSPINCHAR16DB2CHAR16
THDTNAINDBNot attributed time in DB2 DB2TNAINDBCHAR16DB2CHAR16
THDTIOI/O suspension time DB2TIOCHAR16DB2CHAR16
THDTLKLALock/latch supension time DB2TLKLACHAR16DB2CHAR16
THDTOTHROther read suspensions time DB2TOTHRCHAR16DB2CHAR16
THDTOTHWOther write suspensions time DB2TOTHWCHAR16DB2CHAR16
THDTSRVTWait time for DB2 commit phase II processing DB2TSRVTCHAR16DB2CHAR16
THDTARCHQArchive log quiesce suspension time DB2TARCHQCHAR16DB2CHAR16
THDTDRLKDrain lock suspension time DB2TDRLKCHAR16DB2CHAR16
THDTCLRELClaim release suspension time DB2TCLRELCHAR16DB2CHAR16
THDTARCHRArchive read suspension time DB2TARCHRCHAR16DB2CHAR16
THDTPGLAPage latch suspension time DB2TPGLACHAR16DB2CHAR16
THDTNOTMNotify messages suspension time DB2TNOTMCHAR16DB2CHAR16
THDTGLOBTMGlobal locking suspension time DB2TGLOBTMCHAR16DB2CHAR16
THDTIOENumber of I/O suspensions DB2TIOENUMC10NUMC10
THDTLKLAENumber of Lock / Latch Suspensions DB2TLKLAENUMC10NUMC10
THDTOTHRENumber of other read suspensions DB2TOTHRENUMC10NUMC10
THDTOTHWENumber of other write suspensions DB2TOTHWENUMC10DB2NUMC10
THDTSRVTENumber of waits for commit phase II or abort DB2TSRVTENUMC10DB2NUMC10
THDTARCHQENumber of ARCHIVE LOG QUIESCE suspensions DB2TARCHQENUMC10DB2NUMC10
THDTDRLKENumber of drain lock suspensions DB2TDRLKENUMC10DB2NUMC10
THDTCLRELENumber of claim release suspensions DB2TCLRELENUMC10DB2NUMC10
THDTARCHRENumber of archive read suspensions DB2TARCHRENUMC10DB2NUMC10
THDTPGLAENumber of page latch suspensions DB2TPGLAENUMC10DB2NUMC10
THDTNOTMENumber of notify messages suspensions DB2TNOTMENUMC10DB2NUMC10
THDTGLOBTENumber of global locking suspensions DB2TGLOBTENUMC10DB2NUMC10
THDTIOAAverage duration of I/O suspension DB2TIOACHAR10DB2CHAR10
THDTLKLAAAverage duration of lock/latch supensions DB2TLKLAACHAR10DB2CHAR10
THDTOTHRAAverage duration of other read suspensions DB2TOTHRACHAR10DB2CHAR10
THDTOTHWAAverage duration of other write suspensions DB2TOTHWACHAR10DB2CHAR10
THDTSRVTAAverage waiting time for commit phase II or abort DB2TSRVTACHAR10DB2CHAR10
THDTARCHQAAverage duration of ARCHIVE LOG QUIESCE suspensions DB2TARCHQACHAR10DB2CHAR10
THDTDRLKEAAverage duration of drain lock suspensions DB2TDRLKACHAR10DB2CHAR10
THDTCLRELAAverage duration of claim release suspensions DB2TCLRELACHAR10DB2CHAR10
THDTARCHRAAverage duration of archive read suspensions DB2TARCHRACHAR10DB2CHAR10
THDTPGLAAAverage duration of page latch suspensions DB2TPGLAACHAR10DB2CHAR10
THDTNOTMAAverage duration of notify messages suspensions DB2TNOTMACHAR10DB2CHAR10
THDTGLOBTAAverage duration of global locking suspensions DB2TGLOBTACHAR10DB2CHAR10
THDTINDB2Percentage of time spent in DB2 DB2INDB2CHAR8DB2TIMEP
THDTPRODB2Percentage of time spent processing in DB2 DB2PROCDB2CHAR8DB2TIMEP
THDTSUSDB2Time spent suspended in DB2 / Time spent in DB2 (%) DB2SUSPDB2CHAR8DB2TIMEP
THDTNAIDB2Time not attributed in DB2 / Time spent in DB2 (%) DB2NAIDB2CHAR8DB2TIMEP
THDTOUTDB2Time spent out of DB2 / Activity time (%) DB2POUTDB2CHAR8DB2TIMEP
THDTTCPUTotal CPU time / Activity time DB2PTCPUCHAR8DB2TIMEP
THDTACTTActivity time (Class 1 elapsed time) DB2THDTACTCHAR16DB2CHAR16
THDTOCSTWait time for open/close service task (incl. HSM recall) DB2TOCSTCHAR16DB2CHAR16
THDTSLSTWait time for SYSLGRNG recording service task DB2TSLSTCHAR16DB2CHAR16
THDTDSSTWait time for data set extend/delete/define service task DB2TDSSTCHAR16DB2CHAR16
THDTOTHRSTWait time for other service tasks DB2TOTHRSTCHAR16DB2CHAR16
THDTOCSTENumber of waits for open/close service task DB2TOCSTENUMC10DB2NUMC10
THDTSLSTENumber of waits for SYSLGRNG recording service task DB2TSLSTENUMC10DB2NUMC10
THDTDSSTENumber of waits for data set ext./del./def. service task DB2TDSSTENUMC10DB2NUMC10
THDTOTHRSENumber of waits for other service tasks DB2TOTHRSENUMC10DB2NUMC10
THDTOCSTAAverage waiting time for open/close service task DB2TOCSTACHAR10DB2CHAR10
THDTSLSTAAverage waiting time for SYSLGRNG recording service task DB2TSLSTACHAR10DB2CHAR10
THDTDSSTAAverage waiting time for dataset ext./del./def. service task DB2TDSSTACHAR10DB2CHAR10
THDTOTHRSAAverage waiting time for other service tasks DB2TOTHRSACHAR10DB2CHAR10
THDTCOMMNumber of successful phase 2 or single-phase commit requests DB2TCOMMINT410DB2INT4
THDTABRTNumber of rollback requests DB2TABRTINT410DB2INT4
THDTSPEPTotal elapsed time spent executing SQL in stored procedures DB2TSPECHAR8DB2TIMEP
THDTSPPPAccumulated TCB time spend in DB2 by stored procedures DB2TSPPCHAR8DB2TIMEP
THDTSPETTotal elapsed time spent executing SQL in stored procedures DB2TSPETCHAR16DB2CHAR16
THDTSPPTAccumulated TCB time spend in DB2 by stored procedures DB2TSPPTCHAR16DB2CHAR16
THDTSPEATTotal elapsed time spent in stored procedures DB2TSPEATCHAR16DB2CHAR16
THDTSPCPTAccumulated TCB time spent DB2TSPCPTCHAR16DB2CHAR16
THDTEEDASCDB2 entry/exit duration elapsed time DB2TEEDASCCHAR10DB2CHAR10
THDTEEDJSTDB2 entry/exit duration processing (CPU) DB2TEEDJSTCHAR10DB2CHAR10
THDTEEDPEBStored procedure entry/exit duration elapsed time DB2TEEDPEBCHAR10DB2CHAR10
THDTEEDPTTStored procedure entry/exit duration processing (CPU) DB2TEEDPTTCHAR10DB2CHAR10
THDTUDEBTTotal elapsed time spent for user-defined function DB2TUDEBTCHAR16DB2CHAR16
THDTUDTTTAccumulated TCB time in DB2 issued by user-defined functions DB2TUDTTTCHAR16DB2CHAR16
THDTUDEATTotal elapsed time spent in user-defined functions DB2TUDEATCHAR16DB2CHAR16
THDTUDCPTAccumulated TCB time for user-defined function DB2TUDCPTCHAR16DB2CHAR16
THDTUDEPElapsed time in percent for user-defined function DB2TUDEPCHAR8DB2TIMEP
THDTUDPPProcessing (CPU) for user-defined function DB2TUDPPCHAR8DB2TIMEP
THDTUDFDEBUDF entry/exit duration elapsed time DB2UDFDEBCHAR10DB2CHAR10
THDTUDFDTTUDF entry/exit duration processing (CPU) DB2UDFDTTCHAR10DB2CHAR10
THDTTRETTAccumulated elapsed time used while executing DB2TRETTCHAR16DB2CHAR16
THDTTRTTTAccumulated TCB time used while executing DB2TRTTTCHAR16DB2CHAR16
THDTTRTETAccumulated TCB time used for executing triggers DB2TRTETCHAR16DB2CHAR16
THDTTREETAccumulated elapsed time used for executing triggers DB2TREETCHAR16DB2CHAR16
THDTPECDTAccumulated CPU time user for DB2 DB2PECDTCHAR16DB2CHAR16
THDTPECTTAccumulated TCB time used before enclave is created DB2PECTTCHAR16DB2CHAR16
THDTIFAETTAccumulated elapsed time spent processing IFI calls DB2IFAETTCHAR16DB2CHAR16
THDTIFATTTAccumulated CPU time spent processing IFI calls DB2IFATTTCHAR16DB2CHAR16
THDTIFAETPElapsed IFI time to total DB2 time in percent DB2IFAETPCHAR8DB2TIMEP
THDTIFATTPProcessing (CPU) times to total DB2 activity time in percent DB2IFATTPCHAR8DB2TIMEP
THDTIFIELTIFI entry/exit duration elapsed time DB2TIFIELTCHAR10DB2CHAR10
THDTIFIPRTIFI entry/exit duration processing (CPU) DB2TIFIPRTCHAR10DB2CHAR10
THDTLOGWLog writes suspension time DB2LOGWCHAR16DB2CHAR16
THDTCASTStored procedures suspension time THDTCASTCHAR16DB2CHAR16
THDTUDSTUser defined functions suspension time THDTUDSTCHAR16DB2CHAR16
THDTLOGWENumber of log writes DB2LOGWENUMC10DB2NUMC10
THDTCASTENumber of stored procedures DB2CASTENUMC10DB2NUMC10
THDTUDSTENumber of user defined function DB2UDSTENUMC10DB2NUMC10
THDTIOPPercent of time in DB2 for synchronous reads and writes DB2TIOPCHAR10DB2CHAR10
THDTSRVTPPercent of time in DB2 for commit, abort, deallocate DB2SRVTPCHAR10DB2CHAR10
THDTOTHRPPercent of time spent in DB2 for other agents' read DB2OTHRPCHAR10DB2CHAR10
THDTOTHWPPercent of time spend in DB2 for other agents' writes DB2OTHWPCHAR10DB2CHAR10
THDTLKLAPPercent of time spent in DB2 for locks and latches DB2LKLAPCHAR10DB2CHAR10
THDTPGLAPPercent of time spent in DB2 for page latches DB2PGLAPCHAR10DB2CHAR10
THDTOCSTPPercent of time spent in DB2 for open ,close, HSM recall DB2OCSTPCHAR10DB2CHAR10
THDTDSSTPPercent of time spent in DB2 for dataspace manager service DB2DSSTPCHAR10DB2CHAR10
THDTSLSTPPercent of time spent in DB2 for SYSLGRNX recording DB2SLSTPCHAR10DB2CHAR10
THDTOTHRSPPercent time in DB2 for other synchronous EU switch services DB2OTHRSPCHAR10DB2CHAR10
THDTGLOBTPPercent of time spent in DB2 for global locks DB2GLOBTPCHAR10DB2CHAR10
THDTNOTMPPercent of time spent in DB2 for notify messages DB2NOTMPCHAR10DB2CHAR10
THDTDRLKPPercent of time spent in DB2 for drain locks DB2DRLKPCHAR10DB2CHAR10
THDTCLRELPPercent of time spent in DB2 for claim locks DB2CLRELPCHAR10DB2CHAR10
THDTLOGWPPercent of time spent in DB2 for log writes DB2LOGWPCHAR10DB2CHAR10
THDTARCHQPPercent of time spent in DB2 for ARCHIVE LOG QUIESCE command DB2ARCHQPCHAR10DB2CHAR10
THDTARCHRPPercent of time spent in DB2 for archive log read DB2ARCHRPCHAR10DB2CHAR10
THDTCASTPPercent of time spent in DB2 for stored procedures DB2CASTPCHAR10DB2CHAR10
THDTUDSTPPercent of time spent in DB2 for user defined functions DB2UDSTPCHAR10DB2CHAR10
THDTLOGWAAverage log writes DB2LOGWACHAR10DB2CHAR10
THDTCASTAAverage of stored procedures DB2CASTACHAR10DB2CHAR10
THDTAWLGLog writes suspension time DB2LOGWCHAR16DB2CHAR16
THDTARLGNumber of log writes DB2LOGWENUMC10DB2NUMC10
THDTAWTK wait time due to global contention for child L-locks0
THDTAWTM wait time due to global contention for other L-locks0
THDTAWTN wait time due to global contention pageset/partition P-locks0
THDTAWTO wait time due to global contention for page P-locks0
THDTAWTQ wait time due to global contention for other P-locks0
THDTARTK Number of wait trace events for child L-locks0
THDTARTM Number of wait trace events for other L-locks0
THDTARTN Number of wait trace events pageset/partition P-locks0
THDTARTO Number of wait trace events for page P-locks0
THDTARTQ Number of wait trace events for other P-locks0
THDTAWTKA Avg. dur. of wait time due to global cont. for child L-locks0
THDTAWTMA Avg. dur. of wait time due to global cont. for other L-locks0
THDTAWTNA Avg. dur. of wait time due to gl. cont. for pageset/p P-lock0
THDTAWTOA Avg. dur. of wait time due to global cont. for page P-locks0
THDTAWTQA Avg. dur. of wait time due to global cont. for other P-locks0
THDTAWTKP Percent of wait time due to global cont. for child L-locks0
THDTAWTMP Percent of wait time due to global cont. for other L-locks0
THDTAWTNP Percent of wait time due to gl. cont. for pageset/p P-lock0
THDTAWTOP Percent of wait time due to global cont. for page P-locks0
THDTAWTQP Percent of wait time due to global cont. for other P-locks0
QWACCLS1_ZIIP Accumulated CPU time executed on zIIP in all environments0
QWACCLS2_ZIIP Accumulated CPU time executed on zIIP in DB20
QWACTRTT_ZIIP Accumulated CPU time consumed executing triggers on zIIP0
QWACZIIP_ELIGIBLE Acumc. CPU time executed on standard CPU eligible for zIIP0
QWACSPNF_ZIIP Accumulated CPU time executing stored procedures on zIIP0
QWACUDFNF_ZIIP Reserved0
ZIIP12ACT Total class 1 zIIP CPU time / Activity time0
ZIIP2ACT Total zIIP CPU time / Activity time0
ZIIPEL2ACT Total eligible zIIP CPU time / Activity time0
ZIIP2DB2T Total zIIP CPU time / time spent in DB20
ZIIPEL2DB2T Total eligible zIIP CPU time / time spent in DB20

Key field Non-key field



How do I retrieve data from SAP structure DB2TIMES using ABAP code?

As DB2TIMES is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on DB2TIMES as there is no data to select.

How to access SAP table DB2TIMES

Within an ECC or HANA version of SAP you can also view further information about DB2TIMES and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!