AnsweredAssumed Answered

Need the code or model to auto compress SDE database, rebuild indexes, analyze datasets & reboot once completed

Question asked by gwynnsh on Mar 11, 2015
Latest reply on Mar 11, 2015 by George_Thompson-esristaff


Hello,

 

I'm using ArcGIS 10.1 & I'm trying to figure out the code or model to auto compress SDE database, rebuild indexes, analyze datasets & reboot once completed. Here's a breakdown:

 

Compress:
MGSC Prod gis.sde (Wait for process to complete)

 

Rebuild
Indexes: MGSC Prod gis.sde (Wait for process to complete)

 

Analyze
Datasets: MGSC Prod gis.sde (Wait for process to complete)

 

Reboot :PMOBGIS06 (Wait 5 Minutes)

 

Reboot :PMOBGIS05

(Process complete)

 

 

Thanks for you help

 

Hunter

Outcomes