DB2TIMES SAP (DB2 Times) Structure details
Description: DB2 Times
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 |
THDTOUDB2 | Time spent out of DB2 | DB2OUTDB2 | CHAR | 16 | DB2CHAR16 | ||||
THDTCPUTOT | Total CPU time on System z including DB2 | DB2TCPUTOT | CHAR | 16 | DB2CHAR16 | ||||
THDTINB2 | Accumulated elapsed time in DB2 | DB2TINDB2 | CHAR | 16 | DB2CHAR16 | ||||
THDTCPUIN | CPU time spent in DB2 | DB2TCPUIN | CHAR | 16 | DB2CHAR16 | ||||
THDTSUSPIN | Time spent suspended in DB2 | DB2TSUSPIN | CHAR | 16 | DB2CHAR16 | ||||
THDTNAINDB | Not attributed time in DB2 | DB2TNAINDB | CHAR | 16 | DB2CHAR16 | ||||
THDTIO | I/O suspension time | DB2TIO | CHAR | 16 | DB2CHAR16 | ||||
THDTLKLA | Lock/latch supension time | DB2TLKLA | CHAR | 16 | DB2CHAR16 | ||||
THDTOTHR | Other read suspensions time | DB2TOTHR | CHAR | 16 | DB2CHAR16 | ||||
THDTOTHW | Other write suspensions time | DB2TOTHW | CHAR | 16 | DB2CHAR16 | ||||
THDTSRVT | Wait time for DB2 commit phase II processing | DB2TSRVT | CHAR | 16 | DB2CHAR16 | ||||
THDTARCHQ | Archive log quiesce suspension time | DB2TARCHQ | CHAR | 16 | DB2CHAR16 | ||||
THDTDRLK | Drain lock suspension time | DB2TDRLK | CHAR | 16 | DB2CHAR16 | ||||
THDTCLREL | Claim release suspension time | DB2TCLREL | CHAR | 16 | DB2CHAR16 | ||||
THDTARCHR | Archive read suspension time | DB2TARCHR | CHAR | 16 | DB2CHAR16 | ||||
THDTPGLA | Page latch suspension time | DB2TPGLA | CHAR | 16 | DB2CHAR16 | ||||
THDTNOTM | Notify messages suspension time | DB2TNOTM | CHAR | 16 | DB2CHAR16 | ||||
THDTGLOBTM | Global locking suspension time | DB2TGLOBTM | CHAR | 16 | DB2CHAR16 | ||||
THDTIOE | Number of I/O suspensions | DB2TIOE | NUMC | 10 | NUMC10 | ||||
THDTLKLAE | Number of Lock / Latch Suspensions | DB2TLKLAE | NUMC | 10 | NUMC10 | ||||
THDTOTHRE | Number of other read suspensions | DB2TOTHRE | NUMC | 10 | NUMC10 | ||||
THDTOTHWE | Number of other write suspensions | DB2TOTHWE | NUMC | 10 | DB2NUMC10 | ||||
THDTSRVTE | Number of waits for commit phase II or abort | DB2TSRVTE | NUMC | 10 | DB2NUMC10 | ||||
THDTARCHQE | Number of ARCHIVE LOG QUIESCE suspensions | DB2TARCHQE | NUMC | 10 | DB2NUMC10 | ||||
THDTDRLKE | Number of drain lock suspensions | DB2TDRLKE | NUMC | 10 | DB2NUMC10 | ||||
THDTCLRELE | Number of claim release suspensions | DB2TCLRELE | NUMC | 10 | DB2NUMC10 | ||||
THDTARCHRE | Number of archive read suspensions | DB2TARCHRE | NUMC | 10 | DB2NUMC10 | ||||
THDTPGLAE | Number of page latch suspensions | DB2TPGLAE | NUMC | 10 | DB2NUMC10 | ||||
THDTNOTME | Number of notify messages suspensions | DB2TNOTME | NUMC | 10 | DB2NUMC10 | ||||
THDTGLOBTE | Number of global locking suspensions | DB2TGLOBTE | NUMC | 10 | DB2NUMC10 | ||||
THDTIOA | Average duration of I/O suspension | DB2TIOA | CHAR | 10 | DB2CHAR10 | ||||
THDTLKLAA | Average duration of lock/latch supensions | DB2TLKLAA | CHAR | 10 | DB2CHAR10 | ||||
THDTOTHRA | Average duration of other read suspensions | DB2TOTHRA | CHAR | 10 | DB2CHAR10 | ||||
THDTOTHWA | Average duration of other write suspensions | DB2TOTHWA | CHAR | 10 | DB2CHAR10 | ||||
THDTSRVTA | Average waiting time for commit phase II or abort | DB2TSRVTA | CHAR | 10 | DB2CHAR10 | ||||
THDTARCHQA | Average duration of ARCHIVE LOG QUIESCE suspensions | DB2TARCHQA | CHAR | 10 | DB2CHAR10 | ||||
THDTDRLKEA | Average duration of drain lock suspensions | DB2TDRLKA | CHAR | 10 | DB2CHAR10 | ||||
THDTCLRELA | Average duration of claim release suspensions | DB2TCLRELA | CHAR | 10 | DB2CHAR10 | ||||
THDTARCHRA | Average duration of archive read suspensions | DB2TARCHRA | CHAR | 10 | DB2CHAR10 | ||||
THDTPGLAA | Average duration of page latch suspensions | DB2TPGLAA | CHAR | 10 | DB2CHAR10 | ||||
THDTNOTMA | Average duration of notify messages suspensions | DB2TNOTMA | CHAR | 10 | DB2CHAR10 | ||||
THDTGLOBTA | Average duration of global locking suspensions | DB2TGLOBTA | CHAR | 10 | DB2CHAR10 | ||||
THDTINDB2 | Percentage of time spent in DB2 | DB2INDB2 | CHAR | 8 | DB2TIMEP | ||||
THDTPRODB2 | Percentage of time spent processing in DB2 | DB2PROCDB2 | CHAR | 8 | DB2TIMEP | ||||
THDTSUSDB2 | Time spent suspended in DB2 / Time spent in DB2 (%) | DB2SUSPDB2 | CHAR | 8 | DB2TIMEP | ||||
THDTNAIDB2 | Time not attributed in DB2 / Time spent in DB2 (%) | DB2NAIDB2 | CHAR | 8 | DB2TIMEP | ||||
THDTOUTDB2 | Time spent out of DB2 / Activity time (%) | DB2POUTDB2 | CHAR | 8 | DB2TIMEP | ||||
THDTTCPU | Total CPU time / Activity time | DB2PTCPU | CHAR | 8 | DB2TIMEP | ||||
THDTACTT | Activity time (Class 1 elapsed time) | DB2THDTACT | CHAR | 16 | DB2CHAR16 | ||||
THDTOCST | Wait time for open/close service task (incl. HSM recall) | DB2TOCST | CHAR | 16 | DB2CHAR16 | ||||
THDTSLST | Wait time for SYSLGRNG recording service task | DB2TSLST | CHAR | 16 | DB2CHAR16 | ||||
THDTDSST | Wait time for data set extend/delete/define service task | DB2TDSST | CHAR | 16 | DB2CHAR16 | ||||
THDTOTHRST | Wait time for other service tasks | DB2TOTHRST | CHAR | 16 | DB2CHAR16 | ||||
THDTOCSTE | Number of waits for open/close service task | DB2TOCSTE | NUMC | 10 | DB2NUMC10 | ||||
THDTSLSTE | Number of waits for SYSLGRNG recording service task | DB2TSLSTE | NUMC | 10 | DB2NUMC10 | ||||
THDTDSSTE | Number of waits for data set ext./del./def. service task | DB2TDSSTE | NUMC | 10 | DB2NUMC10 | ||||
THDTOTHRSE | Number of waits for other service tasks | DB2TOTHRSE | NUMC | 10 | DB2NUMC10 | ||||
THDTOCSTA | Average waiting time for open/close service task | DB2TOCSTA | CHAR | 10 | DB2CHAR10 | ||||
THDTSLSTA | Average waiting time for SYSLGRNG recording service task | DB2TSLSTA | CHAR | 10 | DB2CHAR10 | ||||
THDTDSSTA | Average waiting time for dataset ext./del./def. service task | DB2TDSSTA | CHAR | 10 | DB2CHAR10 | ||||
THDTOTHRSA | Average waiting time for other service tasks | DB2TOTHRSA | CHAR | 10 | DB2CHAR10 | ||||
THDTCOMM | Number of successful phase 2 or single-phase commit requests | DB2TCOMM | INT4 | 10 | DB2INT4 | ||||
THDTABRT | Number of rollback requests | DB2TABRT | INT4 | 10 | DB2INT4 | ||||
THDTSPEP | Total elapsed time spent executing SQL in stored procedures | DB2TSPE | CHAR | 8 | DB2TIMEP | ||||
THDTSPPP | Accumulated TCB time spend in DB2 by stored procedures | DB2TSPP | CHAR | 8 | DB2TIMEP | ||||
THDTSPET | Total elapsed time spent executing SQL in stored procedures | DB2TSPET | CHAR | 16 | DB2CHAR16 | ||||
THDTSPPT | Accumulated TCB time spend in DB2 by stored procedures | DB2TSPPT | CHAR | 16 | DB2CHAR16 | ||||
THDTSPEAT | Total elapsed time spent in stored procedures | DB2TSPEAT | CHAR | 16 | DB2CHAR16 | ||||
THDTSPCPT | Accumulated TCB time spent | DB2TSPCPT | CHAR | 16 | DB2CHAR16 | ||||
THDTEEDASC | DB2 entry/exit duration elapsed time | DB2TEEDASC | CHAR | 10 | DB2CHAR10 | ||||
THDTEEDJST | DB2 entry/exit duration processing (CPU) | DB2TEEDJST | CHAR | 10 | DB2CHAR10 | ||||
THDTEEDPEB | Stored procedure entry/exit duration elapsed time | DB2TEEDPEB | CHAR | 10 | DB2CHAR10 | ||||
THDTEEDPTT | Stored procedure entry/exit duration processing (CPU) | DB2TEEDPTT | CHAR | 10 | DB2CHAR10 | ||||
THDTUDEBT | Total elapsed time spent for user-defined function | DB2TUDEBT | CHAR | 16 | DB2CHAR16 | ||||
THDTUDTTT | Accumulated TCB time in DB2 issued by user-defined functions | DB2TUDTTT | CHAR | 16 | DB2CHAR16 | ||||
THDTUDEAT | Total elapsed time spent in user-defined functions | DB2TUDEAT | CHAR | 16 | DB2CHAR16 | ||||
THDTUDCPT | Accumulated TCB time for user-defined function | DB2TUDCPT | CHAR | 16 | DB2CHAR16 | ||||
THDTUDEP | Elapsed time in percent for user-defined function | DB2TUDEP | CHAR | 8 | DB2TIMEP | ||||
THDTUDPP | Processing (CPU) for user-defined function | DB2TUDPP | CHAR | 8 | DB2TIMEP | ||||
THDTUDFDEB | UDF entry/exit duration elapsed time | DB2UDFDEB | CHAR | 10 | DB2CHAR10 | ||||
THDTUDFDTT | UDF entry/exit duration processing (CPU) | DB2UDFDTT | CHAR | 10 | DB2CHAR10 | ||||
THDTTRETT | Accumulated elapsed time used while executing | DB2TRETT | CHAR | 16 | DB2CHAR16 | ||||
THDTTRTTT | Accumulated TCB time used while executing | DB2TRTTT | CHAR | 16 | DB2CHAR16 | ||||
THDTTRTET | Accumulated TCB time used for executing triggers | DB2TRTET | CHAR | 16 | DB2CHAR16 | ||||
THDTTREET | Accumulated elapsed time used for executing triggers | DB2TREET | CHAR | 16 | DB2CHAR16 | ||||
THDTPECDT | Accumulated CPU time user for DB2 | DB2PECDT | CHAR | 16 | DB2CHAR16 | ||||
THDTPECTT | Accumulated TCB time used before enclave is created | DB2PECTT | CHAR | 16 | DB2CHAR16 | ||||
THDTIFAETT | Accumulated elapsed time spent processing IFI calls | DB2IFAETT | CHAR | 16 | DB2CHAR16 | ||||
THDTIFATTT | Accumulated CPU time spent processing IFI calls | DB2IFATTT | CHAR | 16 | DB2CHAR16 | ||||
THDTIFAETP | Elapsed IFI time to total DB2 time in percent | DB2IFAETP | CHAR | 8 | DB2TIMEP | ||||
THDTIFATTP | Processing (CPU) times to total DB2 activity time in percent | DB2IFATTP | CHAR | 8 | DB2TIMEP | ||||
THDTIFIELT | IFI entry/exit duration elapsed time | DB2TIFIELT | CHAR | 10 | DB2CHAR10 | ||||
THDTIFIPRT | IFI entry/exit duration processing (CPU) | DB2TIFIPRT | CHAR | 10 | DB2CHAR10 | ||||
THDTLOGW | Log writes suspension time | DB2LOGW | CHAR | 16 | DB2CHAR16 | ||||
THDTCAST | Stored procedures suspension time | THDTCAST | CHAR | 16 | DB2CHAR16 | ||||
THDTUDST | User defined functions suspension time | THDTUDST | CHAR | 16 | DB2CHAR16 | ||||
THDTLOGWE | Number of log writes | DB2LOGWE | NUMC | 10 | DB2NUMC10 | ||||
THDTCASTE | Number of stored procedures | DB2CASTE | NUMC | 10 | DB2NUMC10 | ||||
THDTUDSTE | Number of user defined function | DB2UDSTE | NUMC | 10 | DB2NUMC10 | ||||
THDTIOP | Percent of time in DB2 for synchronous reads and writes | DB2TIOP | CHAR | 10 | DB2CHAR10 | ||||
THDTSRVTP | Percent of time in DB2 for commit, abort, deallocate | DB2SRVTP | CHAR | 10 | DB2CHAR10 | ||||
THDTOTHRP | Percent of time spent in DB2 for other agents' read | DB2OTHRP | CHAR | 10 | DB2CHAR10 | ||||
THDTOTHWP | Percent of time spend in DB2 for other agents' writes | DB2OTHWP | CHAR | 10 | DB2CHAR10 | ||||
THDTLKLAP | Percent of time spent in DB2 for locks and latches | DB2LKLAP | CHAR | 10 | DB2CHAR10 | ||||
THDTPGLAP | Percent of time spent in DB2 for page latches | DB2PGLAP | CHAR | 10 | DB2CHAR10 | ||||
THDTOCSTP | Percent of time spent in DB2 for open ,close, HSM recall | DB2OCSTP | CHAR | 10 | DB2CHAR10 | ||||
THDTDSSTP | Percent of time spent in DB2 for dataspace manager service | DB2DSSTP | CHAR | 10 | DB2CHAR10 | ||||
THDTSLSTP | Percent of time spent in DB2 for SYSLGRNX recording | DB2SLSTP | CHAR | 10 | DB2CHAR10 | ||||
THDTOTHRSP | Percent time in DB2 for other synchronous EU switch services | DB2OTHRSP | CHAR | 10 | DB2CHAR10 | ||||
THDTGLOBTP | Percent of time spent in DB2 for global locks | DB2GLOBTP | CHAR | 10 | DB2CHAR10 | ||||
THDTNOTMP | Percent of time spent in DB2 for notify messages | DB2NOTMP | CHAR | 10 | DB2CHAR10 | ||||
THDTDRLKP | Percent of time spent in DB2 for drain locks | DB2DRLKP | CHAR | 10 | DB2CHAR10 | ||||
THDTCLRELP | Percent of time spent in DB2 for claim locks | DB2CLRELP | CHAR | 10 | DB2CHAR10 | ||||
THDTLOGWP | Percent of time spent in DB2 for log writes | DB2LOGWP | CHAR | 10 | DB2CHAR10 | ||||
THDTARCHQP | Percent of time spent in DB2 for ARCHIVE LOG QUIESCE command | DB2ARCHQP | CHAR | 10 | DB2CHAR10 | ||||
THDTARCHRP | Percent of time spent in DB2 for archive log read | DB2ARCHRP | CHAR | 10 | DB2CHAR10 | ||||
THDTCASTP | Percent of time spent in DB2 for stored procedures | DB2CASTP | CHAR | 10 | DB2CHAR10 | ||||
THDTUDSTP | Percent of time spent in DB2 for user defined functions | DB2UDSTP | CHAR | 10 | DB2CHAR10 | ||||
THDTLOGWA | Average log writes | DB2LOGWA | CHAR | 10 | DB2CHAR10 | ||||
THDTCASTA | Average of stored procedures | DB2CASTA | CHAR | 10 | DB2CHAR10 | ||||
THDTAWLG | Log writes suspension time | DB2LOGW | CHAR | 16 | DB2CHAR16 | ||||
THDTARLG | Number of log writes | DB2LOGWE | NUMC | 10 | DB2NUMC10 | ||||
THDTAWTK | wait time due to global contention for child L-locks | 0 | |||||||
THDTAWTM | wait time due to global contention for other L-locks | 0 | |||||||
THDTAWTN | wait time due to global contention pageset/partition P-locks | 0 | |||||||
THDTAWTO | wait time due to global contention for page P-locks | 0 | |||||||
THDTAWTQ | wait time due to global contention for other P-locks | 0 | |||||||
THDTARTK | Number of wait trace events for child L-locks | 0 | |||||||
THDTARTM | Number of wait trace events for other L-locks | 0 | |||||||
THDTARTN | Number of wait trace events pageset/partition P-locks | 0 | |||||||
THDTARTO | Number of wait trace events for page P-locks | 0 | |||||||
THDTARTQ | Number of wait trace events for other P-locks | 0 | |||||||
THDTAWTKA | Avg. dur. of wait time due to global cont. for child L-locks | 0 | |||||||
THDTAWTMA | Avg. dur. of wait time due to global cont. for other L-locks | 0 | |||||||
THDTAWTNA | Avg. dur. of wait time due to gl. cont. for pageset/p P-lock | 0 | |||||||
THDTAWTOA | Avg. dur. of wait time due to global cont. for page P-locks | 0 | |||||||
THDTAWTQA | Avg. dur. of wait time due to global cont. for other P-locks | 0 | |||||||
THDTAWTKP | Percent of wait time due to global cont. for child L-locks | 0 | |||||||
THDTAWTMP | Percent of wait time due to global cont. for other L-locks | 0 | |||||||
THDTAWTNP | Percent of wait time due to gl. cont. for pageset/p P-lock | 0 | |||||||
THDTAWTOP | Percent of wait time due to global cont. for page P-locks | 0 | |||||||
THDTAWTQP | Percent of wait time due to global cont. for other P-locks | 0 | |||||||
QWACCLS1_ZIIP | Accumulated CPU time executed on zIIP in all environments | 0 | |||||||
QWACCLS2_ZIIP | Accumulated CPU time executed on zIIP in DB2 | 0 | |||||||
QWACTRTT_ZIIP | Accumulated CPU time consumed executing triggers on zIIP | 0 | |||||||
QWACZIIP_ELIGIBLE | Acumc. CPU time executed on standard CPU eligible for zIIP | 0 | |||||||
QWACSPNF_ZIIP | Accumulated CPU time executing stored procedures on zIIP | 0 | |||||||
QWACUDFNF_ZIIP | Reserved | 0 | |||||||
ZIIP12ACT | Total class 1 zIIP CPU time / Activity time | 0 | |||||||
ZIIP2ACT | Total zIIP CPU time / Activity time | 0 | |||||||
ZIIPEL2ACT | Total eligible zIIP CPU time / Activity time | 0 | |||||||
ZIIP2DB2T | Total zIIP CPU time / time spent in DB2 | 0 | |||||||
ZIIPEL2DB2T | Total eligible zIIP CPU time / time spent in DB2 | 0 |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects