SAP用語辞典
SQLトレース(ST05)
SQL Trace (ST05)読み:えすきゅーえるとれーす
- BASIS
- ABAP
実行されたSQLとその所要時間を記録する性能分析ツール。性能問題の大半はデータベースアクセスに起因するため、ST03で処理時間の内訳を見てDB時間の割合が高いトランザクションを特定し、ST05でどのSQLが遅いかを調べるのが定石。多くの場合、インデックスが効いていないSELECTかループ内のSELECTが原因となる。
English
SQL Trace (ST05)
The performance tool that records executed SQL statements and their durations. Since most performance problems originate in the database, the usual approach is to find transactions with high database time in ST03 and then trace them in ST05. The culprit is normally a SELECT that misses its index or one placed inside a loop.