laptop and a wrench

Bug

The Updatecursor function runs slowly for hosted feature services in ArcGIS Pro.

Last Published: December 15, 2022 ArcGIS Pro
Bug ID Number BUG-000136457
SubmittedDecember 29, 2020
Last ModifiedOctober 7, 2024
Applies toArcGIS Pro
Version found2.6.3
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

It is slow because the cursor requires pulling each record from the service, modify it, then send the record back to the service. The recommended way to update records is to use the CalculateField function with the expression_type set to 'SQL'. This means the updating of the records happens within the server side (the SQL is applied in the database) which will be significantly faster.

Steps to Reproduce

Bug ID: BUG-000136457

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options