laptop and a wrench

Bogue

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

Dernière publication: December 15, 2022 ArcGIS Pro
Numéro d’ID de bogue BUG-000136457
EnvoiDecember 29, 2020
Dernière modificationOctober 7, 2024
S’applique àArcGIS Pro
Version trouvée2.6.3
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

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.

Étapes pour reproduire

ID de bogue: BUG-000136457

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement