DB2TIMESC SAP (DB2 Times) Structure details
Description: DB2 Times
Structure field list including key, data, relationships and ABAP select examples
DB2TIMESC 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_DB2TIMESC TYPE DB2TIMESC.
The DB2TIMESC table consists of various fields, each holding specific information or linking keys about DB2 Times data available in SAP. These include THDTCPUTOT (Total System z CPU time 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 DB2TIMESC 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 | DB2OUTDB2C | DEC | 16 | DB2DEC16 | ||||
THDTCPUTOT | Total System z CPU time including DB2 | DB2TCPUTOC | DEC | 16 | DB2DEC16 | ||||
THDTINB2 | Accumulated Elapsed Time in DB2 | DB2TINDB2C | DEC | 16 | DB2DEC16 | ||||
THDTCPUIN | CPU time spent in DB2 | DB2TCPUINC | DEC | 16 | DB2DEC16 | ||||
THDTSUSPIN | Time spent suspended in DB2 | DB2TSUSPIC | DEC | 16 | DB2DEC16 | ||||
THDTNAINDB | Not attributed time in DB2 | DB2TNAINDC | DEC | 16 | DB2DEC16 | ||||
THDTIO | I/O suspension time | DB2TIOC | DEC | 16 | DB2DEC16 | ||||
THDTLKLA | Lock / Latch Supension Time | DB2TLKLAC | DEC | 16 | DB2DEC16 | ||||
THDTOTHR | Other read suspensions time | DB2TOTHRC | DEC | 16 | DB2DEC16 | ||||
THDTOTHW | Other write suspensions time | DB2TOTHWC | DEC | 16 | DB2DEC16 | ||||
THDTSRVT | Number of waits for commit phase II or abort | DB2TSRVTC | DEC | 16 | DB2DEC16 | ||||
THDTARCHQ | Archive log quiesce suspension time | DB2TARCHCC | DEC | 16 | DB2DEC16 | ||||
THDTDRLK | Drain lock suspension time | DB2TDRLKC | DEC | 16 | DB2DEC16 | ||||
THDTCLREL | Claim release suspension time | DB2TCLRECC | DEC | 16 | DB2DEC16 | ||||
THDTARCHR | Archive read suspension time | DB2TARCCC | DEC | 16 | DB2DEC16 | ||||
THDTPGLA | Page latch suspension time | DB2TPGLAC | DEC | 16 | DB2DEC16 | ||||
THDTNOTM | Notify messages suspension time | DB2TNOTMC | DEC | 16 | DB2DEC16 | ||||
THDTGLOBTM | Global locking suspension time | DB2TGLOBCC | DEC | 16 | DB2DEC16 | ||||
THDTIOE | Number of I/O suspensions | DB2TIOEC | INT4 | 10 | DB2INT4 | ||||
THDTLKLAE | Number of Lock / Latch Suspensions | DB2TLKLAEC | INT4 | 10 | DB2INT4 | ||||
THDTOTHRE | Number of other read suspensions | DB2TOTHREC | INT4 | 10 | DB2INT4 | ||||
THDTOTHWE | Number of other write suspensions | DB2TOTHWEC | INT4 | 10 | DB2INT4 | ||||
THDTSRVTE | Number of waits for commit phase II or abort | DB2TSRVTEC | INT4 | 10 | DB2INT4 | ||||
THDTARCHQE | Number of archive log quiesce suspensions | DB2TARCHQC | INT4 | 10 | DB2INT4 | ||||
THDTDRLKE | Number of Drain Lock Suspensions | DB2TDRLKEC | INT4 | 10 | DB2INT4 | ||||
THDTCLRELE | Number of Claim Release Suspensions | DB2TCLRELC | INT4 | 10 | DB2INT4 | ||||
THDTARCHRE | Number of Archive Read Suspensions | DB2TARCHRC | INT4 | 10 | DB2INT4 | ||||
THDTPGLAE | Number of Page Latch Suspensions | DB2TPGLAEC | INT4 | 10 | DB2INT4 | ||||
THDTNOTME | Number of Notify Messages Suspensions | DB2TNOTMEC | INT4 | 10 | DB2INT4 | ||||
THDTGLOBTE | Number of Global Locking Suspensions | DB2TGLOBTC | INT4 | 10 | DB2INT4 | ||||
THDTACTT | Activity time (Class 1 elapsed time) [hh:mm:ss.ms] | DB2THDTACC | DEC | 16 | DB2DEC16 | ||||
THDTOCST | Wait time for open/close service task (incl. HSM recall) | DB2TOCSTC | DEC | 16 | DB2DEC16 | ||||
THDTSLST | Wait time for SYSLGRNG recording service task | DB2TSLSTC | DEC | 16 | DB2DEC16 | ||||
THDTDSST | Wait time for data set extend/delete/define service task | DB2TDSSTC | DEC | 16 | DB2DEC16 | ||||
THDTOTHRST | Wait time for other service tasks | DB2TOTHRCC | DEC | 16 | DB2DEC16 | ||||
THDTLOGW | DB2LOGWC | DEC | 16 | DB2DEC16 | |||||
THDTOCSTE | Number of waits for open/close service task | DB2TOCSTEC | INT4 | 10 | DB2INT4 | ||||
THDTSLSTE | Number of waits for SYSLGRNG recording service task | DB2TSLSTEC | INT4 | 10 | DB2INT4 | ||||
THDTDSSTE | Number of waits for data set ext./del./def. service task | DB2TDSSTEC | INT4 | 10 | DB2INT4 | ||||
THDTOTHRSE | Number of waits for other service tasks | DB2TOTHRSC | INT4 | 10 | DB2INT4 | ||||
THDTLOGWE | DB2LOGWEC | INT4 | 10 | DB2INT4 | |||||
THDTCOMM | Number of successful phase 2 or single-phase commit requests | DB2TCOMMC | INT4 | 10 | DB2INT4 | ||||
THDTABRT | Number of rollback requests | DB2TABRTC | INT4 | 10 | DB2INT4 | ||||
QWACCAST | Wait time in DB2 for an available TCB to schedule the SP | 0 | |||||||
QWACUDST | Wait time in DB2 for an available TCB to schedule the UDF | 0 | |||||||
AWACCAST | Avg. duration of suspensions for SPs | 0 | |||||||
QWACCANM | Number of suspensions for available TCB to schedule SP | 0 | |||||||
THDTSTP | Accumulated TCB time used for stored procedure requests | 0 | |||||||
THDTSTPSQL | Accumulated TCB time for SQL issued by stored procs | 0 | |||||||
THDTSTPSQLE | the number of SQLs stmts performed by stored procedures | 0 | |||||||
THDTUDCP | Accumulated TCB time used for user-defined functions (UDFs) | 0 | |||||||
THDTUDTT | Accumulated TCB time for SQL issued by UDFS | 0 | |||||||
THDTUDNE | the number of SQLs stmts performed by UDFs | 0 | |||||||
THDTUDEA | total elapsed time for UDF | 0 | |||||||
THDTUDEB | total elapsed time for UDF executing SQL | 0 | |||||||
THDTTRTT | accumulated TCB time by exec. triggers not under enclave | 0 | |||||||
THDTTRET | accumulated elapsed time exec. triggers not under enclave | 0 | |||||||
THDTPECT | accumulated TCB time prior to enclave creation time | 0 | |||||||
THDTTRTE | accumulated TCB time executing triggers under an enclave | 0 | |||||||
THDTTREE | accumulated elapsed time expended executing under an encalve | 0 | |||||||
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 | |||||||
THDTAWLG | Wait time due to log write I/O | 0 | |||||||
THDTARLG | Number of wait trace events for log write I/O | 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 DB2TIMESC using ABAP code?
As DB2TIMESC 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 DB2TIMESC as there is no data to select.How to access SAP table DB2TIMESC
Within an ECC or HANA version of SAP you can also view further information about DB2TIMESC 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