Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Gathering Table Statistics in Oracle 11gR2

3286641Oct 3 2016 — edited Oct 3 2016

Hello All,

I want to gather all table statistics in the database. I found that in Oracle 11g, stats are automatically collected, which we can see from "DBA_AUTOTASK_CLIENT" and we can view the table statistics from "dba_tab_statistics". Is this sufficient for table statistics or the statistics are auto collected only when  the statistics are found to be stale for an object or if any DDL command used against the object.

Do we need to separately create jobs with DBMS_STATS package for collecting statistics?? I am confused. Please help.

I am new to these, so please advise.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 31 2016
Added on Oct 3 2016
10 comments
328 views