Flexible in-memory column store placement
First Claim
1. A computer-implemented method comprising:
- storing, in a database that is accessible to a plurality of nodes, a unit-to-service mapping that maps a particular unit in the database to a particular database service, wherein the particular database service is a grouping of work executing in the database, wherein the particular unit includes one or more tables of the database;
storing, in the database, a service-to-node mapping that maps the particular database service to one or more nodes, wherein the one or more nodes are less than ail of the plurality of nodes;
based on both the unit-to-service mapping and the service-to-node mapping, the one or more nodes treating the particular unit as in-memory enabled and nodes, of the plurality of nodes, other than the one or more nodes treating the particular unit as not in-memory enabled, wherein chunks of tables that belong to in-memory enabled units are eligible for being pre-loaded into volatile memory to speed up query processing; and
wherein, each node of the one or more nodes treats the particular unit as in-memory enabled by loading at least a copy of a portion of the particular unit into local volatile memory in response to a load-triggering event andas part of the loading at least the copy of the portion of the particular unit into the local volatile memory, converting the particular unit from a persistent-format to a mirror-format, wherein the method is performed by one or more computing devices.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques are described herein for distributing distinct portions of a database object across volatile memories of selected nodes of a plurality of nodes in a clustered database system. The techniques involve storing a unit-to-service mapping that associates a unit (a database object or portion thereof) to one or more database services. The one or more database services are mapped to one or more nodes. The nodes to which a service is mapped may include nodes in disjoint database systems, so long as those database systems have access to a replica of the unit. The database object is treated as in-memory enabled by nodes that are associated with the service, and are treated as not in-memory enabled by nodes that are not associated with the service.
208 Citations
26 Claims
-
1. A computer-implemented method comprising:
-
storing, in a database that is accessible to a plurality of nodes, a unit-to-service mapping that maps a particular unit in the database to a particular database service, wherein the particular database service is a grouping of work executing in the database, wherein the particular unit includes one or more tables of the database; storing, in the database, a service-to-node mapping that maps the particular database service to one or more nodes, wherein the one or more nodes are less than ail of the plurality of nodes; based on both the unit-to-service mapping and the service-to-node mapping, the one or more nodes treating the particular unit as in-memory enabled and nodes, of the plurality of nodes, other than the one or more nodes treating the particular unit as not in-memory enabled, wherein chunks of tables that belong to in-memory enabled units are eligible for being pre-loaded into volatile memory to speed up query processing; and
wherein, each node of the one or more nodes treats the particular unit as in-memory enabled by loading at least a copy of a portion of the particular unit into local volatile memory in response to a load-triggering event andas part of the loading at least the copy of the portion of the particular unit into the local volatile memory, converting the particular unit from a persistent-format to a mirror-format, wherein the method is performed by one or more computing devices. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. One or more non-transitory computer-readable media storing instructions, wherein the instructions include:
-
instructions which, when executed by one or more hardware processors, cause storing, in a database that is accessible to a plurality of nodes, a unit-to-service mapping that maps a particular unit in the database to a particular database service, wherein the particular database service is a grouping of work executing in the database, wherein the particular unit includes one or more tables of the database; instructions which, when executed by one or more hardware processors, cause storing, in the database, a service-to-node mapping that maps the particular database service to one or more nodes, wherein the one or more nodes are less than all of the plurality of nodes; instructions which, when executed by one or more hardware processors, cause based on both the unit-to-service mapping and the service-to-node mapping, the one or more nodes treating the particular unit as in-memory enabled and nodes, of the plurality of nodes, other than the one or more nodes treating the particular unit as not in-memory enabled, wherein chunks of tables that belong to in-memory enabled units are eligible for being pre-loaded into volatile memory to speed up query processing; and wherein, each node of the one or more nodes treats the particular unit as in-memory enabled by loading at least a copy of a portion of the particular unit into local volatile memory in response to a load-triggering event; and instructions which, when executed by one or more hardware processors, cause as part of the loading at least the copy of the portion of the particular unit into the local volatile memory, converting the particular unit from a persistent-format to a mirror-format. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
Specification