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!

12c Data Dictionary views CDB/PDB

athompson88Feb 24 2014 — edited Mar 4 2014

I just started investigating Oracle Database 12c and decided to dig into the multi-tennant feature to learn about that architecture. Part of this is understanding the way the new data dictionary views organize database information for CDBs/PDBs, and how security and roles relate to this new system. One thing I found confusing is that if you want to view data from views such as v$containers, v$pdbs, or v$datafile, the data will be limited to the context of the current container (no con_id) unless you are connected "as SYSDBA". Even SYSTEM returns context-aware results. Is there any way to get around this such that a user other than SYS can have this universal view of the database? I was hoping that common users (c##username) would be able to query this sort of information without connecting as SYS. Part of this is because I'd like to be able to connect as a "read only" user for day-to-day investigations, and not connect as a privileged account (much less SYS) unless I have a specific need to. Also, all actions performed by SYS user are audited and if I'm connecting to the database just to browse the data dictionary, this generates unnecessary audit records and noise in the audit trail.

This post has been answered by Richard Harrison . on Feb 27 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2014
Added on Feb 24 2014
9 comments
6,277 views