<?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 Hung States After Compression in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/hung-states-after-compression/m-p/372599#M21196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Desktop: 9.3.1 sp1, 9.3.1 sp2 &amp;amp; 9.3.1&amp;nbsp; (we can't force some of our folks to upgrade to sp2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Database: SQL sde 9.3 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Enterprise License&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We run a bi-weekly maintenance routine where our distributed editors all reconcile and post, their versions are deleted, and the database is compressed. The last time we ran this process, we noticed a series of hung states in the database. We were unable to achieve a full compression to state 0. What stood out as odd, after having talked to our editors, is that the hung state times all coincide with a reconcile/post event. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached are screesnhots of the versioning lineage and the sde_states table post compression. The red highlighted state is my reconcile/post even just prior to compression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help with why these states are hanging, how can we fix them, and how do we prevent them from occurring?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shaun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2011 12:02:26 GMT</pubDate>
    <dc:creator>ShaunConway</dc:creator>
    <dc:date>2011-08-12T12:02:26Z</dc:date>
    <item>
      <title>Hung States After Compression</title>
      <link>https://community.esri.com/t5/data-management-questions/hung-states-after-compression/m-p/372599#M21196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Desktop: 9.3.1 sp1, 9.3.1 sp2 &amp;amp; 9.3.1&amp;nbsp; (we can't force some of our folks to upgrade to sp2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Database: SQL sde 9.3 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Enterprise License&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We run a bi-weekly maintenance routine where our distributed editors all reconcile and post, their versions are deleted, and the database is compressed. The last time we ran this process, we noticed a series of hung states in the database. We were unable to achieve a full compression to state 0. What stood out as odd, after having talked to our editors, is that the hung state times all coincide with a reconcile/post event. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached are screesnhots of the versioning lineage and the sde_states table post compression. The red highlighted state is my reconcile/post even just prior to compression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help with why these states are hanging, how can we fix them, and how do we prevent them from occurring?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shaun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 12:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/hung-states-after-compression/m-p/372599#M21196</guid>
      <dc:creator>ShaunConway</dc:creator>
      <dc:date>2011-08-12T12:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hung States After Compression</title>
      <link>https://community.esri.com/t5/data-management-questions/hung-states-after-compression/m-p/372600#M21197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Shaun,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe the problem was due to the fact that there were unreleased state locks during your compress process. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can check these two tables before running the comrpess again, and make sure there are no activity connections which would hold the states.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sde.sde_process_information&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sde.sde_state_locks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you confirm that there are no any locks and connections, you can run a compress using SDE command like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sdeversion -o compress -i sde:sqlserver:instance -D database -u sde -p password&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 22:20:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/hung-states-after-compression/m-p/372600#M21197</guid>
      <dc:creator>BenLin</dc:creator>
      <dc:date>2011-08-22T22:20:38Z</dc:date>
    </item>
  </channel>
</rss>

