oracle12c CDB中共同使用者和本地使用者區別
About Commonality in a CDB
In a multitenant container database (CDB), the basic principle of commonality is that a common phenomenon is the same in every existing and future container. In a CDB, "common" means "common to all containers." In contrast, a local phenomenon is restricted to exactly one existing container.
A corollary to the principle of commonality is that only a common user can alter the existence of common phenomena. More precisely, only a common user connected to the root can create, destroy, or modify CDB-wide attributes of a common user or role.
Common Users in a CDB
A common user is a database user that has the same identity in the root and in every existing and future PDB. Every common user can connect to and perform operations within the root, and within any PDB in which it has privileges.
Every common user is either Oracle-supplied or user-created. Examples of Oracle-supplied common users are SYS and SYSTEM.
Common users have the following characteristics:
-
A common user can log in to any container (including CDB$ROOT) in which it has the CREATE SESSION privilege.
A common user need not have the same privileges in every container. For example, the c##dba user may have the privilege to create a session in the root and in one PDB, but not to create a session in a different PDB. Because a common user with the appropriate privileges can switch between containers, a common user in the root can administer PDBs.
-
The name of every user-created common user must begin with the characters c## or C##. (Oracle-supplied common user names do not have this restriction.)
No local user name may begin with the characters c## or C##.
-
The names of common users must contain only ASCII or EBCDIC characters.
-
Every common user is uniquely named across all containers.
A common user resides in the root, but must be able to connect to every PDB with the same identity.
-
The schemas for a common user can differ in each container.
For example, if c##dba is a common user that has privileges on multiple containers, then the c##dba schema in each of these containers may contain different objects.
Local Users in a CDB
A local user is a user that is not common and that can operate only within a single PDB. Local users have the following characteristics:
-
A local user is specific to a particular PDB and owns a schema in this PDB.
-
A local user cannot be created in the root.
-
A local user on one PDB cannot log in to another PDB or to the root.
-
The name of a local user cannot begin with the characters c## or C##.
-
The name of a local user must only be unique within its PDB.
-
The user name and the PDB in which that user schema is contained determine a unique local user. For example, a local user and schema named rep can exist on a PDB named hrpdb. A completely independent local user and schema named rep can exist on a PDB named salespdb.
-
Whether local users can access objects in a common schema depends on their user privileges.
For example, the c##dba common user may create a table in the c##dba schema on the hrpdb PDB. Unless c##dba grants the necessary privileges to the local hr user on this table, hr cannot access it.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29519108/viewspace-1453082/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- CDB和PDB關於使用者建立和使用者許可權區別
- mysql使用者本地登入localhost和127.0.0.1區別MySqllocalhost127.0.0.1
- oracle12c的CDB和PDB初探Oracle
- jumpserver 使用者,系統使用者和管理使用者 普通使用者和特權使用者 區別Server
- 使用者態和核心態的區別
- sys使用者與system使用者的區別
- 使用者態和核心態的區別是啥
- passwd與usermod鎖使用者及使用者解鎖的區別
- JDK內建執行緒池的共同點和區別JDK執行緒
- C++ 結構體struct和共同體union的區別C++結構體Struct
- sql server 登入名和使用者名稱的區別和聯絡SQLServer
- win10系統下本地使用者和組在哪 win10系統怎麼開啟本地使用者和組Win10
- win10沒有本地使用者和組怎麼辦 win10沒有本地使用者和組解決方法Win10
- win10系統中本地使用者和組不見了如何找回Win10
- windows本地破解使用者口令Windows
- 破解本地 mysql 使用者名稱和密碼(轉)MySql密碼
- Oracle資料庫中SYS、SYSTEM、DBSNMP、SYSMAN四使用者的區別Oracle資料庫
- 12C關於CDB、PDB引數的區別和總結
- 系統使用者數、併發使用者數與線上使用者數的區別及計算
- VSFTPD 本地使用者登入。FTP
- 本地事務和分散式事務的區別分散式
- mybatis入門程式:刪除、更新使用者&&hibernate和mybatis的區別MyBatis
- Oracle12c多租戶如何連線到CDB或PDB、CDB與PDB容器切換Oracle
- mysql中!=和is not的區別MySql
- JavaScript中for in 和for of的區別JavaScript
- mysql中“ ‘ “和 “ ` “的區別MySql
- java中==和equlas區別Java
- Js中for in 和for of的區別JS
- JavaScript中==和===的區別JavaScript
- win10管理沒有本地使用者和組怎麼辦?win10電腦管理沒有本地使用者和組解決方法Win10
- 使用者體驗(UX)和使用者介面(UI)之間的差別UXUI
- Oracle 12c公用賬戶和本地使用者的建立Oracle
- 使用者組和使用者
- Oracle 12c 多租戶 CDB 與 PDB 級別 expdb 與 impdb(表、使用者、全庫)Oracle
- Linux多使用者共同使用同一目錄Linux
- vsftp本地使用者不能登入FTP
- Oracle 12C使用RMAN將Non-CDB中多個使用者方案中的多個表或表分割槽恢復到新使用者方案中Oracle
- Mybatis中#{}和${}傳參的區別及#和$的區別小結MyBatis