The spatial index should be created automatically when you import data into the feature class and it is maintained by the GIS.
If you need to rebuild it.
You may need to unregister as versioned first. You also need to do it when nobody else is on the system. It is a very resource intensive process. Your best bet may be to export the feature classes to a filegeodatabase and allow it to be built automatically. Then import them back into your database
Hi, thanks for reply.
Problem is that I could not unregister as versioned, because we have lots of versions. I need recreate spatail index just after recalculate of extent. But maybe running rebuild index tool will be enough.