SAP ABAP Class CL_MSS_DBH_TABLESIZES (MSSQL DBH Extractor : Daily table size)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DB-MSS (Application Component) Microsoft SQL Server
⤷
SMSS_TOOLS (Package) Utilities for MS SQL Server
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_MSS_DBH_EXTRACTOR | MSSQL DBH Extractor superclass | 20090319 |
Properties
| Class | CL_MSS_DBH_TABLESIZES | |
| Short Description | MSSQL DBH Extractor : Daily table size | |
| Super Class | CL_MSS_DBH_EXTRACTOR | MSSQL DBH Extractor superclass |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SMSS_TOOLS | Utilities for MS SQL Server |
| Created | 20090319 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_MSS_DBH_TABLESIZES has no forward declaration.
Interfaces
Class CL_MSS_DBH_TABLESIZES has no interface implemented.
Friends
Class CL_MSS_DBH_TABLESIZES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of time delta | 20090322 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of reserved kB delta | 20090322 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of row count delta | 20090322 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of used kB delta | 20090322 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of duration | 20090322 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of index name | 20090322 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of kB reserved | 20090322 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of row count | 20090322 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of schema name | 20090322 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of statistics date | 20090322 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of statistics time | 20091023 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of table name | 20090322 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | I | Component index of kB used | 20090322 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | I | Delta [sec] since previous measurement | 20090322 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | I | Duration [sec] of current measurement | 20090322 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Define the local HEADER and mapping data | 20090322 | |
| 2 | Instance method | Protected | Method | Read the timestamp of the baseline snapshot | 20090322 | |
| 3 | Instance method | Private | Method | Get the current NetBIOS hostname | 20100306 | |
| 4 | Instance method | Protected | Method | Read the table sizes from sap_coll_tabsizes | 20090322 |
Events
Class CL_MSS_DBH_TABLESIZES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TABSIZE_L | Protected | See coding | Return line type of sap_coll_tabsizes | 20090322 | BEGIN OF TABSIZE_L ,
SCHEMA(128) TYPE C ,
TABLENAME(128) TYPE C ,
INDEXNAME(128) TYPE C ,
USED_KB(12) TYPE P DECIMALS 0 ,
RESERVED_KB(12) TYPE P DECIMALS 0 ,
ROW_COUNT(12) TYPE P DECIMALS 0 ,
DELTA_USED(12) TYPE P DECIMALS 0 ,
DELTA_RESERVED(12) TYPE P DECIMALS 0 ,
DELTA_ROW_COUNT(12) TYPE P DECIMALS 0 ,
STATS_DATE(22) TYPE C ,
END OF TABSIZE_L
|
|
| 2 | TABSIZE_T | Protected | See coding | Return table type of sap_coll_tabsizes | 20090322 | TABSIZE_T TYPE STANDARD TABLE OF TABSIZE_L
|
Method Signatures
Method COLUMN_DEF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HEADER | Call by reference | Type reference (TYPE) | DBA_DBH_LOADER_HEADER | DBA-DBH: Header Date (245 Data; 10 Long Fields) | 20090322 |
Method COLUMN_DEF on class CL_MSS_DBH_TABLESIZES has no exception.
Method GET_PREVIOUS_TS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PREVIOUS_D | Call by reference | Type reference (TYPE) | D | Date | 20090322 | |||
| 2 | PREVIOUS_T | Call by reference | Type reference (TYPE) | T | Time | 20090322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA-DBH: Extractor Exception | 20090322 |
Method GET_RHOST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CURRCON | Call by reference | Type reference (TYPE) | MSSCONNDATA | MSSQL multi-connect : Complete connection information | 20100306 | |||
| 2 | RHOST | Value transfer | Type reference (TYPE) | STRING | NetBIOS hostname | 20100306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA-DBH: Extractor Exception | 20100306 |
Method READ_TABSIZES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | END_TS | Value transfer | Type reference (TYPE) | DBCOLL_L-TIMESTMP | End of extraction interval | 20110624 | |||
| 2 | SIZETAB | Call by reference | Type reference (TYPE) | TABSIZE_T | Return table type of sap_coll_tabsizes | 20090322 | |||
| 3 | START_TS | Value transfer | Type reference (TYPE) | DBCOLL_L-TIMESTMP | Begin of extraction interval | 20110624 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DBA-DBH: Extractor Exception | 20090322 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 720 |