<?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: database compress hangs in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202949#M7948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We regularly to what we term the full compress to state 0 several times a year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;None of this answers the question of what happened during these 2 compresses, and what can be done to avoid / fix it so it does not recur in future.  Ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2018 17:01:06 GMT</pubDate>
    <dc:creator>MaryElliott</dc:creator>
    <dc:date>2018-11-14T17:01:06Z</dc:date>
    <item>
      <title>database compress hangs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202945#M7944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;For 2 days running, the daily versioned DB compress hangs.&amp;nbsp; Generally takes 3-5 minutes to complete.&amp;nbsp; Ideas on why this might be happening and how to fix / avoid?&amp;nbsp; TIA.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Mary&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 15:55:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202945#M7944</guid>
      <dc:creator>MaryElliott</dc:creator>
      <dc:date>2018-11-14T15:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: database compress hangs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202946#M7945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any locks on your geodatabase?&amp;nbsp; You may want to give this tool a try:&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>Wed, 14 Nov 2018 16:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202946#M7945</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2018-11-14T16:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: database compress hangs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202947#M7946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No,  no locks on the DB.  I always check just before beginning the compress.&lt;/P&gt;&lt;P&gt;Is there a benefit to using a tool rather than simply R-clicking on the DB and selection ‘Compress’?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 16:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202947#M7946</guid>
      <dc:creator>MaryElliott</dc:creator>
      <dc:date>2018-11-14T16:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: database compress hangs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202948#M7947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this tool will ensure there are no locks, no users connected, and no users can connect to the geodatabase when the compress is occurring.&amp;nbsp; It will also reconcile/post all versions to ensure that you are compressing to a state of 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 16:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202948#M7947</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2018-11-14T16:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: database compress hangs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202949#M7948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We regularly to what we term the full compress to state 0 several times a year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;None of this answers the question of what happened during these 2 compresses, and what can be done to avoid / fix it so it does not recur in future.  Ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 17:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202949#M7948</guid>
      <dc:creator>MaryElliott</dc:creator>
      <dc:date>2018-11-14T17:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: database compress hangs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202950#M7949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's tough to say why the tool is not compressing.&amp;nbsp; When did you perform the compress, during business hours? I would not recommend this unless you are making sure there are no services accessing any feature class within the geodatabase, and you have taken the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/gdbs-in-sql-server/prevent-connections.htm"&gt;steps &lt;/A&gt;to prevent users from connecting to the geodatabase.&amp;nbsp; Users connecting to the geodatabase during a compress &lt;EM&gt;&lt;STRONG&gt;should&lt;/STRONG&gt;&lt;/EM&gt; not prevent the compress from completing, but it will not compress any feature classes that the user has a lock on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't already, I would create a workflow for your compress (i.e. schedule a time no users are accessing the database, synchronize any replicas, reconcile/post versions,&amp;nbsp;stop all ArcGIS Server services accessing data within the geodatabas,e prevent users from connecting, rebuild indexes and stats after compress, start up services, allow connections).&amp;nbsp; The tool I provided does most of this workflow for you.&amp;nbsp; I would not recommend just right-clicking on the geodatabase &amp;gt; Compress at any given time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 17:12:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202950#M7949</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2018-11-14T17:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: database compress hangs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202951#M7950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My schedule includes this “before work” time, so I can get this done prior to anyone needing to connect, or even being in the office.  And, as always, I check for locks.  Anyone who might have left a connection has their connection disconnected.  Then I recheck for locks to ensure they are “gone”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The staff knows to not connect to any database until I give them the OK, simply because sometimes things take longer than expected.  Once a week I also run the repair indices, which takes additional time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After these hung sessions, I rechecked for connections, but there were none.  We’ve been doing this since 2007, so we are all quite aware of the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomorrow I will use the tool you suggested.  Do you know if it takes an appreciably longer time to complete than the R-click on Admin method?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 17:22:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202951#M7950</guid>
      <dc:creator>MaryElliott</dc:creator>
      <dc:date>2018-11-14T17:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: database compress hangs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202952#M7951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The execution of the tool will take a little longer than a regular compress as it will stop/start services, as well as perform a reconcile/post of all the versions.&amp;nbsp; One thing to check is the sde.sde_process_information (for SQL Server) or sde.prcoess_information (for Oracle) tables once all users are disconnected and services stopped.&amp;nbsp; If there are any entries within this table, you have an orphaned connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 17:34:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202952#M7951</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2018-11-14T17:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: database compress hangs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202953#M7952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see there are no options to running this too, Jake.  We already reconcile &amp;amp; post (R&amp;amp;P) all the versions before the compress, so that is redundant.  There are no services connected to this DB, so that’s unnecessary, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if it is safer, more complete, more certain, whatever the term might be that applies, I’ll give it a whirl in the morning.  Will let you know how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for suggesting the tool, rather than the shortcut, method.  Fingers crossed!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2018 17:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/202953#M7952</guid>
      <dc:creator>MaryElliott</dc:creator>
      <dc:date>2018-11-14T17:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: database compress hangs</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/1354010#M37779</link>
      <description>&lt;P&gt;How was this resolved? I had to stop compression after taking 10 hours.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 13:02:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-compress-hangs/m-p/1354010#M37779</guid>
      <dc:creator>MeghanBlair</dc:creator>
      <dc:date>2023-11-28T13:02:08Z</dc:date>
    </item>
  </channel>
</rss>

