π CDB vs PDB - Key Differences:
β’ CDB β one per Oracle installation, manages all PDBs, holds shared infrastructure
β’ PDB β many per CDB, holds actual business data, fully portable
β’ DBA connects to CDB to manage all databases at once
β’ Developers connect to PDB to work with their specific data
ποΈ Oracle-Specific Facts:
β’ PDB architecture was introduced in Oracle 12c (2013)
β’ Oracle 21c made CDB/PDB the only supported architecture
β’ In Oracle 19c and above - every database you create is technically inside a CDB
β’ Cloud services like Oracle Autonomous Database use PDBs heavily
β’ One CDB can have up to 4096 PDBs in Oracle 19c
π§ Quick Summary:
β’ CDB = Container Database - the outer shell
β’ PDB = Pluggable Database - self-contained DB inside CDB
β’ CDB$ROOT = master container managing everything
β’ PDB$SEED = read-only template for creating new PDBs
β’ PDBs share memory and processes β saves cost and resources
β’ PDBs can be plugged/unplugged β makes migration easy
β’ Every Oracle 21c database uses this architecture
#OracleSQL #PluggableDatabase #PDB #CDB #OracleArchitecture #Oracle12c #LearnSQL #DatabaseAdmin #Day5 #100DaysOfCode #TechTwitter