Application containers in container databases
First Claim
1. A method comprising:
- a database server storing;
a) a multitenant container database, b) a root database and a plurality of pluggable databases, including a plurality of application roots, including a particular application root, in the multitenant container database and, c) in the root database, one or more database objects and metadata related to the one or more database objects that are shared among the plurality of pluggable databases;
the database server storing, in the particular application root, second one or more database objects and second metadata related to the second one or more database objects that are shared among a subset of the plurality of pluggable databases in the multitenant container database which are utilized by a common application;
the database server receiving a query from a database client that is to be applied to the particular application root in the multitenant container database, wherein the query identifies at least a particular database object;
in response to receiving the query, the database server executing the query based on a database dictionary of the particular application root to generate a result set; and
the database server returning the result set to the database client.
1 Assignment
0 Petitions
Accused Products
Abstract
In an approach, memory usage within a database management system is optimized by designating an application root which stores data and metadata for database objects that are common across pluggable databases which support the same application. In addition, the application root can be used to manage access to the pluggable databases by defining common users which are created at the application root, but can be used to access any of the member pluggable databases. Furthermore, different versions of the same application can be supported concurrently by maintaining separate application roots for each version. For instance, when an upgrade is applied to the application root, a clone can be created and the update can be applied to the clone. Then, the member pluggable databases which are to be upgraded can be synchronized to the clone, while leaving other pluggable databases servicing the previous version of the application.
55 Citations
23 Claims
-
1. A method comprising:
-
a database server storing;
a) a multitenant container database, b) a root database and a plurality of pluggable databases, including a plurality of application roots, including a particular application root, in the multitenant container database and, c) in the root database, one or more database objects and metadata related to the one or more database objects that are shared among the plurality of pluggable databases;the database server storing, in the particular application root, second one or more database objects and second metadata related to the second one or more database objects that are shared among a subset of the plurality of pluggable databases in the multitenant container database which are utilized by a common application; the database server receiving a query from a database client that is to be applied to the particular application root in the multitenant container database, wherein the query identifies at least a particular database object; in response to receiving the query, the database server executing the query based on a database dictionary of the particular application root to generate a result set; and the database server returning the result set to the database client. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A non-transitory computer-readable storage medium storing one or more sequences of instructions which, when executed by one or more processors, cause:
-
a database server storing;
a) a multitenant container database, b) a root database and a plurality of pluggable databases, including a plurality of application roots, including a particular application root, in the multitenant container database and, c) in the root database, one or more database objects and metadata related to the one or more database objects that are shared among the plurality of pluggable databases;the database server storing, in the particular application root, second one or more database objects and second metadata related to the second one or more database objects that are shared among a subset of the plurality of pluggable databases in the multitenant container database which are utilized by a common application; the database server receiving a query from a database client that is to be applied to the particular application root in the multitenant container database, wherein the query identifies at least a particular database object; in response to receiving the query, the database server executing the query based on a database dictionary of the particular application root to generate a result set; the database server returning the result set to the database client. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A system comprising:
-
a database server comprising one or more processors; a multitenant container database comprising one or more non-transitory storage mediums; in the multitenant container database, a root database and a plurality of pluggable databases, including a plurality of application roots, including a particular application root; in the root database, one or more database objects and metadata related to the one or more database objects that are shared among the plurality of pluggable databases; in the particular application root, second one or more database objects and second metadata related to the second one or more database objects that are shared among a subset of the plurality of pluggable databases in the multitenant container database which are utilized by a common application; wherein the database server is configured to; store the multitenant container database, the root database, the plurality of pluggable databases and, in the root database, one or more database objects and metadata related to the one or more database objects that are shared among the plurality of pluggable databases; store, in the particular application root, second one or more database objects and second metadata related to the second one or more database objects that are shared among a subset of the plurality of pluggable databases in the multitenant container database which are utilized by a common application; receive a query from a database client that is to be applied to the particular application root in the multitenant container database, wherein the query identifies at least a particular database object; execute, in response to receiving the query, the query based on a database dictionary of the particular application root to generate a result set; and return the result set to the database client.
-
Specification