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!

cardinality in plans

ExorOct 27 2009 — edited Oct 28 2009
Hello,

Can some one please explain to me what can cause the fact that for the same query, the owner of the objects (tables) and a user with just select rights show different cardinalities in the explain plan?

So user a owns all the tables and the views:
connect a/a
select * from myview;
show cardinality for table t1 referenced in the view 100k.

connect a_read/a_ared
select * from a.myview
show cardinality for table a.t1 referenced in the view 100k.

user a_read doesn't own any objects at all.

Thank you,
This post has been answered by JustinCave on Oct 28 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 25 2009
Added on Oct 27 2009
7 comments
456 views