SAP ABAP Class /SDF/CL_DB6_SQL_STMT (SQL Statement Detailed KPIs)
Hierarchy
☛
ST-PI (Software Component) SAP Solution Tools Plug-In
⤷
SV-SMG-SDD (Application Component) Service Data Download
⤷
/SDF/DB6_INFR_7X (Package) Data Collectors for DB6 - OO
⤷
⤷
Properties
| Class | /SDF/CL_DB6_SQL_STMT | |
| Short Description | SQL Statement Detailed KPIs | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SDF/DB6_INFR_7X | Data Collectors for DB6 - OO |
| Created | 20110118 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /SDF/CL_DB6_SQL_STMT has no forward declaration.
Interfaces
Class /SDF/CL_DB6_SQL_STMT has no interface implemented.
Friends
Class /SDF/CL_DB6_SQL_STMT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | DBCON-CON_NAME | Logical name for a database connection | 20110128 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | I | 20110118 | ||||
| 3 | Instance attribute | Protected | Type reference (TYPE) | DBCON-CON_NAME | Logical name for a database connection | 20110118 | |||
| 4 | Instance attribute | Public | Type reference (TYPE) | I | 20110118 | ||||
| 5 | Instance attribute | Public | See coding | 20110118 | |||||
| 6 | Instance attribute | Public | See coding | 20110118 | |||||
| 7 | Instance attribute | Public | See coding | 20110118 | |||||
| 8 | Instance attribute | Public | See coding | 20110118 | |||||
| 9 | Instance attribute | Public | See coding | 20110118 | |||||
| 10 | Instance attribute | Public | See coding | 20110118 | |||||
| 11 | Instance attribute | Public | See coding | 20110118 | |||||
| 12 | Instance attribute | Public | See coding | 20110118 | |||||
| 13 | Instance attribute | Public | See coding | 20110118 | |||||
| 14 | Instance attribute | Public | See coding | 20110118 | |||||
| 15 | Instance attribute | Public | See coding | 20110118 | |||||
| 16 | Instance attribute | Public | See coding | 20110118 | |||||
| 17 | Instance attribute | Public | See coding | 20110118 | |||||
| 18 | Instance attribute | Public | See coding | 20110118 | |||||
| 19 | Instance attribute | Public | See coding | 20110118 | |||||
| 20 | Instance attribute | Public | See coding | 20110118 | |||||
| 21 | Instance attribute | Public | See coding | 20110118 | |||||
| 22 | Instance attribute | Public | See coding | 20110118 | |||||
| 23 | Instance attribute | Public | See coding | 20110118 | |||||
| 24 | Instance attribute | Public | See coding | 20110118 | |||||
| 25 | Instance attribute | Public | See coding | 20110118 | |||||
| 26 | Instance attribute | Public | See coding | 20110914 | |||||
| 27 | Instance attribute | Public | See coding | 20110118 | |||||
| 28 | Instance attribute | Public | Type reference (TYPE) | CHAR32 | 20110118 | ||||
| 29 | Instance attribute | Public | See coding | 20110118 | |||||
| 30 | Instance attribute | Public | See coding | 20110123 | |||||
| 31 | Instance attribute | Public | Type reference (TYPE) | CHAR32 | Character field, length 32 | 20110118 | |||
| 32 | Instance attribute | Public | See coding | 20110118 | |||||
| 33 | Instance attribute | Public | Type reference (TYPE) | STRING | 20110118 | ||||
| 34 | Instance attribute | Public | See coding | 20110123 | |||||
| 35 | Instance attribute | Public | See coding | 20110118 | |||||
| 36 | Instance attribute | Public | See coding | 20110118 | |||||
| 37 | Instance attribute | Public | See coding | 20110118 | |||||
| 38 | Instance attribute | Public | See coding | 20110118 | |||||
| 39 | Instance attribute | Public | See coding | 20110118 | |||||
| 40 | Instance attribute | Public | See coding | 20110118 | |||||
| 41 | Instance attribute | Public | See coding | 20110118 | |||||
| 42 | Instance attribute | Public | Type reference (TYPE) | _T_ENV_INFO | 20110123 | ||||
| 43 | Instance attribute | Public | Type reference (TYPE) | _T_METRICS | 20110118 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20110118 | |
| 2 | Instance method | Public | Method | Get Statement from History Table | 20110118 | |
| 3 | Instance method | Public | Method | Get Statement Snapshot directly from Package Cache | 20110118 | |
| 4 | Instance method | Public | Method | Get DB2 environment info | 20110123 |
Events
Class /SDF/CL_DB6_SQL_STMT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | _S_ENV_INFO | Public | See coding | 20110123 | BEGIN OF _s_env_info,
num_dbpartitions TYPE i,
inst_name TYPE c LENGTH 128,
inst_ptr_size TYPE i,
service_level TYPE c LENGTH 128,
bld_level TYPE c LENGTH 128,
ptf TYPE c LENGTH 128,
fixpack_num TYPE i,
END OF _s_env_info
|
||
| 2 | _S_ERRORS | Public | See coding | 20110118 | BEGIN OF _s_errors, " for error handling
sql_code TYPE i,
sql_msg(250) TYPE c,
END OF _s_errors
|
||
| 3 | _S_METRICS | Public | See coding | 20110118 | BEGIN OF _s_metrics,
snapshot_timestamp TYPE char32,
num_executions(12) TYPE p DECIMALS 0,
total_exec_time(12) TYPE p DECIMALS 0,
total_exec_time_ms(12) TYPE p DECIMALS 0,
rows_read(12) TYPE p DECIMALS 0,
num_compilations(12) TYPE p DECIMALS 0,
prep_time_worst(12) TYPE p DECIMALS 0,
prep_time_best(12) TYPE p DECIMALS 0,
int_rows_deleted(12) TYPE p DECIMALS 0,
int_rows_inserted(12) TYPE p DECIMALS 0,
int_rows_updated(12) TYPE p DECIMALS 0,
rows_written(12) TYPE p DECIMALS 0,
stmt_sorts(12) TYPE p DECIMALS 0,
sort_overflows(12) TYPE p DECIMALS 0,
total_sort_time(12) TYPE p DECIMALS 0,
pool_data_l_reads(12) TYPE p DECIMALS 0,
pool_data_p_reads(12) TYPE p DECIMALS 0,
pool_temp_data_l_reads(12) TYPE p DECIMALS 0,
pool_temp_data_p_reads(12) TYPE p DECIMALS 0,
pool_index_l_reads(12) TYPE p DECIMALS 0,
pool_index_p_reads(12) TYPE p DECIMALS 0,
pool_temp_index_l_reads(12) TYPE p DECIMALS 0,
pool_temp_index_p_reads(12) TYPE p DECIMALS 0,
pool_xda_l_reads(12) TYPE p DECIMALS 0,
pool_xda_p_reads(12) TYPE p DECIMALS 0,
pool_temp_xda_l_reads(12) TYPE p DECIMALS 0,
pool_temp_xda_p_reads(12) TYPE p DECIMALS 0,
total_usr_cpu_time(12) TYPE p DECIMALS 0,
total_usr_cpu_time_ms(12) TYPE p DECIMALS 0,
total_sys_cpu_time(12) TYPE p DECIMALS 0,
total_sys_cpu_time_ms(12) TYPE p DECIMALS 0,
dbpartitionnum TYPE i,
stats_fabricate_time(12) TYPE p DECIMALS 2,
sync_runstats_time(12) TYPE p DECIMALS 2,
rows_returned(12) TYPE p DECIMALS 0,
END OF _s_metrics
|
||
| 4 | _T_ENV_INFO | Public | See coding | 20110123 | _t_env_info TYPE STANDARD TABLE OF _s_env_info
|
||
| 5 | _T_ERRORS | Public | See coding | 20110118 | _t_errors TYPE STANDARD TABLE OF _s_errors
|
||
| 6 | _T_METRICS | Public | See coding | 20110118 | _t_metrics TYPE STANDARD TABLE OF _s_metrics
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONNAME | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20110201 | |||
| 2 | I_HIST_TAB | Call by reference | Type reference (TYPE) | CHAR32 | History Table Name | 20110118 | |||
| 3 | I_NUM_EXECUTIONS | Call by reference | Type reference (TYPE) | DB6DEC22S | DB6: signed decimal for integer64 data | 20110118 | |||
| 4 | I_STMTID | Call by reference | Type reference (TYPE) | CHAR32 | Character field, length 32 | 20110118 | |||
| 5 | I_STMT_TEXT | Call by reference | Type reference (TYPE) | STRING | 20110118 |
Method CONSTRUCTOR on class /SDF/CL_DB6_SQL_STMT has no exception.
Method GET_STATEMENT_FROM_HIST Signature
Method GET_STATEMENT_FROM_HIST on class /SDF/CL_DB6_SQL_STMT has no parameter.
Method GET_STATEMENT_FROM_HIST on class /SDF/CL_DB6_SQL_STMT has no exception.
Method GET_STATEMENT_FROM_PKG Signature
Method GET_STATEMENT_FROM_PKG on class /SDF/CL_DB6_SQL_STMT has no parameter.
Method GET_STATEMENT_FROM_PKG on class /SDF/CL_DB6_SQL_STMT has no exception.
Method RETRIEVE_ENV_INFO Signature
Method RETRIEVE_ENV_INFO on class /SDF/CL_DB6_SQL_STMT has no parameter.
Method RETRIEVE_ENV_INFO on class /SDF/CL_DB6_SQL_STMT has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 2008_1_700 |