How to know whether I use analyze or DBMS_STATS
Automatic statistics gathering should be sufficient for most of the cases. And automatic statistics gathering is done by default during an overnight batch window. In order to know more about automatic statistics gathering just have a look at Analyze and collecting Statistics on Tables Schemas Database Index and About STATISTICS_LEVEL parameter in OracleIn most cases automatic statistics gather is sufficient but still you may need to gather manually statistics if you do huge insert or update or delete on the table. You might know we can gather statistics by two ways.
Details in http://arjudba.blogspot.com/2008/10/how-to-know-whether-i-use-analyze-or.html