The Updatecursor function runs slowly for hosted feature services in ArcGIS Pro.
上次发布: December 15, 2022ArcGIS Pro
漏洞 ID 编号
BUG-000136457
已提交
December 29, 2020
上次修改时间
October 7, 2024
适用范围
ArcGIS Pro
找到的版本
2.6.3
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
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.