We had a report performance issue. We ran 'dbms_stats.gather_database_stats' but it did not improve any performance (still took >1 hr). Then we ran 'analyze table compute statistics' and fixed the problem (took 1 min). Can someone explain why the results are so different? Was 'analyze' command already replaced by 'dbms_stats' since 10g? We are on 12c.