<?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: Fully compressing an enterprise geodatabase in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/fully-compressing-an-enterprise-geodatabase/m-p/78935#M4579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Leo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does you geodatabase contain any replicas?&amp;nbsp; If it does, be sure to synchronize all of them before performing the compress.&amp;nbsp; You can also query the sde.sde_versions table to see if there any orphaned entries from a previous replica.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2012 17:51:09 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2012-11-09T17:51:09Z</dc:date>
    <item>
      <title>Fully compressing an enterprise geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/fully-compressing-an-enterprise-geodatabase/m-p/78934#M4578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/002q/002q00000056000000.htm"&gt;http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/002q/002q00000056000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After following these steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;reconcile/post versions to their parents&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delete versions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no one is connected sdemon -o info -I users returns no users connected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;perform the compress&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the compress log shows an end_state_count of 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the versions table shows a state_id of 285 for the default version&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;shouldn't the state_id for the default version be closer to zero?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the adds table for one of the versioned featureclasse never empties.&amp;nbsp; It has 2 records.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcCatalog 10.0 sp5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE 10.0 sp5 64bit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL Server 2008 R2 64bit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 14:22:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/fully-compressing-an-enterprise-geodatabase/m-p/78934#M4578</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2012-11-06T14:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fully compressing an enterprise geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/fully-compressing-an-enterprise-geodatabase/m-p/78935#M4579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Leo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does you geodatabase contain any replicas?&amp;nbsp; If it does, be sure to synchronize all of them before performing the compress.&amp;nbsp; You can also query the sde.sde_versions table to see if there any orphaned entries from a previous replica.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 17:51:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/fully-compressing-an-enterprise-geodatabase/m-p/78935#M4579</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-11-09T17:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Fully compressing an enterprise geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/fully-compressing-an-enterprise-geodatabase/m-p/78936#M4580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jake,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I have several replicas.&amp;nbsp; And yes, in the sde.sde_versions table there are many records that have "sync_send" values.&amp;nbsp; Are you saying these are orphaned records and I can delete them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the correct way to perform versioned geodatabase management?&amp;nbsp; I've heard at least a couple variations on this topic over the years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it this?:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/0027/002700000018000000.htm"&gt;Reconcile&lt;/A&gt; and &lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/GUID-63222395-BC7E-4A25-B668-17B44EA9C0E6"&gt;post&lt;/A&gt; all outstanding changes in child versions to the DEFAULT version.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Synchronize changes in all replicas.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Delete the versions themselves.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Make sure no user is connected.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Perform the compress operation.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;Second question, now that I'm thinking about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the past I've scripted this to include update database stats (Analyze) before and after a compress, but if Auto Create Statistics are set to TRUE in SQL Server, do I still need to Analyze my feature classes?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 20:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/fully-compressing-an-enterprise-geodatabase/m-p/78936#M4580</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2012-11-09T20:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fully compressing an enterprise geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/fully-compressing-an-enterprise-geodatabase/m-p/78937#M4581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, you will not want to delete any records in the sde.sde_versions table.&amp;nbsp; If you did not have any replicas within your database, and there were rows in this table, they would be orphaned.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the steps you listed will compress your database to a state of 0.&amp;nbsp; As for analyzing your database, I would still recommend performing this step even with AUTO CREATE and AUTO UPDATE Statistics enabled.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 09:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/fully-compressing-an-enterprise-geodatabase/m-p/78937#M4581</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-11-12T09:39:07Z</dc:date>
    </item>
  </channel>
</rss>

