DB6_VIEW_SQLCACHE_DETAIL SAP (DB6: View Data of SQL Cache Entry) Structure details
Description: DB6: View Data of SQL Cache Entry
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 | ||||||||
COMPTIME | DB6: Timestamp (Format: YYYYMMDDHHMMSS) | DB6TSTAMP | CHAR | 14 | |||||
PARTITN | Partition Number | 0 | |||||||
ARTIF_KEY | artif_key: Artificial Key for Uniqueness | 0 | |||||||
CALLERFLAG | Who Has Called this Program | 0 | |||||||
DBMSTRTTME | DB6: Timestamp (Format: YYYYMMDDHHMMSS) | DB6TSTAMP | CHAR | 14 | |||||
PRGVERS | Version of Program Inserted this Row | 0 | |||||||
NUM_EXECUT | num_executions: Number of Executions | 0 | |||||||
NUM_COMPIL | num_compilations: Number of Compilations | 0 | |||||||
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 Deleted | 0 | |||||||
INT_RW_INS | int_rows_inserted: Rows Inserted | 0 | |||||||
RW_READ | rows_read: Rows Read | 0 | |||||||
INT_RW_UPD | int_rows_updated: Rows Updated | 0 | |||||||
RW_WRITTEN | rows_written: Rows Written | 0 | |||||||
STMT_SORTS | stmt_sorts: Statement Sorts | 0 | |||||||
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 Sum | 0 | |||||||
READPCT | rows_read_pct: Rows Read / Total Sum Rows Read | 0 | |||||||
WRITTENPCT | rows_written_pct: Rows Written / Total Sum Rows Written | 0 | |||||||
AVGEXECTMS | Average Execution Time (ms) | 0 | |||||||
AVGRRTMS | Average Time per Row Read (ms) | 0 | |||||||
AVGRWTMS | Average Time per Row Written (ms) | 0 | |||||||
DB_NAME | DB6: General identifier | DB6IDENT | CHAR | 20 | |||||
STMT_LEN | stmt_txtln: Length Field of LCHR stmt_txt | 0 | |||||||
STMT_TEXT | stmt_text: SQL Statement | 0 | |||||||
AUTH_ID | DB6: General identifier | DB6IDENT | CHAR | 20 | |||||
PL_D_LRS | pool_data_l_reads | 0 | |||||||
PL_D_PRS | pool_data_p_reads | 0 | |||||||
PL_I_LRS | pool_index_l_reads | 0 | |||||||
PL_I_PRS | pool_index_p_reads | 0 | |||||||
PL_TD_LRS | pool_temp_data_l_reads | 0 | |||||||
PL_TD_PRS | pool_temp_data_p_reads | 0 | |||||||
PL_TI_LRS | pool_temp_index_l_reads | 0 | |||||||
PL_TI_PRS | pool_temp_index_p_reads | 0 | |||||||
SORT_OVERFLOWS | sort_overflows | 0 | |||||||
TOTAL_SORT_TIME | total_sort_time | 0 | |||||||
PL_XDA_LRS | pool_xda_l_reads | 0 | |||||||
PL_XDA_PRS | pool_xda_p_reads | 0 | |||||||
PL_TEMP_XDA_LRS | pool_temp_xda_l_reads | 0 | |||||||
PL_TEMP_XDA_PRS | pool_temp_Xda_p_reads | 0 | |||||||
COLOR | ALV control: Field name with simple row color coding | LVC_CIFNM | CHAR | 30 | CHAR30 | ||||
BP_QAL | Overall Buffer Quality (%) | 0 | |||||||
STATS_FABRICATE_TIME | 0 | ||||||||
SYNC_RUNSTATS_TIME | 0 | ||||||||
ROWS_RETURNED | 0 | ||||||||
STMT_PKGCACHE_ID | 0 | ||||||||
INSERT_TIMESTAMP | DB6: Timestamp (Format: YYYYMMDDHHMMSS) | DB6TSTAMP | CHAR | 14 | |||||
ACC_EFFICIENCY | rows read / rows processed | 0 | |||||||
BPGETS_ROWRET | 0 | ||||||||
BPGETS_EXEC | 0 | ||||||||
SHORT_STMT_TEXT | Abbreviated stmt text for overview display | 0 | |||||||
PL_COL_LRS | pool_col_l_reads | 0 | |||||||
PL_COL_PRS | pool_col_p_reads | 0 | |||||||
PL_TEMP_COL_LRS | pool_temp_col_l_reads | 0 | |||||||
PL_TEMP_COL_PRS | pool_temp_col_p_reads | 0 |
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 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