<?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>Question Re: Using PL/SQL in SQL Command Editor__ORA-13639 SQL_TUNING_ADVISOR in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659739#M3074558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Orkun;&lt;/P&gt;&lt;P&gt;when i increase the time_limit on operating system level and then execute the "SQL Advisor" the error still exists. Is there a possibility to execute the PL/SQL- Statent in the SAP- Evironment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Lutz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 13:40:47 GMT</pubDate>
    <dc:creator>hannover_sap-basis</dc:creator>
    <dc:date>2012-03-01T13:40:47Z</dc:date>
    <item>
      <title>Using PL/SQL in SQL Command Editor__ORA-13639 SQL_TUNING_ADVISOR</title>
      <link>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaq-p/8659735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;when i use the SQL Tuning Advisor in dbacockpit the SQL Tune Job Fails With ORA-13639. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fix this in sqlplus i Increased the job "Time Limit" by using the below script (Oracle Support Automatic SQL Tune Job Fails With ORA-13639 [ID 1363111.1]):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEGIN&lt;/P&gt;&lt;P&gt;  DBMS_SQLTUNE.SET_AUTO_TUNING_TASK_PARAMETER(&lt;/P&gt;&lt;P&gt;    parameter =&amp;gt; 'TIME_LIMIT', value =&amp;gt; '7200'&lt;/P&gt;&lt;P&gt;  );&lt;/P&gt;&lt;P&gt;END;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;When i try to execute this PL/SQL statement in the SQL command Editor i get a parsing Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can ii fix this failure in the SAP- environment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Lutz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 12:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaq-p/8659735</guid>
      <dc:creator>hannover_sap-basis</dc:creator>
      <dc:date>2012-03-01T12:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using PL/SQL in SQL Command Editor__ORA-13639 SQL_TUNING_ADVISOR</title>
      <link>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659736#M3074555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lutz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute the PL/SQL statement on SQLPlus at the operating system level, not on "SQL Command Editor" on SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orkun Gedik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 13:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659736#M3074555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-01T13:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using PL/SQL in SQL Command Editor__ORA-13639 SQL_TUNING_ADVISOR</title>
      <link>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659737#M3074556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Orkun,&lt;/P&gt;&lt;P&gt;i have doen this but the Oracle error ORA-13639 in dbacockpit still occurs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lutz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 13:32:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659737#M3074556</guid>
      <dc:creator>hannover_sap-basis</dc:creator>
      <dc:date>2012-03-01T13:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using PL/SQL in SQL Command Editor__ORA-13639 SQL_TUNING_ADVISOR</title>
      <link>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659738#M3074557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt; parameter =&amp;gt; 'TIME_LIMIT', value =&amp;gt; '7200'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try to increase this value to 21600, for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orkun Gedik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 13:34:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659738#M3074557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-01T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using PL/SQL in SQL Command Editor__ORA-13639 SQL_TUNING_ADVISOR</title>
      <link>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659739#M3074558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Orkun;&lt;/P&gt;&lt;P&gt;when i increase the time_limit on operating system level and then execute the "SQL Advisor" the error still exists. Is there a possibility to execute the PL/SQL- Statent in the SAP- Evironment?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Lutz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 13:40:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659739#M3074558</guid>
      <dc:creator>hannover_sap-basis</dc:creator>
      <dc:date>2012-03-01T13:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using PL/SQL in SQL Command Editor__ORA-13639 SQL_TUNING_ADVISOR</title>
      <link>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659740#M3074559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Orkun;&lt;/P&gt;&lt;P&gt;&amp;gt; when i increase the time_limit on operating system level and then execute the "SQL Advisor" the error still exists. Is there a possibility to execute the PL/SQL- Statent in the SAP- Evironment?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; kind regards&lt;/P&gt;&lt;P&gt;&amp;gt; Lutz&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you executed the DBMS_SQLTUNE.SET_AUTO_TUNING_TASK_PARAMETER script on Sqlplus, it will be affect the SAP side, as well. So, you don't need to execute this statement, at SAP level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing you stuck is the time-out error. So, you should configure the time-out value long enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One another way is; if you would like to see the statement analysis report for an sql statement, executed previously, you can follow the path DBACOCKPIT -&amp;gt; Performance -&amp;gt; SQL Statement Analysis -&amp;gt; Shared Cursor Cache -&amp;gt; Select the statement on the list -&amp;gt; "Analysis Report"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orkun Gedik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 13:58:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659740#M3074559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-01T13:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using PL/SQL in SQL Command Editor__ORA-13639 SQL_TUNING_ADVISOR</title>
      <link>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659741#M3074560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Orkun,&lt;/P&gt;&lt;P&gt;the "SQL Tuning Advisor" and the "Analysis Report" are two different reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Lutz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 14:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659741#M3074560</guid>
      <dc:creator>hannover_sap-basis</dc:creator>
      <dc:date>2012-03-01T14:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using PL/SQL in SQL Command Editor__ORA-13639 SQL_TUNING_ADVISOR</title>
      <link>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659742#M3074561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Orkun,&lt;/P&gt;&lt;P&gt;&amp;gt; the "SQL Tuning Advisor" and the "Analysis Report" are two different reports.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; kind regards&lt;/P&gt;&lt;P&gt;&amp;gt; Lutz&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, they are different. I just wanted to show another way to have statistical values about the statement. They are not same, but you can have information about the statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orkun Gedik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 15:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-pl-sql-in-sql-command-editor-ora-13639-sql-tuning-advisor/qaa-p/8659742#M3074561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-01T15:21:28Z</dc:date>
    </item>
  </channel>
</rss>

