<?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 Re: Error Using the 'Analyze' tool with the 'sde' account in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/error-using-the-analyze-tool-with-the-sde-account/m-p/710998#M40269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The SDE account should be very limited, and should NOT be able to update &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;statistics on spatial tables.&amp;nbsp; The table owner should be the only account&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;used for statistics management.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2013 17:20:22 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2013-02-05T17:20:22Z</dc:date>
    <item>
      <title>Error Using the 'Analyze' tool with the 'sde' account</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-the-analyze-tool-with-the-sde-account/m-p/710997#M40268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a few Oracle 11g databases deployed to a SLES 11 environment that are running ArcSDE 10.0 SP4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the message I get when I try to run the 'Analyze' tool using the 'sde' account (using ArcGIS Desktop 10.0 SP4): &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Messages Executing: Analyze "Database Connections\SDE_ACCOUNT.sde\DATA_OWNER_ACCOUNT.TABLE_NAME" BUSINESS Start Time: Tue Feb 05 07:20:10 2013 ERROR 999999: Error executing function. Underlying DBMS error [ORA-20000: Unable to analyze TABLE "DATA_OWNER_ACCOUNT"."TABLE_NAME", insufficient privileges or does not exist ORA-06512: at "SYS.DBMS_STATS", line 23818 ORA-06512: at "SYS.DBMS_STATS", line 23880 ORA-06512: at line 1 ] Failed to execute (Analyze). Failed at Tue Feb 05 07:20:11 2013 (Elapsed Time: 1.00 seconds)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can successfully run the 'Analyze' tool using the data owner account: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Messages Executing: Analyze "Database Connections\DATA_OWNER_ACCOUNT.sde\DATA_OWNER_ACCOUNT.TABLE_NAME" BUSINESS;ADDS;DELETES Start Time: Tue Feb 05 07:19:31 2013 Succeeded at Tue Feb 05 07:19:33 2013 (Elapsed Time: 2.00 seconds)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had my oracle DBA grant the 'ANALYZE ANY' priv to the 'sde' account and now get the following error when trying to Analyze with the 'sde' account: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Messages Executing: Analyze "Database Connections\SDE_ACCOUNT.sde\DATA_OWNER_ACCOUNT.TABLE_NAME" BUSINESS;FEATURE;ADDS;DELETES Start Time: Tue Feb 05 08:48:20 2013 ERROR 999999: Error executing function. Table is not multiversion, but must be for this operation Failed to execute (Analyze). Failed at Tue Feb 05 08:48:22 2013 (Elapsed Time: 2.00 seconds)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can still successfully Analyze with the data owner account, but it seems that I should be able to do this with the sde admin account as well.&amp;nbsp; Documentation on the Analyze tool: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/#/Analyze/0017000000n2000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/#/Analyze/0017000000n2000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help/advise?&amp;nbsp; I've worked the data owner account into our Analyze-&amp;gt;Compress-&amp;gt;Analyze workflows, but we will run into some of these issues when we have more than 1 data owner and the tables that are registered as versioned and are being edited.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It almost seems that the 'sde' account does not quite see the 'a' and/or 'd' tables (delta tables).&amp;nbsp; Maybe?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 17:03:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-the-analyze-tool-with-the-sde-account/m-p/710997#M40268</guid>
      <dc:creator>PF1</dc:creator>
      <dc:date>2013-02-05T17:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error Using the 'Analyze' tool with the 'sde' account</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-the-analyze-tool-with-the-sde-account/m-p/710998#M40269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The SDE account should be very limited, and should NOT be able to update &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;statistics on spatial tables.&amp;nbsp; The table owner should be the only account&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;used for statistics management.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 17:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-the-analyze-tool-with-the-sde-account/m-p/710998#M40269</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-02-05T17:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error Using the 'Analyze' tool with the 'sde' account</title>
      <link>https://community.esri.com/t5/data-management-questions/error-using-the-analyze-tool-with-the-sde-account/m-p/710999#M40270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The SDE account should be very limited, and should NOT be able to update &lt;BR /&gt;statistics on spatial tables.&amp;nbsp; The table owner should be the only account&lt;BR /&gt;used for statistics management.&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Vince - thank you for the input.&amp;nbsp; We use the SDE account for many database related administration tasks such as the compress and version management (the default version is 'owned' by sde and protected by our workflows so the rec&amp;amp;post needs to be executed with the sde account).&amp;nbsp; ESRI recommends running an Analyze before and after each compress: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002n00000059000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002n00000059000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When you update the statistics for a feature dataset, statistics for all the feature classes in that feature dataset are updated. If the feature dataset contains a geometric network, the network tables are also updated.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="font-style: italic;"&gt;You should update statistics before and after a compress operation&lt;/STRONG&gt;, after you add or remove topology rules, and after you have finished importing, loading, or copying data into an ArcSDE geodatabase.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it seems that if the SDE/DB admin wants to automate the &lt;/SPAN&gt;&lt;STRONG&gt;Analyze-&amp;gt;Compress-&amp;gt;Analyze&lt;/STRONG&gt;&lt;SPAN&gt; (we are scheduling weekly) that they should use the 'sde' account instead of the data owner account, since there can be many different owners to the data, and since the compress is handled by the same SDE account.&amp;nbsp; SDE/DB admins do not always have the connection parameters (passwords) to user accounts who may own the data.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was looking to use the 'Analyze Datasets' tool as documented here: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/#/Analyze_Datasets/00170000014z000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/#/Analyze_Datasets/00170000014z000000/&lt;/A&gt;&lt;SPAN&gt; but we are still on ESRI version 10.0 for some of our solutions/applications.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For future reference: It looks like the 'Analyze Datasets' tool documents that account must be the data owner as well: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Note that the connected user must be the data owner for the datasets provided.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the input.&amp;nbsp; We will continue to use the data owner account and keep this in mind for future implementations where we may have multiple accounts which 'own' the data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 20:45:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/error-using-the-analyze-tool-with-the-sde-account/m-p/710999#M40270</guid>
      <dc:creator>PF1</dc:creator>
      <dc:date>2013-02-05T20:45:35Z</dc:date>
    </item>
  </channel>
</rss>

