<?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: Updating large hosted feature and table layers in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1720018#M69477</link>
    <description>&lt;P&gt;I feel your pain.I am trying to do much smaller (~10k) updates and frequently run into the same problem.&lt;/P&gt;&lt;P&gt;Have you:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Called esri support&lt;/LI&gt;&lt;LI&gt;Set up a distributed collaboration between Enterprise and AGOL to allow pushing data at the local resource then letting the sync task occur organically -&amp;nbsp;&lt;A href="https://doc.esri.com/en/arcgis-enterprise/latest/administer/set-up-an-arcgis-enterprise-and-arcgis-online-collaboration.html?pivots=os-windows" target="_self"&gt;https://doc.esri.com/en/arcgis-enterprise/latest/administer/set-up-an-arcgis-enterprise-and-arcgis-online-collaboration.html?pivots=os-windows&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Dropped down to smaller chunk sizes&lt;/LI&gt;&lt;LI&gt;Tried running at different times to isolate internet traffic issues/far end server loads&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Just some food for thought&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
    <pubDate>Wed, 12 Aug 2026 13:51:22 GMT</pubDate>
    <dc:creator>ThomasHoman</dc:creator>
    <dc:date>2026-08-12T13:51:22Z</dc:date>
    <item>
      <title>Updating large hosted feature and table layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1719994#M69476</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I am currently trying to find a way to update a hosted feature table that has 1.7M records (20 table fields) and a hosted feature layer (Points) that has just over 500k records in AGOL.&amp;nbsp; The two layers are being used in an ExB and need to be updated weekly.&amp;nbsp; I am trying to use the Truncate and Append REST services to assist in this and have tried both Python and FME to run the updates.&lt;/P&gt;&lt;P&gt;The Truncate works perfectly and the only issue that I have is with the Append.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the FME process I use the HTTPCaller to call the two REST services after I upload a zipped FGDB to AGOL.&amp;nbsp; This works to a point but I usually get just a partial update most likely due to the gateway timeout.&amp;nbsp; When it works, it takes about 20 minutes.&lt;/P&gt;&lt;P&gt;For the Python process I break the FGDB up into 50K record chunks, upload it, append it and then call the next chunk.&amp;nbsp; The results for my 1.7M record table are all over the place.&amp;nbsp; Sometimes I get zero records updated, sometimes I get to the 7th chunk (out of ~36) and sometimes I get to the point where it only has 4000 records left.&amp;nbsp; It makes no sense.&amp;nbsp; The entire Python process has only worked once out of about 20 tries and the FME process worked once out of about 10 tries.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have ArcGIS Enterprise and the entire process takes about 1h20m hour to run using a normal truncate and append in FME using a feature writer.&amp;nbsp; We use Enterprise for internal use.&lt;/P&gt;&lt;P&gt;I've attached my Python as it does work, but I am trying to find a way to automate and efficiently update my data weekly without running into what I assume is the gateway timeout.&amp;nbsp; I also attached a screenshot of the processing where I can tell that it hits the timeout.&lt;/P&gt;&lt;P&gt;Thank you for any help that you can give,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 12:40:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1719994#M69476</guid>
      <dc:creator>PeterHearns_Canada</dc:creator>
      <dc:date>2026-08-12T12:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Updating large hosted feature and table layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1720018#M69477</link>
      <description>&lt;P&gt;I feel your pain.I am trying to do much smaller (~10k) updates and frequently run into the same problem.&lt;/P&gt;&lt;P&gt;Have you:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Called esri support&lt;/LI&gt;&lt;LI&gt;Set up a distributed collaboration between Enterprise and AGOL to allow pushing data at the local resource then letting the sync task occur organically -&amp;nbsp;&lt;A href="https://doc.esri.com/en/arcgis-enterprise/latest/administer/set-up-an-arcgis-enterprise-and-arcgis-online-collaboration.html?pivots=os-windows" target="_self"&gt;https://doc.esri.com/en/arcgis-enterprise/latest/administer/set-up-an-arcgis-enterprise-and-arcgis-online-collaboration.html?pivots=os-windows&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Dropped down to smaller chunk sizes&lt;/LI&gt;&lt;LI&gt;Tried running at different times to isolate internet traffic issues/far end server loads&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Just some food for thought&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 13:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1720018#M69477</guid>
      <dc:creator>ThomasHoman</dc:creator>
      <dc:date>2026-08-12T13:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Updating large hosted feature and table layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1720020#M69478</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;I definitely appreciate the ideas.&lt;/P&gt;&lt;P&gt;I tried using 25k chunks and it worked... the first time ... and then failed on chunk 23 an hour later.&amp;nbsp; I'll be testing at various times throughout the day.&lt;/P&gt;&lt;P&gt;We've contacted out Esri rep and will be submitting to support shortly.&lt;/P&gt;&lt;P&gt;I was thinking about the distributed collab between our AGE and AGOL, but the end result is a public facing ExB and I am hesitant to making the data on the AGE side public... but I don't have experience with this, so maybe it is an option.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 14:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1720020#M69478</guid>
      <dc:creator>PeterHearns_Canada</dc:creator>
      <dc:date>2026-08-12T14:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Updating large hosted feature and table layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1720096#M69482</link>
      <description>&lt;P&gt;Do you actually need to do a full truncate and replace with each update? What are the data updates like? Are most or all of the 1.7M records regularly getting updated or is it just some records? Or is it mostly new records and not edits of existing records? Are records regularly deleted or is that an infrequent occurrence?&lt;/P&gt;&lt;P&gt;You can do comparisons between your new data and the hosted data and only update, append, delete the records needed. How that comparison happens could depend a lot on the nature of change and the format of data. Is there a unique id field? Is there an editor tracking or similar update timestamp field? If so, you could query the hosted data for just those 2 fields (or whatever fields you want to do the comparison on if there isn't an update timestamp field). Then compare them against your new data to identify adds, updates, deletes and only make those changes to the hosted layers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The benefit of a comparison and upsert + delete route depends a lot on the expected quantity of record changes each week. If 1.5 million records are changing each week, it may not help much. But if its only 10 thousand or 50 thousand, that significantly cuts down what you actually need to upload.&lt;/P&gt;&lt;P&gt;For what it's worth, after a lot of trial and error and tweaks, I've had a script running successfully daily to update a hosted feature layer using ArcGIS Python API layer.edit_features() sent in batches of 200 records. It's been a few years since I have tested higher batch counts so that might be unnecessarily low.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 15:56:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1720096#M69482</guid>
      <dc:creator>JoshKalov</dc:creator>
      <dc:date>2026-08-12T15:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Updating large hosted feature and table layers</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1720317#M69488</link>
      <description>&lt;P&gt;I wish that I could do this, but the data is fully re-uploaded once a month by many partners.&amp;nbsp; Unique IDs are not included even though it would be a possibility, but would have to be managed by the 100s of individual partners. I'll be looking into this, but not much hope for it.&lt;/P&gt;&lt;P&gt;I tried 25k down to 10K chunks yesterday and it failed all day long.&amp;nbsp; At that point it takes almost as much time as the native FME FeatureWriter and the FeatureWriter is definitely reliable and takes just under 2 hours to do a full 1.7M record refresh. 2 hours plus my sanity is worth it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm guessing that my only other option is the Premium data store.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2026 11:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/updating-large-hosted-feature-and-table-layers/m-p/1720317#M69488</guid>
      <dc:creator>PeterHearns_Canada</dc:creator>
      <dc:date>2026-08-13T11:25:06Z</dc:date>
    </item>
  </channel>
</rss>

