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!

Seeing different results from V$CONTAINERS depending on user used to log in.

ed0c088c-da96-4f4b-a0bb-951703c8ed81Jul 2 2015 — edited Jul 3 2015

I'm using Oracle Database 12C, and I've created a common user.

If I connect using my user, and query V$CONTAIONERS, I only get a single result for CDB$ROOT. However, if I connect as system and perform the same query, I see five records, CDB$ROOT, PDB$SEED and three pluggable databases.

I'm trying to understand why there's this difference. From what I've been able to find looking about on the internet, the visibility of data in that view should be controlled by whether or not the user is a common user (it is), and the current container. By running "SHOW CON_NAME", I can see that the current container is CDB$ROOT in both cases.

What else could be the cause of this difference? Is there a permission or setting I need to change that will allow my user to see all the containers?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 31 2015
Added on Jul 2 2015
6 comments
1,230 views