<?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: delete_features() maximum limits? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/delete-features-maximum-limits/m-p/1238796#M8121</link>
    <description>&lt;P&gt;Just from my own observations by looking at result counts from querying the service pre/post delete, it's pretty obvious that there's a 500,000 maximum limit on the number of features the delete request processes with Future=True argument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not confirmed this with ESRI or found info in the documentation tho, just my quick/simple checks.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 16:42:55 GMT</pubDate>
    <dc:creator>JamesCrandall</dc:creator>
    <dc:date>2022-12-07T16:42:55Z</dc:date>
    <item>
      <title>delete_features() maximum limits?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/delete-features-maximum-limits/m-p/1238326#M8113</link>
      <description>&lt;P&gt;I have a hosted Notebook running on our AOGL org that performs a data sunset/delete on hosted services after a specified number of days using a where statement in the&amp;nbsp;delete_features() as well as Future=True.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In most cases this works, but in some instances, it seems to stop the deletion process after submitting the request.&amp;nbsp; Recent execution attempted to delete 1.5 million features from a hosted service but only about 550,000 features are deleted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked this by determining the initial count of features to delete then navigating to the service query task endpoint and running the same where filter to get a feature count.&amp;nbsp; As it stands (about 1 hour later):&lt;/P&gt;&lt;P&gt;Initial count: 1.5 million features&lt;/P&gt;&lt;P&gt;Current count: 950,500 features&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some kind of limit I am running into here?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 16:09:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/delete-features-maximum-limits/m-p/1238326#M8113</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2022-12-06T16:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: delete_features() maximum limits?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/delete-features-maximum-limits/m-p/1238796#M8121</link>
      <description>&lt;P&gt;Just from my own observations by looking at result counts from querying the service pre/post delete, it's pretty obvious that there's a 500,000 maximum limit on the number of features the delete request processes with Future=True argument.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not confirmed this with ESRI or found info in the documentation tho, just my quick/simple checks.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 16:42:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/delete-features-maximum-limits/m-p/1238796#M8121</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2022-12-07T16:42:55Z</dc:date>
    </item>
  </channel>
</rss>

