Skip to Main Content

Database Software

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!

VPD and the Index operation

Niels JespersenSep 21 2015 — edited Oct 2 2015

Hello all

I am having some problems properly understanding the intent of the "index" statement type on the dbms_rls.add_policy procedure. My tests indicate that table_owner can create indexes just fine even if table_owner  is prevented (by vpd) from selecting any rows from the table under vpd. Whether index is included in statement_types does not seem to make any difference.

A sql trace shows that a full table-scan of the table does indeed occur as a result of the index operation.

Db version is 12.1.0.2 on Windows 2012 x64.

Can anyone enligthen me?

Regards Niels Jespersen

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 30 2015
Added on Sep 21 2015
1 comment
578 views