Purpose of a multitenant environment
A multitenant environment enables the central management of multiple PDBs in a single installation. By using a multitenant environment, you can accomplish the following goals:
Cost reduction
By consolidating hardware and sharing database memory and files, your reduce costs for hardware, storage, availability, and Labor. For example, PDBs in a single server share one database instance and one set of the database files, thereby requiring less Hardware and fewer personnel.
Easier and more rapid movement of data and code
By design, you can plug a PDB to a CDB, unplug the PDB from the CDB, and then plug this PDB into a different CDB. Therefore, you can easily move an application's database back end from one server to another.
Easier management and monitoring of the physical database
The CDB administrator can attend to one physical database (one set of files and one set of database instances) rather than Split attention among dozens or hundreds of Non-cdbs. Backup strategies and disaster recovery are simplified.
Separation of data and code
Although consolidated into a single physical CDB, PDBs mimic the behavior of traditional Non-cdbs. For example, if a user error causes data loss, then a PDB administrator can use Point-in-time recovery to retrieve the Los T data without affecting other PDBs.
Ease of performance tuning
It is easier to collect performance metrics for a CDB than for multiple Non-cdbs. It is easier to size one SGA than several sgas.
Support for Oracle Database Resource Manager
In a CDB, one concern are contention for system resources among the PDBs running on the same server. Another concern is limiting resource usage for more consistent, predictable performance. To address such resource contention, usage, and monitoring issues, you can use Oracle Database resource Manager (see CHAPT Er, "Using Oracle Resource Manager for PDBs with Sql*plus").
Fewer patches and upgrades
It is easier to apply a patch to one CDB than to multiple Non-cdbs and to upgrade one CDB than to upgrade several Non-cdbs .
A multitenant environment is especially useful if you had many Non-cdbs deployed on different hardware in multiple Orac Le Database installations. These Non-cdbs might use only a fraction of the hardware resources dedicated to them, and each one might not require a ful L-time database administrator to manage it.
By combining these Non-cdbs to a CDB, you can make better use of your hardware resources and database administrator Reso Urces. In addition, you can move a PDB from one CDB to another without requiring changes to the applications that depend on the P Db.