Multiple Databases in DB Systems

FAQs on creating multiple database in Oracle Database Appliance DB systems.

What is the multi-database feature in DB system?

Prior to Oracle Database Appliance release 19.23, one DB system supported one database. Starting with Oracle Database Appliance release 19.23, a DB system can run multiple databases and multiple database homes.

What happens to existing DB systems when the bare metal system is updated to release 19.23?

New DB systems created after the bare metal system is updated to Oracle Database Appliance release 19.23 have multi-database support by default. Existing DB systems gain multi-database support when they are updated to release 19.23, either by patching with the odacli update-server command or upgrading with the odacli upgrade-dbsystem command. An existing DB system that is not updated to 19.23 continues to support only one database.

How can I check whether a DB system supports multiple databases?

Use the odacli list-dbsystems command to view the DB system shape. A dbsX shape indicates multi-database support; an odbX shape indicates support for only one database.

How do I choose a DB system shape for multiple databases?

Select the DB system shape based on the sizing requirements of the databases that will run in it. Size the DB system to meet those requirements.

How many databases can a multi-database DB system support?

The supported number of databases depends on DB system resources such as CPU and memory. Generally, the combined database shapes must be no greater than the DB system shape. For example, if databases odbA, odbB, …, odbN run in a DB system with shape dbsX, then A+B+…N <= X. You can change the DB system shape to meet new database sizing requirements.

Why must I manually change the database shapes when modifying DB system shapes in 19.23 and later?

Prior to Oracle Database Appliance release 19.23, one DB system supported one database and the database shape was the same as the DB system shape. Hence, modifying the DB system shape would automatically change the shape of the database. Starting with Oracle Database Appliance release 19.23, multi-database feature is enabled by default on the DB system. When you modify the DB system shape with the odacli modify-DB system --shape command, the shape of the DB system is modifed; the command does not change the shapes of the databases inside the DB system any more. You must modify database shapes accordingly based on the new shape of the DB system. For DB system shape scale up, increase the database shapes after DB system shape is scaled up. For DB system shape scale down, scale down database shapes before DB system shape is scaled down; otherwise databases could fail to start because of reduced DB system memory.

Why might databases fail to start after a DB system shape is scaled down?

When the DB system shape is scaled down, its CPU, memory, and huge pages are also reduced. Databases may fail to start if the available memory, especially the huge pages available for the SGA, does not meet their requirements.

How can I resolve this issue?

Scale the DB system back to its original shape, scale down the database shapes, and then scale down the DB system shape.