SAP ABAP/4 SQL Trace
-
Upload
sakthirobotic -
Category
Documents
-
view
67 -
download
5
description
Transcript of SAP ABAP/4 SQL Trace
SQL Trace
The SQL Trace is a tool, which allows for displaying the contents for the data base calls.It monitors programs and transactions at Data base levelUsing this facility, for every instruction, you can display which SQL embedded (declare, open, fetch ) have been executed and analyze the system performance.
SQL Trace . . . Contd.
To start SQL Trace, the different options areWorkbench -> Test -> SQL Trace
ORSystem -> Utilities -> Performance Trace
ORTransaction Code ‘ ST05 ’
SQL Trace . . . Contd.
Click ‘Trace on‘ push buttonQuickly go to SE38 and execute the program to be traced.Quickly return to SQL Trace initial screen and click on ‘Trace off‘ push button.
SQL Trace . . . Contd.
This ‘ Switching off ’ is necessary because, if it is not done, then SQL trace will Trace each and every program or transaction executed in that particular time. It is quite expensive in terms of memory and time of the system.
Analyzing Trace file
Click on ‘ List Trace ‘.
You can see exactly how the system handles data base request.
Analyzing Trace file
Summary: It will show summary of data base requests.DDIC info: Data dictionary information.
(with positioning cursor on table field) will display