Like others in this thread, we have been having some issues updating our SDE feature classes when they are used by ArcGIS Server Map Service. I just tried adding the schemalockenabled tag set to false on a map service on ArcGIS Server 9.3.1 SP1 and was not able to update the feature class as it returned a lock on the feature class. We have been using the 'sledge hammer' approach of stopping all ArcGIS Map Services while loading data, but it would be nice to not have to stop these services.I am wrong in believing that this functionality was added in SP1? We also break connections to our ArcSDE databases using SDEMON -o kill, but this does not work against the ArcGIS Map Services so we have to stop them.I am curious as to how others are dealing with these locking issues so let me know if anyone in this thread has made some progress in dealing with this.Thanks,Mele
I think you can avoid all these issues by deleting and appending features instead of overwriting a whole feature class.If you run a tool that replaces a feature class, then you're actually deleting a feature class and creating a new one. In other words, you're changing the database schema, even though the schema ends up looking just like what you started with (same feature class and fields).An alternative is to keep the existing feature class, delete the features from it, and append new features into it. This way, you don't need a schema lock, even though the end result is the same as the other method.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.