ข้ามไปยังเนื้อหา

04 — Multitenant: CDB and PDB

← Oracle Database

CDB
├─ CDB$ROOT
├─ PDB$SEED
├─ PDB_APP1
└─ PDB_APP2

Multitenant separates container-level administration from pluggable-database workloads.

  • common vs local users,
  • CDB root vs PDB context,
  • open modes,
  • service per PDB,
  • parameter scope,
  • create/clone/plug/unplug/relocate patterns.

Before administrative SQL, check container context.

SHOW CON_NAME;

Many “why did this affect the wrong place?” mistakes begin with the wrong container.

Oracle University lessons 12–14, plus multitenant sections across user/security lessons.