Hi Vamshi,
So here is the thing .
1. For ODS and other tables your basis team does it via BRCONNECT and BRTOOLS.
2. If you want to get innovative look at this class:
CL_SDB_ORA_UPDATE_STATS . That is for Oracle. Go up the package and see what is your DB.
This basically uses the DBMS STATS package of oracle.
Good luck.
Cheers