AnsweredAssumed Answered

When automating Enterprise GeoDB  / SDE maintenance tasks, what are considerations regarding connected users?

Question asked by Gratefuljamhead on Oct 16, 2017
Latest reply on Oct 21, 2017 by dlaw-esristaff

I have been tasked with scripting maintenance tasks for enterprise GeoDBs / SDE. This included compression, statistics, and index rebuilds. Need I be concerned about connected users when performing these operations? There is little risk of users actually being on the Esri environment at the time of execution, as these will mostly run after hours. If a user is in an edit session / inserting, would this cause exceptions in the script or corrupt data? I know there is scripting support for checking connected users and disconnecting them, I just don't know if this is mandatory.