<?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: Optimizing geodatabase in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761141#M42757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Dan!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 19:53:10 GMT</pubDate>
    <dc:creator>EmilyL</dc:creator>
    <dc:date>2018-03-22T19:53:10Z</dc:date>
    <item>
      <title>Optimizing geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761137#M42753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the correct sequence of optimizing an enterprise geodatabase?&lt;/P&gt;&lt;P&gt;Analyze &amp;gt; Rebuild Indexes &amp;gt; Compress?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I stop the GIS services before rebuilding indexes and compressing the database?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 18:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761137#M42753</guid>
      <dc:creator>EmilyL</dc:creator>
      <dc:date>2018-03-22T18:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761138#M42754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emily,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If services are referencing feature classes in your enterprise geodatabase, these should be stopped when you run a compress so that the necessary locks are released.&amp;nbsp; After a compress, it's recommended to rebuild indexes and stats.&amp;nbsp; Take a look at the following tool, it may help you automate some of this procedure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-9914-compress-geodatabase-tool"&gt;https://community.esri.com/docs/DOC-9914-compress-geodatabase-tool&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 19:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761138#M42754</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2018-03-22T19:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761139#M42755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And there is a whole load of other tools&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/an-overview-of-the-geodatabase-administration-toolset.htm"&gt;http://pro.arcgis.com/en/pro-app/tool-reference/data-management/an-overview-of-the-geodatabase-administration-toolset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 19:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761139#M42755</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-22T19:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761140#M42756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Jake!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 19:51:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761140#M42756</guid>
      <dc:creator>EmilyL</dc:creator>
      <dc:date>2018-03-22T19:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761141#M42757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Dan!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 19:53:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761141#M42757</guid>
      <dc:creator>EmilyL</dc:creator>
      <dc:date>2018-03-22T19:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761142#M42758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Hi Jake,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Thank you for the automation file again. But when I tried to run it, I got the following error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;&lt;IMG __jive_id="399703" alt="compress error" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/399703_1.png" style="width: 620px; height: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;I am an administer of the geodatabase, but not the owner/creator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;I appreciate the automation file, but let me try to see/understand it step by step first. I still have some more questions please:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;1.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;I’ve edited one layer in the geodatabase, but I still do the compression at the geodatabase level, not at the layer level, correct?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;2.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;Since the compression is at the geodatabase level, I’d need to stop all services that came from this geodatabase, not only that particular one layer I’ve edited, correct?&amp;nbsp; What happen if I forget to stop the services first before running compression?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;3.&amp;nbsp; Is&lt;/SPAN&gt;&amp;nbsp;compress by R-click on the geodatabase &amp;gt; Administration &amp;gt; Compress Database same as the GP Compress Tool?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Both results "SUCCESS", but the specific layer still draws slowly.&amp;nbsp; I still should continue to perform other maintenance such as rebuild indexes and analyze, correct?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;IMG __jive_id="399740" class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/399740_pastedImage_1.png" style="width: 620px; height: 123px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Should I just perform them all under R-click to the geodatabase &amp;gt; Administration &amp;gt; Geodatabase Maintenance?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="399742" class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/399742_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.&amp;nbsp; The only time I absolutely need to stop services and unlock all layers is to recalculate Spatial Indexes for the specific layer.&amp;nbsp; If not, the option would be grayed out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="399732" alt="" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/399732_3.png" /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="399731" alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/399731_2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. What is the difference between Rebuild and Recalculate indexes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;Sorry for all the questions and thank you very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 17:21:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761142#M42758</guid>
      <dc:creator>EmilyL</dc:creator>
      <dc:date>2018-03-23T17:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761143#M42759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you send a screen shot of how you have the tool set up before you execute it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You actually can only compress an entire geodatabase.&amp;nbsp; You don't have the ability to compress a single feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; If you don't stop the services, the feature class will be skipped and not compressed since there is a lock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp; You will need to check the corresponding A&amp;amp;D tables of the feature class to make sure they are cleared out.&amp;nbsp; This is accomplished in by accessing SQL Server Management Studio, locating the table name in the dbo.sde_table_registry table.&amp;nbsp; The registration_id will represent the A and D tables.&amp;nbsp; For example, if this is 35 you can query the &amp;lt;owner&amp;gt;.a35 and &amp;lt;owner&amp;gt;.d35 tables to see if they contain any rows after the compress&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.&amp;nbsp; Yes, this will work as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.&amp;nbsp; You will need to stop the service in order to rebuild the index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7.&amp;nbsp; I believe these may perform the same thing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 20:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761143#M42759</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2018-03-26T20:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761144#M42760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's my&amp;nbsp;experience with this adventure.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/597806"&gt;https://community.esri.com/message/597806&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 22:58:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761144#M42760</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2018-03-26T22:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761145#M42761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jake for your reply. Very helpful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the screenshot of how I set up the Compress automation file.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/399948_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;1) If it runs successfully, it'd stop all services automatically, correct?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Would compression still work (partially) if I only stop the service that associates to the specific layer that I edited?&amp;nbsp; Is it necessary to stop all services in order for compression to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;The following tasks would be skipped on those layers if I haven't stopped those corresponding services, correct? When I was running them, I didn't get any success or error messages, so not sure if it's worked or partially worked at all.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/399949_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 16:31:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761145#M42761</guid>
      <dc:creator>EmilyL</dc:creator>
      <dc:date>2018-03-27T16:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761146#M42762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Blake.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 16:32:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/optimizing-geodatabase/m-p/761146#M42762</guid>
      <dc:creator>EmilyL</dc:creator>
      <dc:date>2018-03-27T16:32:13Z</dc:date>
    </item>
  </channel>
</rss>

