<?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 SDE Management - Workflow in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317702#M12145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am fairly new to SDE management and am looking for advice. We will be using Cityworks/Collector to have multiple departments edit GIS data. As a result, I have created a python script to automate the following steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Disconnect users/ Block Connections&lt;/P&gt;&lt;P&gt;2. Reconcile/ Post/ Delete Versions&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;SPAN&gt;Compress&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4. Clear Workspace Cache&lt;/P&gt;&lt;P&gt;5.&amp;nbsp;Recreate Versions&lt;/P&gt;&lt;P&gt;6. Accept Connections&lt;/P&gt;&lt;P&gt;7. Rebuild Indexes&lt;/P&gt;&lt;P&gt;8. Analyze Datasets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, I welcome any critique on this workflow. -&amp;nbsp; I intend to run this after hours on a weekly basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, I am running into the issue where I am&amp;nbsp;required to (re)register my database prior to republishing any MXDs due to&amp;nbsp;recreating versions - but they all have the same name and permissions so I&amp;nbsp;am at a loss.&lt;/P&gt;&lt;P&gt;We have two database connections and four versions:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/420239_pastedImage_1.png" /&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What am I missing here? Thank&amp;nbsp;you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2018 13:05:13 GMT</pubDate>
    <dc:creator>KelseyQuinlan1</dc:creator>
    <dc:date>2018-08-21T13:05:13Z</dc:date>
    <item>
      <title>SDE Management - Workflow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317702#M12145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am fairly new to SDE management and am looking for advice. We will be using Cityworks/Collector to have multiple departments edit GIS data. As a result, I have created a python script to automate the following steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Disconnect users/ Block Connections&lt;/P&gt;&lt;P&gt;2. Reconcile/ Post/ Delete Versions&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;SPAN&gt;Compress&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;4. Clear Workspace Cache&lt;/P&gt;&lt;P&gt;5.&amp;nbsp;Recreate Versions&lt;/P&gt;&lt;P&gt;6. Accept Connections&lt;/P&gt;&lt;P&gt;7. Rebuild Indexes&lt;/P&gt;&lt;P&gt;8. Analyze Datasets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, I welcome any critique on this workflow. -&amp;nbsp; I intend to run this after hours on a weekly basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, I am running into the issue where I am&amp;nbsp;required to (re)register my database prior to republishing any MXDs due to&amp;nbsp;recreating versions - but they all have the same name and permissions so I&amp;nbsp;am at a loss.&lt;/P&gt;&lt;P&gt;We have two database connections and four versions:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/420239_pastedImage_1.png" /&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What am I missing here? Thank&amp;nbsp;you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 13:05:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317702#M12145</guid>
      <dc:creator>KelseyQuinlan1</dc:creator>
      <dc:date>2018-08-21T13:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Management - Workflow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317703#M12146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelsey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think you are missing anything really.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your geodatabase maintenance strategy looks good, I see no issues there. The only question I have is, why are you deleting the versions? Are you going for a full compress each time you run this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask because it goes into your second question. Having to re-register all of those child version connections with Server is expected. See this note below that we include on our page on the topic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8;"&gt;"If the database you register contains a versioned geodatabase,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #f8f8f8;"&gt;ArcGIS Server&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;accesses the version of that data present in the geodatabase version you set for the connection file. If you want&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #f8f8f8;"&gt;ArcGIS Server&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to access different versions, you must register separate connection files to connect to these geodatabase versions. For example, you may need to register one connection file that accesses the Default geodatabase version and one that accesses a child version."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8f8f8; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://enterprise.arcgis.com/en/server/latest/publish-services/windows/overview-register-data-with-arcgis-server.htm" title="http://enterprise.arcgis.com/en/server/latest/publish-services/windows/overview-register-data-with-arcgis-server.htm"&gt;About registering your data with ArcGIS Server—Documentation | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So given that, it seems like deleting the versions each time may not be the best way to proceed. There is a way to get a full compress done without deleting the versions if that is the goal. But getting a full compress done each time you do this is also not necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Reconcile and post all child versions to Default&lt;/LI&gt;&lt;LI&gt;Re-reconcile all child versions to Default (without posting)&lt;/LI&gt;&lt;LI&gt;Save edits&lt;/LI&gt;&lt;LI&gt;Compress&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing the above will also get you a full compress if that is the desire and also not delete those versions which means you won't need to re-register databases with Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 21:28:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317703#M12146</guid>
      <dc:creator>JonathanFarmer_oldaccount</dc:creator>
      <dc:date>2018-08-21T21:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Management - Workflow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317704#M12147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate the response. I was under the impression that deleting the versions was a method of getting a full compress. Usually I am left with an End State Count ranging from 3-10 .&amp;nbsp;I followed the process suggested:&lt;/P&gt;&lt;OL style="background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Reconcile and post all child versions to Default&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Re-reconcile all child versions to Default (without posting)&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Save edits&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;Compress&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;And I still have an End State Count of 6. &lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;But if getting a full compress each time is not necessary, then it sounds like I don't have to worry. I'm still learning the best practices of managing an SDE.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thank you again,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Kelsey&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 12:38:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317704#M12147</guid>
      <dc:creator>KelseyQuinlan1</dc:creator>
      <dc:date>2018-08-22T12:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Management - Workflow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317705#M12148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelsey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct, deleting the versions is one method of getting a full compress done. The method I laid out is the other way. If you still have states being referenced after going through this workflow, we'd need to dig deeper into why that is. That may be better handled with a case with Tech Support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full compresses are necessary when you need to unregister a feature class as versioned or maybe you are seeing some performance issues and you want to make sure all your delta tables are empty to rule out something there. There could be a few reasons why you'd want to do it. But there are organizations out there that never get a full compress done because it just isn't possible for them. And that's OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I can answer anything else for you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 13:54:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317705#M12148</guid>
      <dc:creator>JonathanFarmer_oldaccount</dc:creator>
      <dc:date>2018-08-22T13:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Management - Workflow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317706#M12149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have an ArcGIS Server service running that is hitting SDE data wouldn't that prevent your suggested workflow from compressing SDE to state 0, as the mapservice would be holding onto a state?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 14:30:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317706#M12149</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-08-22T14:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Management - Workflow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317707#M12150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it would. So that is certainly a possibility here and something to take a look at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 14:43:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317707#M12150</guid>
      <dc:creator>JonathanFarmer_oldaccount</dc:creator>
      <dc:date>2018-08-22T14:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Management - Workflow</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317708#M12151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the original poster would need to include in his workflow stopping all AGS services hitting SDE at the beginning and then star&lt;SPAN&gt;ting all AGS services hitting SDE at the end.&amp;nbsp; Hopefully, there are no apps hitting these services that would be needed during this maintenance window especially if the workflow takes a decent amount of time to be completed.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 14:48:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/sde-management-workflow/m-p/317708#M12151</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-08-22T14:48:10Z</dc:date>
    </item>
  </channel>
</rss>

