DB2STATDEC SAP (DB2/390: Buffer Pool Tuning: Table Categorisation) Structure details

Dictionary Type: Structure
Description: DB2/390: Buffer Pool Tuning: Table Categorisation




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




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

DB2STATDEC 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/390: Buffer Pool Tuning: Table Categorisation" 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_DB2STATDEC TYPE DB2STATDEC.

The DB2STATDEC table consists of various fields, each holding specific information or linking keys about DB2/390: Buffer Pool Tuning: Table Categorisation data available in SAP. These include RNAME (Name of the pool or cluster), DBNAME (Database name), TSNAME (Name of the tablespace), UPDCNT (No. of UPDATE commands).. 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: Not classified


SAP DB2STATDEC 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
TNAMEDB2 table name DB2TABNAMECHAR18CHAR18
RNAMEName of the pool or cluster DBSTATSQLTCHAR30Assigned to domainAS4TAB
DBNAMEDatabase name DB2DBNAMECHAR8D2DBNAME
TSNAMEName of the tablespace DB2TSNAMECHAR8CHAR8
UPDCNTNo. of UPDATE commands UPDCNTDDEC12DEC12
DELCNTNo. of DELETE attempts DELCNTDDEC12DEC12
INSCNTNo. of INSERT attempts INSCNTDDEC12DEC12
FETCHESDB2 for OS/390: Number of fetches DB2FETCHESDEC12DEC12
DIR_FETCHNumber of FETCHes for direct read commands (SELECT SINGLE) DIRFETCHDDEC12DEC12
SEQ_FETCHNumber of FETCHes for sequential read commands SEQFETCHDDEC12DEC12
SEQ_ROWNumber of records read at sequential read operations SEQROWDDEC12DEC12
BUFField type char, length 1 DB2CHAR01CHAR1DB2CHAR01
NPAGESNumber of pages on which rows of the table appear DB2NPAGESDDEC12DB2DEC12
BPOOLName of the DB2 buffer pool currently used for the TS DB2BPCURRCHAR8DB2BPNAME
BPSUGSuggested DB2 buffer pool DB2BPSUGCHAR8DB2BPNAME
RECLENGTHMaximum length (in bytes) of any record in the table DB2RECLENINT410
EXECUTESSum of execution of updates, inserts, deletes and fetches DB2EXECSDEC12DEC12
ACCESS_FRDB2 OS/390: Access frequency: max(executes , affected rows) DB2ACCFREQNUMC10DB2NUMC10
ACCESS_TYDB2 for OS/390: Access type: random or sequential DB2ACCTYPECHAR10DB2CHAR10L
PERC_CHANDB2/390: changes vs. all executions in percent DB2CHANGESNUMC5DB2NUMC05
SIZEDB2 for OS/390: Size category of the table (small, large) DB2SIZECHAR6DB2CHAR06L
CATEGORYDB2 for OS/390: Table category DB2TABCATCHAR2DB2TABCAT
SIZE_KBDB2 for OS/390: Table size ( pages * reclength / 1024 ) DB2TABSIZEDEC12DEC12
CARDFTotal number of rows in the table DB2CARDFDDEC12DB2DEC12

Key field Non-key field



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

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

How to access SAP table DB2STATDEC

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