Skip to Main Content

SQL & PL/SQL

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!

dynamic sampling and bind variables

637538Jul 12 2009 — edited Jul 16 2009
Hi,

is dynamic_sampling used with bind variable ? why it's not getting the good cardinality with binds ?
when using literals i can see that dynamic sampling occurs and get a good cardinality .
when using binds (without stats on the tables) i can see that dynamic sampling occurs but the cradinality is the same as without dynamic sampling .

is dynamic sampling not working good with binds ?

Zvika
This post has been answered by Hoek on Jul 14 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 13 2009
Added on Jul 12 2009
14 comments
1,397 views