<?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: Prune Branch History Not Working in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1638105#M97731</link>
    <description>&lt;P&gt;I'm trying to run this tool and running into a different issue. I'm unable to get an exclusive schema lock. I've shut off all the services that access the DB in question, and confirmed that there are no other connections or locks (at least as far as Pro can see). The tool fails with a schema lock error every time. This is a dev database that has basically no traffic except when I am testing against it. Anything else I should be looking at?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For additional context, I'm pruning the history of a non-spatial table that's related to a Utility Network feature class.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jul 2025 17:15:22 GMT</pubDate>
    <dc:creator>JCGuarneri</dc:creator>
    <dc:date>2025-07-31T17:15:22Z</dc:date>
    <item>
      <title>Prune Branch History Not Working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1629671#M97016</link>
      <description>&lt;P&gt;We are using a Trace Network which requires us to use branch versioning. One of our layers is updated each night with new information so the layer is growing very quickly, and we are beginning to see performance issues. We found that in the latest ArcGIS Pro release there is a new tool called Prune Branch History. When we run it, we get the following error. I cannot find any useful information online as to why this would be. We are using a branch version connection to the feature data set, we are disconnecting all users from the database before running.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-07-02 152836.png" style="width: 461px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135682iD8F8F92D85B8BA52/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-07-02 152836.png" alt="Screenshot 2025-07-02 152836.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here are a few more shots of our environment.&lt;/P&gt;&lt;P&gt;GDB version&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-07-02 152959.png" style="width: 412px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135683iBFF4F40556363F38/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-07-02 152959.png" alt="Screenshot 2025-07-02 152959.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS Pro version&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-07-02 153117.png" style="width: 281px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135684iB638BE4F49F1458C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-07-02 153117.png" alt="Screenshot 2025-07-02 153117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trace Network version&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-07-02 153040.png" style="width: 300px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135685iC0A2D7CB968F3841/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-07-02 153040.png" alt="Screenshot 2025-07-02 153040.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 22:53:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1629671#M97016</guid>
      <dc:creator>LRoberts_RDM</dc:creator>
      <dc:date>2025-07-02T22:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Prune Branch History Not Working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1629800#M97026</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/767671"&gt;@LRoberts_RDM&lt;/a&gt;&amp;nbsp;Yeah, as stated &lt;A href="https://pro.arcgis.com/en/pro-app/3.5/tool-reference/data-management/prune-branch-history.htm" target="_blank" rel="noopener"&gt;Prune Branch History&lt;/A&gt;&amp;nbsp;is new at Pro 3.5.&lt;/P&gt;&lt;P&gt;Looks like the error is specific to Water_TN - Check the layer properties &amp;gt; Manage. Is it branch versioned correctly?&lt;/P&gt;&lt;P&gt;Here are some tips:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The dataset must be registered as branch versioned.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The tool can only be run by the data owner.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;An exclusive schema lock is required to run the tool. Services referencing the input data will need to be stopped using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ArcGIS Server Manager&lt;/SPAN&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Conduct a test run—Use the tool with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Report Only&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;option enabled. This method will not prune any data; it simply provides a report in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Output Log File&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;result on the number of archived records that could be pruned.&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Log file review—After running the tool, review the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Output Log File&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;result created to see how many archive records are eligible for pruning. Monitor log files for any warnings or errors related to the pruning process and take appropriate action.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Timing of running the tool—To reduce system impact, it's best to run the tool during off-peak hours, on weekends, or at times when the feature service referencing the branch-versioned dataset can be stopped.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Reference:&amp;nbsp;&lt;A title="Prune branch history" href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/prune-branch-history.htm" target="_blank" rel="noopener"&gt;Prune branch history&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please share your findings with the community.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 11:36:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1629800#M97026</guid>
      <dc:creator>AyanPalit</dc:creator>
      <dc:date>2025-07-03T11:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Prune Branch History Not Working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1636245#M97526</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/767671"&gt;@LRoberts_RDM&lt;/a&gt;&amp;nbsp;-&amp;nbsp;The tool currently doesn’t support the Trace Network. We have plans to extend it to support Trace Network and Parcel Fabric datasets in a future release.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 00:57:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1636245#M97526</guid>
      <dc:creator>NanaDei</dc:creator>
      <dc:date>2025-07-25T00:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Prune Branch History Not Working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1638105#M97731</link>
      <description>&lt;P&gt;I'm trying to run this tool and running into a different issue. I'm unable to get an exclusive schema lock. I've shut off all the services that access the DB in question, and confirmed that there are no other connections or locks (at least as far as Pro can see). The tool fails with a schema lock error every time. This is a dev database that has basically no traffic except when I am testing against it. Anything else I should be looking at?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For additional context, I'm pruning the history of a non-spatial table that's related to a Utility Network feature class.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 17:15:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1638105#M97731</guid>
      <dc:creator>JCGuarneri</dc:creator>
      <dc:date>2025-07-31T17:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Prune Branch History Not Working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1638344#M97762</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/767671"&gt;@LRoberts_RDM&lt;/a&gt;&amp;nbsp;Quick follow-up, please post a screenshot of the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/3.5/tool-reference/data-management/prune-branch-history.htm" target="_blank" rel="noopener nofollow noreferrer"&gt;Prune Branch History&lt;/A&gt;&amp;nbsp;tool parameters.&lt;/P&gt;&lt;P&gt;Specifically,&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Only Prune System Tables&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;parameter. Do you see any difference checking/unchecking this option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AyanPalit_1-1754060178494.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/137669iE7B2AB614D7B9253/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AyanPalit_1-1754060178494.png" alt="AyanPalit_1-1754060178494.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 14:58:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1638344#M97762</guid>
      <dc:creator>AyanPalit</dc:creator>
      <dc:date>2025-08-01T14:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Prune Branch History Not Working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1648240#M98751</link>
      <description>&lt;P&gt;What about Utility Networks? Same situation?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 14:36:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1648240#M98751</guid>
      <dc:creator>AmyRoust</dc:creator>
      <dc:date>2025-09-05T14:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Prune Branch History Not Working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1648336#M98763</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/82823"&gt;@AmyRoust&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;Utility Network dataset is supported. Give it a try following the pre-requisites posted in links above. Please share back your experience.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 19:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1648336#M98763</guid>
      <dc:creator>AyanPalit</dc:creator>
      <dc:date>2025-09-05T19:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Prune Branch History Not Working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1648749#M98782</link>
      <description>&lt;P&gt;I ended up unregistering the entire dataset, which cleared out the entire history. The tool seemed to work fine, but unregistering really got things moving fast again. I re-registered as branch versioned and plan to incorporate that pruning tool in my workflows where I have Python scripts that batch update data.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 21:20:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1648749#M98782</guid>
      <dc:creator>AmyRoust</dc:creator>
      <dc:date>2025-09-08T21:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Prune Branch History Not Working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1656866#M99462</link>
      <description>&lt;P&gt;I'm trying to use this tool on a Utility Network layer that is versioned and branched, but I keep getting an error saying it's not versioned or branched. I'm using a direct SDE connection to the SQL Server database as the UN owner (or db admin - result is the same). What else should I do ?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 20:22:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1656866#M99462</guid>
      <dc:creator>nebojsa_pesic</dc:creator>
      <dc:date>2025-10-09T20:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Prune Branch History Not Working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1656877#M99465</link>
      <description>&lt;P&gt;Did you try using your editing service for the UN instead of a direct connect to the database? I believe the tool wants the service.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 20:53:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/prune-branch-history-not-working/m-p/1656877#M99465</guid>
      <dc:creator>AmyRoust</dc:creator>
      <dc:date>2025-10-09T20:53:35Z</dc:date>
    </item>
  </channel>
</rss>

