laptop and a wrench

Error

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

Última publicación: December 15, 2022 ArcGIS Pro
Número de ID del error BUG-000136457
EnviadoDecember 29, 2020
Última modificaciónOctober 7, 2024
Relacionado conArcGIS Pro
Versión encontrada2.6.3
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000136457

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga