Conclusion
Pros:
- Reduced overhead as only one OS is running.
- Reduced overhead as only one DB instance is running.
- Only a single database installation is present.
- No additional cost or knowledge needed to support a containers or virtualization.
- Depending on the setup, patching and monitoring may be simplified. At a minimum, we may only need a single Oracle installation and a single Cloud Control agent on the server.
- Namespace separation, allowing you to have public database links, synonyms and even the same usernames in each PDB.
Cons:
There are several ways to run Oracle databases in the cloud, as discussed here . Depending on the cloud service you choose, some of the consolidation methods discussed here may be useful in reducing the total cost of your cloud environment.
If you are running Oracle databases on a self managed virtual machine in the cloud, the following consolidation methods are still available to you.
- Multi-Instance
- Schema Consolidation
- Multitenant Option
If you are using a Database as a Service (DBaaS) offering, you will probably be limited to one of the following.
- Schema Consolidation
- Multitenant Option
As you can see, there are lots of options, each with their own pros and cons. As I mentioned previously, you will undoubtedly use a variety of techniques. Using the company I currently work for as an example, at the time of writing, we use all of them with the exception of the paid multitenant option.
- We have a heavy investment in VMware for our core infrastructure. All WebLogic, Tomcat and Apache servers run on Oracle Linux under VMware, as do the majority of our Oracle databases. All the Windows servers are VMware-based. So we are making heavy use of VMware for hardware consolidation, which includes database servers.
- At the time of writing, we have one project that makes use of containers, although that will probably move to VMware in the future.
- Some of our virtual machines host multiple Oracle instances, so we are combining VMware hardware consolidation and multi-instance database consolidation.
- Some of our databases are used to house multiple applications using schema consolidation. In come cases, we have a combination of VMware hardware consolidation, multi-instance database consolidation and schema consolidation.
In short, if someone tries to tell you there is one best solution to consolidation, they are either trying to sell you something, or they don't really know what they are talking about!
For more information see:
- A Cure for Virtual Insanity: A Vendor-Neutral Introduction to Virtualization Without the Hype
- Multitenant : Overview of Container Databases (CDB) and Pluggable Databases (PDB)
- Oracle Databases in the Cloud
Hope this helps. Regards Tim...
