Visit Counter

Thursday, October 15, 2015

Access Objects Of A Common User Non-existent In Root



In a multitenant environment, a common user is a database user whose identity and password are known in the root and in every existing and future pluggable database (PDB). Common users can connect to the root and perform administrative tasks specific to the root or PDBs. There are two types of common users :
  • All Oracle-supplied administrative user accounts, such as SYS and SYSTEM
  •  User created common users- Their names  must start with C## or c##.
When a PDB having a user created common user is plugged into another CDB and the target CDB does not have  a common user with the same name, the common user in a newly plugged in PDB becomes a locked account.
To access such common user’s objects, you can do one of the following:
  • Leave the user account locked and use the objects of its schema.
  • Create a common user with the same name as the locked account


 

No comments:

Post a Comment