<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic sql trace (st05) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-st05/m-p/2217300#M475579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends &lt;/P&gt;&lt;P&gt;.pls tell in detail how to evaluate  the performance of one select querry by using sql trace.( pls tell all traces )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2007 05:03:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-26T05:03:57Z</dc:date>
    <item>
      <title>sql trace (st05)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-st05/m-p/2217300#M475579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends &lt;/P&gt;&lt;P&gt;.pls tell in detail how to evaluate  the performance of one select querry by using sql trace.( pls tell all traces )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 05:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-st05/m-p/2217300#M475579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T05:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: sql trace (st05)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-st05/m-p/2217301#M475580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Go to ST05&lt;/P&gt;&lt;P&gt;ON the trace&lt;/P&gt;&lt;P&gt;Run the program from Se38&lt;/P&gt;&lt;P&gt;OFF the trace&lt;/P&gt;&lt;P&gt;do the analysis of trace&lt;/P&gt;&lt;P&gt;by looking into the different select statements&lt;/P&gt;&lt;P&gt;and the time consumed for each select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 05:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-st05/m-p/2217301#M475580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T05:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: sql trace (st05)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-st05/m-p/2217302#M475581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SQL Trace &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL trace(ST05) provides the developer with the ability to analyse database select statements. Simply execute ST05 &lt;/P&gt;&lt;P&gt;to turn on SQL trace, then execute the statement/program you want to analyse. Now turn off SQL trace using ST05 &lt;/P&gt;&lt;P&gt;and click on list trace to view the details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also perform traces on other items such as authorisation objects.&lt;/P&gt;&lt;P&gt;Authorisation trace analysis 1. Open two sessions&lt;/P&gt;&lt;P&gt;2. Execute transaction ST01 in one of the sessions&lt;/P&gt;&lt;P&gt;3. Select the authorisation checkbox, note the other traces &lt;/P&gt;&lt;P&gt;you can perform (SQL, RFC, Table Buffer etc) &lt;/P&gt;&lt;P&gt;4. Click the 'Trace On' button&lt;/P&gt;&lt;P&gt;5. Within your other session execte the transaction/report &lt;/P&gt;&lt;P&gt;you want to trace or get the user in question to do it&lt;/P&gt;&lt;P&gt;6. Return to the session where you turned the trace on and &lt;/P&gt;&lt;P&gt;click on 'Trace Off' otherwise it will continue to record &lt;/P&gt;&lt;P&gt;all athorisation checks&lt;/P&gt;&lt;P&gt;7. Click on the 'Analysis' button&lt;/P&gt;&lt;P&gt;8. Enter appropriate data into selection screen such as &lt;/P&gt;&lt;P&gt;Username, type of trace records (i.e. Authorization check)&lt;/P&gt;&lt;P&gt;9. Click on the Execute button. &lt;/P&gt;&lt;P&gt;10. Report displaying trace results will now be displayed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/perform/perform_sqltrace.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/perform/perform_sqltrace.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some useful transaction related to this are ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ST01 SAP system trace &lt;/P&gt;&lt;P&gt;ST02 Buffer statistics. &lt;/P&gt;&lt;P&gt;ST03 Workload analysis. &lt;/P&gt;&lt;P&gt;ST04 Database performance analysis. &lt;/P&gt;&lt;P&gt;ST05 SQL trace . &lt;/P&gt;&lt;P&gt;ST06 Operating system monitor ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the recorded SQL trace you can deduce:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· Which SQL statements your application carries out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· Which values the system uses for specific database accesses and changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· How the system translates ABAP OPEN SQL commands (such as &lt;/P&gt;&lt;P&gt;SELECT) into standard SQL commands&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· Where your application positions COMMIT statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· Where your application makes repeated database accesses&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;· What database accesses or changes occur in the update section of your &lt;/P&gt;&lt;P&gt;application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the below links, you will get the idea &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com/TOOLS/SQLTRACE/SQL_TRACE.html" target="test_blank"&gt;http://www.sapbrain.com/TOOLS/SQLTRACE/SQL_TRACE.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 05:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-st05/m-p/2217302#M475581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T05:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: sql trace (st05)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-st05/m-p/2217303#M475582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;  Anji reddy is coreect and simple. Just follow that and u will get the clarification.&lt;/P&gt;&lt;P&gt;Make sure about the time for each select statement how time it is taking.&lt;/P&gt;&lt;P&gt;Hope this helps you. Reply for queries, shall post the updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.  &lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 05:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-trace-st05/m-p/2217303#M475582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T05:28:55Z</dc:date>
    </item>
  </channel>
</rss>

