DBSTAIHDB2 SAP (DB2/390 Statistics for Indexes) Table details

Dictionary Type: Table
Description: DB2/390 Statistics for Indexes




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




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

DBSTAIHDB2 is a standard SAP Table which is used to store DB2/390 Statistics for Indexes data and is available within R/3 SAP systems depending on the version and release level.

The DBSTAIHDB2 table consists of various fields, each holding specific information or linking keys about DB2/390 Statistics for Indexes data available in SAP. These include CREATOR (DB2 creator name), TIMESTAMP (Date and time of last RUNSTATS), TBNAME (DB2 table name), VWTYP (Type of Usage of Table Entry).. 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: L - Table for storing temporary data, is delivered empty
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP DBSTAIHDB2 table 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
NAMEName of a DB2 for OS/390 index DB2IDXNAMECHAR18CHAR18
CREATORDB2 creator name DB2CREATORCHAR8CHAR8
TIMESTAMPDate and time of last RUNSTATS DB2STATSTMCHAR26DB2TMSTMP
TBNAMEDB2 table name DB2TABNAMECHAR18CHAR18
VWTYPType of Usage of Table Entry AM_VWTYPCHAR2AM_VWTYPE
CLURATIODB2 for OS/390 cluster ratio DB2CLURATINT13INT1
FIRSTKCARDNumber of distinct values in key (first column or full key) DB2KEYCARDFLTP16(16) FLOATING
FULLKCARDNumber of distinct values in key (first column or full key) DB2KEYCARDFLTP16(16) FLOATING
NLEAFNumber of active leaf pages in the index DB2NLEAFINT410
NLEVELSDB2 for OS/390 number of levels in the index tree DB2NLEVELSINT25DB2SINT
NEAROFFPOSNumber of referred to rows near/far from optimal position DB2OFFPOSFFLTP16(16) FLOATING
FAROFFPOSNumber of referred to rows near/far from optimal position DB2OFFPOSFFLTP16(16) FLOATING
LEAFDIST100 * avg number of leaf pages between successive leaf pages DB2LEAFDISINT410
DSSIZEDB2 for OS/390 size of a dataset in KBytes DB2SIZEKDEC15DB2SIZEK

Key field Non-key field



How do I retrieve data from SAP table DBSTAIHDB2 using ABAP code

The following ABAP code Example will allow you to do a basic selection on DBSTAIHDB2 to SELECT all data from the table
DATA: WA_DBSTAIHDB2 TYPE DBSTAIHDB2.

SELECT SINGLE *
FROM DBSTAIHDB2
INTO CORRESPONDING FIELDS OF WA_DBSTAIHDB2
WHERE...

How to access SAP table DBSTAIHDB2

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