Tuning memory across database clusters for distributed query stability
First Claim
1. A method for tuning memory across a database cluster, the method comprising:
- receiving, by a global memory tuner, memory configuration information from a plurality of nodes within the database cluster, wherein the received memory configuration includes an available physical memory value for each node within the database cluster;
determining a node within the plurality of nodes having a least available memory value relative to a remainder of nodes within the plurality of nodes based on the received memory configuration information;
generating a globally tuned memory value to match the available physical memory value associated with the determined node;
determining a memory distribution based on the generated globally tuned memory value;
sending the determined memory distribution to the plurality of nodes, wherein each node within the plurality of nodes designates a memory portion equal to the calculated globally tuned memory value as a globally tuned memory partition; and
generating at least one query plan based on the sent memory distribution, wherein the generated at least one query plan is restricted to using a memory amount specified by the globally tuned memory partition within the sent memory distribution for each node within the plurality of nodes.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for optimizing query compilation by tuning memory across a database cluster is provided. The method may include receiving, by a global memory tuner, memory configuration information from a plurality of nodes within the database cluster. The method may also include determining a node within the plurality of nodes having a least available memory value relative to a remainder of nodes within the plurality of nodes based on the received memory configuration information. The method may then include calculating a globally tuned memory value based on a memory value associated with the determined node. The method may further include determining a memory distribution based on the calculated globally tuned memory value. The method may also include sending the determined memory distribution to the plurality of nodes.
16 Citations
6 Claims
-
1. A method for tuning memory across a database cluster, the method comprising:
-
receiving, by a global memory tuner, memory configuration information from a plurality of nodes within the database cluster, wherein the received memory configuration includes an available physical memory value for each node within the database cluster; determining a node within the plurality of nodes having a least available memory value relative to a remainder of nodes within the plurality of nodes based on the received memory configuration information; generating a globally tuned memory value to match the available physical memory value associated with the determined node; determining a memory distribution based on the generated globally tuned memory value; sending the determined memory distribution to the plurality of nodes, wherein each node within the plurality of nodes designates a memory portion equal to the calculated globally tuned memory value as a globally tuned memory partition; and generating at least one query plan based on the sent memory distribution, wherein the generated at least one query plan is restricted to using a memory amount specified by the globally tuned memory partition within the sent memory distribution for each node within the plurality of nodes. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification