Hello,
I'm using ArcGIS Pro 3.0.1 and I have a geoprocessing tool that creates some polyline features and appends them to a feature class that is stored in a SQL Server SDE database.
There are a large number of features already in the feature class, and I only append a small number of new features each time the tool is run. However, I'm noticing that the Append operation is taking a very long time to complete (a minute or more). It seems to be rebuilding the spatial index for the entire feature class each time the append is executed, which I don't want it to do. The problem is this tool is run frequently, and we can't afford the long wait time or performance hit while it rebuilds the spatial index.
In ArcMap this could be resolved by setting the Maintain Spatial Index environment setting on the Append tool to true/checked. And although that environment setting also exists in ArcGIS Pro (at a global level, not for the individual Append tool) it does not appear to be respecting it.
I found the following page saying that ArcGIS Pro doesn't honor this setting. I'm wondering, why?
Maintain Spatial Index (Environment setting)—ArcGIS Pro | Documentation
Is there another way I can prevent the Append tool from causing the spatial index to be rebuilt?
Thank you,
David