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!

Enable Dynamic Sampling

user585870Feb 15 2015 — edited Feb 16 2015

Hi,

I have a GTT table in which data is volatile in nature. Response time of queries always varies. so I decided to implement Dynamic sampling on GTT.

Concern: currently I am not allowed to make any changes in the program, like passing the hint or setting the dynamic sampling in the session level.

so if delete the existing stats and lock stats for said GTT, will it use dynamic sampling as per the DB level "OPTIMIZER_DYNAMIC_SAMPLING"  when next time the query runs over this table ?

Thanks in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 16 2015
Added on Feb 15 2015
4 comments
1,085 views