<?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: Rebuild Indexes and Analyze arcpy vs. Oracle in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704976#M42</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2018 17:13:40 GMT</pubDate>
    <dc:creator>forestknutsen1</dc:creator>
    <dc:date>2018-11-13T17:13:40Z</dc:date>
    <item>
      <title>Rebuild Indexes and Analyze arcpy vs. Oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704973#M39</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to improve our geodatabase health. So we would like to:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/rebuild-indexes.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/rebuild-indexes.htm"&gt;Rebuild Indexes—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/gdbs-in-db2/update-statistics.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/gdbs-in-db2/update-statistics.htm"&gt;Update database statistics—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after a compress with arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to our DBA oracle is already doing this as needed. Using&amp;nbsp;estimate statistics and rebuild indexes. As I understand it oracle preforms an "analysis" per table to see if the estimate statistics and/or rebuild indexes is needed for any given table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my questions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Is the rebuild indexes arcpy function the same as calling oracle's rebuild index?&lt;/P&gt;&lt;P&gt;2) Is the analyze arcpy function the same as calling oracle's estimate statistics?&lt;/P&gt;&lt;P&gt;3) Can we just go with what oracle has in place or is it recommended that we update indexes and statistics with arcpy after a compress?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2018 22:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704973#M39</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2018-11-12T22:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes and Analyze arcpy vs. Oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704974#M40</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;For arcgis there are two types of indexes namely Spatial index and Attribute index. As far as I am aware and correct me if I am wrong takes care of the attribute index only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I have tested this by creating an attribute index from Oracle SQL Developer and it was visible in the same table/feature class when viewed from ArcCatalog and vice versa.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;For building/rebuilding Spatial index I would suggest to use&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/rebuild-indexes.htm"&gt;&lt;SPAN style="font-size: 11.5pt; color: #2989c5;"&gt;Rebuild Indexes—Help | ArcGIS Desktop&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;in a python script and automate the process when you compress the DB.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I will go ahead and follow this post just to see if I missed something.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I hope this helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;~Shan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 05:22:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704974#M40</guid>
      <dc:creator>shan_sarkar</dc:creator>
      <dc:date>2018-11-13T05:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes and Analyze arcpy vs. Oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704975#M41</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without diving into the weeds, the biggest difference is that Oracle has no clue there is such a thing called an enterprise geodatabase, so it is impossible for Oracle to update geodatabase metadata related to indexes.&amp;nbsp; In short, use Esri tools to update geodatabases unless there are outside factors that make it impossible or impractical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 14:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704975#M41</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-11-13T14:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes and Analyze arcpy vs. Oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704976#M42</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 17:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704976#M42</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2018-11-13T17:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes and Analyze arcpy vs. Oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704977#M43</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joshua. So, I am guessing that you would feel the same way about analyze/statistics...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is no&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;reason why we cannot implement the python. It is just the that&amp;nbsp;&lt;/SPAN&gt;the DBA and the senior GIS analyst programmer feel that esri's python functions are redundant.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 17:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704977#M43</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2018-11-13T17:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes and Analyze arcpy vs. Oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704978#M44</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whether Esri or other software, empirical data is always better than guessing.&amp;nbsp; The DBA and senior GIS analyst programmer can prove it, one way or another, but running SQL traces on the database you execute the commands.&amp;nbsp; The Esri functions obviously use Oracle functions under the hood, but the question is what else are the doing with geodatabase system tables that Oracle would not do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 17:25:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704978#M44</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-11-13T17:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes and Analyze arcpy vs. Oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704979#M45</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Esri must have an&amp;nbsp;opinion as well...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 17:58:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704979#M45</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2018-11-13T17:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes and Analyze arcpy vs. Oracle</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704980#M46</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I did talk to esri about this one. They say the arcpy tools just hits the oracle tools. The arcpy tools are not doing anything extra or special. However, with that said the still recommend running the tools via arcpy. I never got any supporting documentation for why this is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We did end up implementing the arcpy tools based on esri recommendation.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 23:02:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-and-analyze-arcpy-vs-oracle/m-p/704980#M46</guid>
      <dc:creator>forestknutsen1</dc:creator>
      <dc:date>2019-01-07T23:02:52Z</dc:date>
    </item>
  </channel>
</rss>

