DB6_VIEW_SQLCACHE_DETAIL SAP (DB6: View Data of SQL Cache Entry) Structure details

Dictionary Type: Structure
Description: DB6: View Data of SQL Cache Entry




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




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

DB6_VIEW_SQLCACHE_DETAIL 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 "DB6: View Data of SQL Cache Entry" 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_DB6_VIEW_SQLCACHE_DETAIL TYPE DB6_VIEW_SQLCACHE_DETAIL.

The DB6_VIEW_SQLCACHE_DETAIL table consists of various fields, each holding specific information or linking keys about DB6: View Data of SQL Cache Entry data available in SAP. These include COMPTIME (DB6: Timestamp (Format: YYYYMMDDHHMMSS)), PARTITN (Partition Number), ARTIF_KEY (artif_key: Artificial Key for Uniqueness), CALLERFLAG (Who Has Called this Program).. 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 DB6_VIEW_SQLCACHE_DETAIL 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
WA 0
COMPTIMEDB6: Timestamp (Format: YYYYMMDDHHMMSS) DB6TSTAMPCHAR14
PARTITN Partition Number0
ARTIF_KEY artif_key: Artificial Key for Uniqueness0
CALLERFLAG Who Has Called this Program0
DBMSTRTTMEDB6: Timestamp (Format: YYYYMMDDHHMMSS) DB6TSTAMPCHAR14
PRGVERS Version of Program Inserted this Row0
NUM_EXECUT num_executions: Number of Executions0
NUM_COMPIL num_compilations: Number of Compilations0
PREPTWORST prep_time_worst: Worst Preparation Time (ms)0
PREPTBEST prep_time_best: Best Preparation Time (ms)0
INT_RW_DEL int_rows_deleted: Rows Deleted0
INT_RW_INS int_rows_inserted: Rows Inserted0
RW_READ rows_read: Rows Read0
INT_RW_UPD int_rows_updated: Rows Updated0
RW_WRITTEN rows_written: Rows Written0
STMT_SORTS stmt_sorts: Statement Sorts0
TOTEXETS total_exec_time_s: Total Execution Time (sec)0
TOTEXETMS total_exec_time_ms: Total Execution Time (ms)0
TOTUSRCTS tot_u_cpu_time_s: Total User CPU Time (sec)0
TOTUSRCTMS tot_u_cpu_time_ms: Total User CPU Time (ms)0
TOTSYSCTS tot_s_cpu_time_s: Total System CPU Time (sec)0
TOTSYSCTMS tot_s_cpu_time_ms: Total System CPU Time (ms)0
EXETMSPCT ot_exec_time_ms_pct: Total Execution Time (ms) / Total Sum0
READPCT rows_read_pct: Rows Read / Total Sum Rows Read0
WRITTENPCT rows_written_pct: Rows Written / Total Sum Rows Written0
AVGEXECTMS Average Execution Time (ms)0
AVGRRTMS Average Time per Row Read (ms)0
AVGRWTMS Average Time per Row Written (ms)0
DB_NAMEDB6: General identifier DB6IDENTCHAR20
STMT_LEN stmt_txtln: Length Field of LCHR stmt_txt0
STMT_TEXT stmt_text: SQL Statement0
AUTH_IDDB6: General identifier DB6IDENTCHAR20
PL_D_LRS pool_data_l_reads0
PL_D_PRS pool_data_p_reads0
PL_I_LRS pool_index_l_reads0
PL_I_PRS pool_index_p_reads0
PL_TD_LRS pool_temp_data_l_reads0
PL_TD_PRS pool_temp_data_p_reads0
PL_TI_LRS pool_temp_index_l_reads0
PL_TI_PRS pool_temp_index_p_reads0
SORT_OVERFLOWS sort_overflows0
TOTAL_SORT_TIME total_sort_time0
PL_XDA_LRS pool_xda_l_reads0
PL_XDA_PRS pool_xda_p_reads0
PL_TEMP_XDA_LRS pool_temp_xda_l_reads0
PL_TEMP_XDA_PRS pool_temp_Xda_p_reads0
COLORALV control: Field name with simple row color coding LVC_CIFNMCHAR30CHAR30
BP_QAL Overall Buffer Quality (%)0
STATS_FABRICATE_TIME 0
SYNC_RUNSTATS_TIME 0
ROWS_RETURNED 0
STMT_PKGCACHE_ID 0
INSERT_TIMESTAMPDB6: Timestamp (Format: YYYYMMDDHHMMSS) DB6TSTAMPCHAR14
ACC_EFFICIENCY rows read / rows processed0
BPGETS_ROWRET 0
BPGETS_EXEC 0
SHORT_STMT_TEXT Abbreviated stmt text for overview display0
PL_COL_LRS pool_col_l_reads0
PL_COL_PRS pool_col_p_reads0
PL_TEMP_COL_LRS pool_temp_col_l_reads0
PL_TEMP_COL_PRS pool_temp_col_p_reads0

Key field Non-key field



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

As DB6_VIEW_SQLCACHE_DETAIL 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 DB6_VIEW_SQLCACHE_DETAIL as there is no data to select.

How to access SAP table DB6_VIEW_SQLCACHE_DETAIL

Within an ECC or HANA version of SAP you can also view further information about DB6_VIEW_SQLCACHE_DETAIL 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!