<?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: How can I prune a Branch Versioned featureclass? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860994#M5703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be fair, Git has a hard time with this too.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://help.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository" title="https://help.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository"&gt;Removing sensitive data from a repository - GitHub Help&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2019 16:00:11 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-10-23T16:00:11Z</dc:date>
    <item>
      <title>How can I prune a Branch Versioned featureclass?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860988#M5697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: I've posted an idea here:&amp;nbsp;&lt;A href="https://community.esri.com/ideas/17459" target="_blank"&gt;https://community.esri.com/ideas/17459&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please upvote if you'd like this too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;------------------------&lt;/P&gt;&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a branch versioned featureclass that has accumulated a good bit of history - there are multiple features with the same ObjectID. (GDB_Archive_ID is unique.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;How can I delete all but the most recent features, i.e., the ones having a maximum GDB_FROM_DATE for each unique ObjectID?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Update: &lt;/STRONG&gt;&lt;A href="https://sspinnovations.com/blog/versioning-dummies-pt-5-branch-versioning-utility-network/" rel="nofollow noopener noreferrer" target="_blank"&gt;this blog&lt;/A&gt;&amp;nbsp;from 2 years ago says :&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #5c6970; background-color: #ffffff;"&gt;Esri noted they are considering a prune task for a future release that would reduce the record counts in the base tables by combining older posted edits.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing so, I would expect there to be no repeating ObjectIDs.&amp;nbsp; Currently all features have GDB_BRANCH_ID = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was &lt;SPAN style="text-decoration: line-through;"&gt;expecting&lt;/SPAN&gt;&amp;nbsp;hoping to be able to do this with the &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/compress.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Compress tool&lt;/A&gt; would do this. But it says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;This tool is not applicable for enterprise geodatabases that use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/data-management-strategies.htm#ESRI_SECTION1_6FA2CFB5F9484FF096740D653C674B5D" style="color: #0074b8; background-color: #ffffff; text-decoration: none;" rel="nofollow noopener noreferrer" target="_blank"&gt;branch versioning&lt;/A&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp; Besides, I'd really like a tool that &lt;SPAN style="text-decoration: line-through;"&gt;compresses&lt;/SPAN&gt;&amp;nbsp;prunes just the feature class (or table) and not the entire geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would I break anything if a ran an SQL script that deleted all but the most recent rows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Kirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:50:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860988#M5697</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-06-22T08:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compress a Branch Versioned featureclass?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860989#M5698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The compress tool was only designed for this: by&amp;nbsp;removing states not referenced by a version and redundant rows, within the delta tables, not the base table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand it with branch versioning was developed to have all the edits in the single table to allow different functionality than traditional versioning;&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/data-management-strategies.htm#ESRI_SECTION1_6FA2CFB5F9484FF096740D653C674B5D" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/data-management-strategies.htm#ESRI_SECTION1_6FA2CFB5F9484FF096740D653C674B5D"&gt;Enterprise data management strategies—Geodatabases | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;, mainly WebGIS capability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few benefits:&lt;/P&gt;&lt;UL style="color: #4c4c4c; background-color: #ffffff; font-size: 0.9375rem; margin-left: 0.775rem; margin-bottom: 1.55rem;"&gt;&lt;LI style="margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Enhanced editor tracking capabilities allow you to also track users who delete features within a version.&lt;/LI&gt;&lt;LI style="margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;Unlike traditional versioning, the compress operation is not required for geodatabases with branch versioned datasets.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Why do you want to get rid of the "old" records in the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you having performance issues with the data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With branch versioning there are less queries being used to "display" the correct data than with traditional versioning.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 22:12:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860989#M5698</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2019-10-21T22:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can I compress a Branch Versioned featureclass?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860990#M5699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently we're just evaluating Branch Versioning.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a scenario: Say there's an organization that has policies prohibiting personal data in the geodatabase.&amp;nbsp; Suppose, by accident, a social security number makes its way into the Customers table.&amp;nbsp; The Manager tells the GIS admin "delete that immediately!"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the geodatabase is branch versioned, how would the GIS Admin delete the row, or even just update the column in the "old" row?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Kirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2019 16:27:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860990#M5699</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-22T16:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I prune a Branch Versioned featureclass?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860991#M5700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is a good question, I would think that we may need to get some sort of enhancement logged for this type of functionality. I can see a need for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what the best way to do this now, I know that you could update the row manually in the RDBMS, but there may be other implications that I am not aware of.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 15:36:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860991#M5700</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2019-10-23T15:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I prune a Branch Versioned featureclass?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860992#M5701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried stopping all services on the feature class and unregistering it as versioned and moving all to the base. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 15:39:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860992#M5701</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2019-10-23T15:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I prune a Branch Versioned featureclass?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860993#M5702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks George.&amp;nbsp; As suggested, I filed here:&amp;nbsp;&lt;A href="https://community.esri.com/ideas/17459" target="_blank"&gt;https://community.esri.com/ideas/17459&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:50:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860993#M5702</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-06-22T08:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I prune a Branch Versioned featureclass?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860994#M5703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be fair, Git has a hard time with this too.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://help.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository" title="https://help.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository"&gt;Removing sensitive data from a repository - GitHub Help&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 16:00:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/860994#M5703</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-23T16:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I prune a Branch Versioned featureclass?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/1154742#M7599</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;3 years later &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; We are now using branch versioning along with the utility network model and we are experiencing performance problems.&lt;/P&gt;&lt;P&gt;The "Unregister as Versioned" process part of an upgrade of the utillity network model, cleaned out the 2 million rows in the dirty areas featureclass. And performance was much better. But scripts and daily use has created 200.000+ records in the dirty areas featueclass in a short time and we would like to prune the old records from the table in the DB. There is no need to store the history of dirty areas, but we would like to keep the history of all other edits in the utillity network.&lt;/P&gt;&lt;P&gt;So can we clean/reset just the one featureclass? Perhaps using SQL while we wait for a tool?&lt;/P&gt;&lt;P&gt;I checked the above mentioned idea but it is not implemented yet?&lt;/P&gt;&lt;P&gt;Thanks, Tim&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 13:23:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-can-i-prune-a-branch-versioned-featureclass/m-p/1154742#M7599</guid>
      <dc:creator>TimStærkFendrich</dc:creator>
      <dc:date>2022-03-17T13:23:40Z</dc:date>
    </item>
  </channel>
</rss>

