laptop and a wrench

Bug

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

Zuletzt veröffentlicht: December 15, 2022 ArcGIS Pro
Bug-ID-Nummer BUG-000136457
EingereichtDecember 29, 2020
Zuletzt geändertOctober 7, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.6.3
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusAs Designed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000136457

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln