How To Check Table Statistics In Sap



Skip to end of metadataGo to start of metadata

Introduction

When using the query runtime statistics, you can determine how much time the execution of a certain query or a certain navigation step take in the front end and in the analytic manager. Basically, the statistics records can be analyzed by using the technical content (TCT), the transaction RSRT (AdHoc Analysis) or two table views. In particular when you want to analyze a performance problem concerning a certain query, transaction RSRT offers the most convenient way to take a look at the query runtime statistics. See also Query Performance.

Check

Since query runtime statistics generate a very large amount of statistics data, it is recommended to activate this feature only for queries where it is really required. In addition, normally it is also necessary to delete statistics data on a regular basis.

SAP Online Documentation
Knowledge Base Article

The internal monitoring infrastructure of the SAP HANA database (statistics service) is continuously collecting and evaluating information about status, performance, and resource usage from all components of the SAP HANA database. This information is historicized to tables and views in the schema SYSSTATISTICS. You can use these tables and views to analyze system behavior over time. Just check this blog and conquer the SAP world. This is very fundamental but very important. Everyone who is working as a Consultant will use it all the time. This Tutorial will help them to find the SAP Tables behind any SAP Transaction Codes whether it is SAP ECC and SAP S/4 HANA. Step by Step instruction. Goto - Parameters - Perfomance Database. To analyze the Statistics by users for transactions and programs use transaction STAT. STAT looks at the STAT file created by each SAP Instance. It is by default 100 MB. Every hour there is a COLLECTORFORPERFORMANCE job RSCOLL00 aggregating this data into MONI table.

How To Check Table Statistics In Sql Server

How to check table statistics in sap sheetAnalytics

The table consistency check is a procedure available in the SAP HANA database that performs a range of consistency check actions on database tables. It can be run from the command line or scheduled within the statistics service. How to check oracle tablespace usage. To produce statistics about free extents and coalescing activity for each tablespace in the database, enter the following query: set echo off feedback off verify off pages 75. Col tablespacename format a20 head 'Tablespace Name'. Col total format 999,999,999,999 head 'Total (KB)'.

2633595 - RSDDSTAT transaction and tables for query statistics collection

How

How to activate the statistics for a certain query (transaction RSDDSTAT)

In transaction RSDDSTAT for maintaining statistics properties, you can activate and deactivate the statistics for certain queries and also e.g. specify the required granularity for each object.

SAP Online Documentation

Changing the setting for a certain query:

Canging the default:

Sap Check Register Table

How to analyze the statistics

Checking Table Views

The statistics data is stored in various tables. In terms of analyzing the statistics data, it is convenient to use the following two views:

  • View RSDDSTAT_OLAP contains the data from the events in the areas for the front end and calculation layer in the analytic manager
  • View RSDDSTAT_DM contains the event data from the area for the aggregation layer and DataManager
SAP Online Documentation
  • Analysis of Statistics Data (tables RSDDSTAT_OLAP and RSDDSTAT_DM)
  • Overview of Statistics Events (Table RSDDSTATEVENTS)

Analysis Using Technical BI Content for BW Statistics

Technical BI Content provides predefined BW objects such as Cubes(e.g. 0TCT_C01 and 0TCT_C02), queries and web templates for analyzing most statistics data. Before using technical BI Content, you have to activate it. For more information see

SAP Online Documentation

How To Check Table Stats In Sap

Adhoc Analysis of Query Runtime Statistics in the Query Monitor (Transaction RSRT)

Using the feature 'Display Statistics Data' in RSRT, you can perform an ad hoc analysis at query runtime.

The data for the area for the calculation layer of the analytic engine and the data for the area for the aggregation layer are displayed on two separate tab pages. For details see RSRT: Display Statistics Data.

How To Check Table Statistics In Sap Sheet

How to delete Statistics Recordings

How To Check Table Statistics In Sap

How To Check Table Statistics In Sap Query

Since query runtime statistics generate a very large amount of statistics data, it might be necessary to delete the data from the RSSDDSTAT* tables on a regular basis. When using technical content, deletion of statistics recording for query runtime statistics is automated. For more information see Maintenance of Statistics Properties.

How To Check Table Statistics In Sap Analytics

Maintain parameter TCT_KEEP_OLAP_DM_DATA_N_DAYS in table RSADMIN for automatic deletion during data load or run transaction RSDDSTAT for manual deletion. For more details, please see SAP Note 1597364 - '15. TCT and BI Admin cockpit'.