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!

Create new gather statistics job

NuGlamSMSNov 17 2015 — edited Nov 17 2015

Hello,

DB: 10.2.0.5

OS: HPUX

We have realized the performance for a schema is better with gathering statistics with sample size 100% and I would like to schedule it.

I know there is a automatic job in the maintenance window, but the sample size is auto, and I don't want either the change the sample size for all the database.

So I think the only way is to schedule a new gather statistics for this schema with sample size 100%

What is the best way to do it?

- If I create a job it will gather statistics every day even it's not necessary and the statistics are still valid

- Can I create a new scheduler job using the maintenance window, or a new one, and just gather when need it?

Thank you.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2015
Added on Nov 17 2015
7 comments
563 views