SAP T-Codes for Performance Analysis

This is article is based on SAP Note 948066 – Performance Analysis: Transactions to use.

The following is the list of the performance analysis transaction codes and a brief explanation of their purpose.

Transaction CodeDescription
ST02SAP Memory Configuration monitor checks the SAP Buffers and SAP Memory areas for problems such as swapping.

It is a snapshot about the utilization of SAP shared buffers. High water marks of utilization for example extended, roll, paging and heap memory can be obtained from the SAP memory configuration monitor
ST03NGeneral performance statistics such as response time. This workload monitor can show response times daily/weekly/monthly and is the primary tool for checking dialog/background/update/spool/rfc response times.
ST04
DBACOCKPIT
A snapshot of data buffer/cache quality, SQL cache catalog/pin ratio. For further detailed analysis click button ‘Detail Analysis Menu’
ST06
ST06N
OS07
The Operating System Monitor is used as a snapshot of CPU utilization, RAM, Swap space. For further detailed analysis click button ‘Detail Analysis Menu’.
SM66The main tool used for monitoring current system activity via the Global Work Process Overview
ST22Store for ABAP Dumps such as – For example the following would be critical dumps beginning with TSV_TNEW -DBIF_RSQL_SQL_ERROR – DBIF_RSQL_INVALID_SQL_ERROR – SYSTEM_NO_ROLL – SYSTEM_ROLL_IN_ERROR – TABLE_HASH_NO_MEMORY – STORAGE_HASH_NO_MEMORY – STORAGE_PARAMETERS_WRONG_SET – SAPSQL_ARRAY_INSERT_DUPREC
SM21Typical messages like : – Printer problems – Signal 11 – Short dumps – Time-outs – Matchcode problems – Aborted postings – ORA errors
SM04Active Users and number of modes of same. Also check memory, page, roll, priv usage via goto->memory
AL08 The number of active users can be obtained from the Global User Monitor SARFC: An overview of server resources and under column description whether there is a problem
AL11List of SAP directories
DB01Is a snapshot about exclusive wait situations using the Database Lock Monitor
DB02Check database growth, freespace in tablespaces, critical objects, extents of tables and indexes
DB12Check backup/restore situation
DB16On Oracle check for search for messages with the “SEVERITY” type “E” (error) that occurred in the last 4 weeks
DB24Check administration tasks such as backup/recovery, archive frequency, administration tasks
Report
/SDF/MON
The tool allows for the collection of data on CPU Utilization ,Memory Management, Database Performance, Work Process Utilization, Workload, STAD, RFC etc. The information linked with each o f the above areas is stored in the database for further usage. The data can be collected for predefined periods of time and for a set frequency of seconds
STADUsed to check response time of programs/transactions and provides various levels of detail which can be tailored.
ST14The ST14 application monitor is mainly used during SAP Going Live session. Analysis batch jobs collect performance-relevant key figures such as document statistics and customizing settings, the analysis results can be viewed as a tree and downloaded to a service session. See SAP Note 69455.
ST05ST05 traces every action of a user on a server. SQL trace needs to be switched off and the
ST05 writes trace files into the local filesystem and overwrites them circularly.
ST12 ST12 combines ABAP and performance (SQL) trace into one transaction, with major functional enhancements especially for the ABAP trace part. In a joint switch on/off with the performance trace, ST12 allows to activate the ABAP trace for another user. See Note 755977. ST12 can also be used for tracing work process, program/transaction or a user. At a click of a button you can view the SQL and ABAP trace information.

Other useful transactions that can be used depending on circumstances: SM58, SM59, SMQ1, SMQ2, SMQS, SMQR, SMGW, SMLG, SDCCN, SM37, SM51, SM50, RZ04, RZ10, RZ20, SE16, SE12, TU02, DB03, DB21, SM13:

You May Also Like

Leave a Reply?