DBSTATHORA SAP (Actual size of tables on the database (history)) Table details

Dictionary Type: Table
Description: Actual size of tables on the database (history)




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




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

DBSTATHORA is a standard SAP Table which is used to store Actual size of tables on the database (history) data and is available within R/3 SAP systems depending on the version and release level.

The DBSTATHORA table consists of various fields, each holding specific information or linking keys about Actual size of tables on the database (history) data available in SAP. These include ANDAT (Analysis date (yyyymmddhhmm)), VWTYP (Type of Usage of Table Entry), AMETH (Analysis Method for Collecting Statistics), OPTIO (Sample Size for Collection of Statistics).. 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: Cannot Be Enhanced


SAP DBSTATHORA 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
TNAMETable name TNAMECHAR30Assigned to domainAS4TAB
ANDATAnalysis date (yyyymmddhhmm) AM_DATECHAR12CHAR12
VWTYPType of Usage of Table Entry AM_VWTYPCHAR2AM_VWTYPE
AMETHAnalysis Method for Collecting Statistics AM_AMETHCHAR4AM_AMETH
OPTIOSample Size for Collection of Statistics AM_OPTIOCHAR5CHAR5
NROWSNumber of rows in a table OROWSDEC15DEC15
OCCBLUsed blocks of a table in KB UBLOCKS_KBDEC11DEC11
EMPBLEmpty blocks of a table in kb EBLOCKS_KBDEC11DEC11
AFREEAvg. freespace in a used data base block OAVG_BFREEINT410INT4
CHAINNumber of rows requiring block chaining OCHAINEDDEC15DEC15
AROWLAverage row length (Oracle result) OAVG_ROW_LDEC7DEC7_S
HWMBLEmpty blocks (kb) above High Water Mark HWBLKS_KBDEC11DEC11
INDBSUsed blocks of an index-Btree (kb) BBLOCKS_KBDEC15DEC15

Key field Non-key field



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

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

SELECT SINGLE *
FROM DBSTATHORA
INTO CORRESPONDING FIELDS OF WA_DBSTATHORA
WHERE...

How to access SAP table DBSTATHORA

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