<?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 Arcsoc.exe executing sql statement in oracle in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/793369#M2243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some time a go we have noticed that the following sql statement was executed frequently in our Oracle database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 11.0pt;"&gt;BEGIN /* ArcSDE plsql */ execute immediate 'create table tst_tab(id integer)';execute immediate 'drop table tst_tab';:sql_code := 0; EXCEPTION WHEN OTHERS THEN :sql_code := SQLCODE; :error_string&lt;BR /&gt; := SQLERRM; END;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;The statement is executed frequently and it leads to a higher load in our database (exhausts resources - CPU and Memory). It also doesn't seem right because our service do not have edit or such capabilities to write or execute a statement to begin with.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;The common point of reference is the use of ArcGISServer 10.5.1 services. We Identified that the statement is executed by an ArcSOC.exe.&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;Back then the workaround was to give the Oracle user a read only right and that solved the problem, but&amp;nbsp; now we upgraded one of our ArcGIS Server to 10.6.1.&amp;nbsp; As mentioned in &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExNTQyMA=="&gt;this BUG&lt;/A&gt; an Oracle user with only read permission is not supported in 10.6.1&amp;nbsp;yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;The question is then why the above mentioned statement is executed in our Oracle database in the first place and what can we do to stop it from been executed if we are forced to give our Oracle user a read and wright permission again?&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;Our environment is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;ArcGIS for Server 10.5.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;Oracle Database 12c Enterprise Edition Release 12.1.0.2.0&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;Mehretab&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2019 09:34:00 GMT</pubDate>
    <dc:creator>Mehretab</dc:creator>
    <dc:date>2019-01-10T09:34:00Z</dc:date>
    <item>
      <title>Arcsoc.exe executing sql statement in oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/793369#M2243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some time a go we have noticed that the following sql statement was executed frequently in our Oracle database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 11.0pt;"&gt;BEGIN /* ArcSDE plsql */ execute immediate 'create table tst_tab(id integer)';execute immediate 'drop table tst_tab';:sql_code := 0; EXCEPTION WHEN OTHERS THEN :sql_code := SQLCODE; :error_string&lt;BR /&gt; := SQLERRM; END;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;The statement is executed frequently and it leads to a higher load in our database (exhausts resources - CPU and Memory). It also doesn't seem right because our service do not have edit or such capabilities to write or execute a statement to begin with.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;The common point of reference is the use of ArcGISServer 10.5.1 services. We Identified that the statement is executed by an ArcSOC.exe.&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;Back then the workaround was to give the Oracle user a read only right and that solved the problem, but&amp;nbsp; now we upgraded one of our ArcGIS Server to 10.6.1.&amp;nbsp; As mentioned in &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExNTQyMA=="&gt;this BUG&lt;/A&gt; an Oracle user with only read permission is not supported in 10.6.1&amp;nbsp;yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;The question is then why the above mentioned statement is executed in our Oracle database in the first place and what can we do to stop it from been executed if we are forced to give our Oracle user a read and wright permission again?&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;Our environment is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;ArcGIS for Server 10.5.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;Oracle Database 12c Enterprise Edition Release 12.1.0.2.0&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;Mehretab&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-placeholder="Translation" dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 09:34:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/793369#M2243</guid>
      <dc:creator>Mehretab</dc:creator>
      <dc:date>2019-01-10T09:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Arcsoc.exe executing sql statement in oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/793370#M2244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would create a support case for this issue and work with a Geodata specialist.&lt;BR /&gt;&lt;BR /&gt;Looking at the defect that you reference, it has been fixed in ArcGIS Pro 2.2.3. I am not sure when (or if) the fix will updated in ArcMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you see the same statement in the trace with the ArcMap or ArcGIS Pro client?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/group/1680"&gt;Geodatabase&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 12:46:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/793370#M2244</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2019-01-10T12:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Arcsoc.exe executing sql statement in oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/793371#M2245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;As of yet the problem is not addressed in ArcMap&amp;nbsp; or ArcGIS Server 10.6.1. The only options seems to give the oracle user a full permission. The existing Oracle user (read only user) has been used in many different application like Java applications and we do not want to elevate the permission on this user. The question is can we change the connection parameters more precisely the Oracle user of an already published services? I am aware how to update the password of a connection in ArcGIS for Server but I didn't find a clue to change the Oracle user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 12:52:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/793371#M2245</guid>
      <dc:creator>Mehretab</dc:creator>
      <dc:date>2019-02-07T12:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Arcsoc.exe executing sql statement in oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/793372#M2246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="https://support.esri.com/en/download/7675"&gt;fix &lt;/A&gt;for the above mentioned BUG is released and we are able to use our Oracle user with read only permission, but the core problem remains&amp;nbsp; the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 08:32:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/793372#M2246</guid>
      <dc:creator>Mehretab</dc:creator>
      <dc:date>2019-05-02T08:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Arcsoc.exe executing sql statement in oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/1174090#M7647</link>
      <description>&lt;P&gt;We are having the same problem. Anyone know the solution?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VolkanTopalolu_0-1652686158787.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41401iB6566486E7B222F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VolkanTopalolu_0-1652686158787.png" alt="VolkanTopalolu_0-1652686158787.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;AWR report&amp;nbsp; sql text :&amp;nbsp;&lt;/P&gt;&lt;P&gt;BEGIN /* ArcSDE plsql */ :rval:= dbms_utility.get_parameter_value(:nval, :ival, :sval);:sql_code := SDE.sde_util.SE_SUCCESS; EXCEPTION WHEN OTHERS THEN :sql_code := SQLCODE; :error_string := SQLERRM; END;&lt;/P&gt;&lt;P&gt;Thaks...&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 07:31:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/arcsoc-exe-executing-sql-statement-in-oracle/m-p/1174090#M7647</guid>
      <dc:creator>VolkanTopaloğlu</dc:creator>
      <dc:date>2022-05-16T07:31:06Z</dc:date>
    </item>
  </channel>
</rss>

