Managing database nodes
First Claim
Patent Images
1. A method for managing database nodes, the method comprising:
- determining that a data segment is on a failed node in a segmentation ring, the data segment being referenced by an operation of a query plan;
replacing the failed node in the query plan with a buddy node for the data segment;
selecting a plurality of potential victim nodes that includes each node in the segmentation ring that is operational;
selecting a victim node from the plurality of potential victim nodes based on the buddy node for the data segment and a predetermined selection parameter; and
generating a second query plan such that the victim node performs double duty for operations of a node in the segmentation ring.
8 Assignments
0 Petitions
Accused Products
Abstract
A method for managing database nodes includes determining that a data segment is on a failed node. The data segment is referenced by an operation of a query plan. The method includes selecting a victim node based on a segmentation ring, a buddy node for the data segment, a plurality of remaining operational nodes, and a predetermined selection parameter. The method includes generating a query plan such that the victim node performs double duty for operations accessing the data segment from a buddy projection on the victim node, and operations accessing a data segment for a primary projection of the victim node.
43 Citations
20 Claims
-
1. A method for managing database nodes, the method comprising:
-
determining that a data segment is on a failed node in a segmentation ring, the data segment being referenced by an operation of a query plan; replacing the failed node in the query plan with a buddy node for the data segment; selecting a plurality of potential victim nodes that includes each node in the segmentation ring that is operational; selecting a victim node from the plurality of potential victim nodes based on the buddy node for the data segment and a predetermined selection parameter; and generating a second query plan such that the victim node performs double duty for operations of a node in the segmentation ring. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 20)
-
-
9. A system, comprising:
-
a plurality of database nodes; and a database node comprising; a processor that is adapted to execute stored instructions; and a memory device that stores instructions, the memory device comprising; computer-implemented instructions to determine that a plurality of segment groups are on a plurality of failed nodes in a segmentation ring, the segment groups comprising pluralities of segments; computer-implemented instructions to replacing the plurality of failed nodes in with buddy nodes hosting copies of the segments; computer-implemented instructions to select a plurality of potential victim nodes that includes each node in the segmentation ring that is operational; computer-implemented instructions to select, for each segment group in the plurality of segment groups, a victim node from the plurality of potential victim nodes based on the buddy nodes and a predetermined selection parameter; and computer-implemented instructions to generate a query plan such that the victim nodes perform double duty for operations of a node in the segmentation ring. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A tangible, non-transitory, machine-readable medium that stores machine-readable instructions executable by a processor to manage database nodes, the tangible, non-transitory, machine-readable medium comprising:
-
machine-readable instructions that, when executed by the processor, determine that a plurality of segment groups are on a plurality of failed nodes in a segmentation ring, the segment groups comprising pluralities of segments; machine-readable instructions that, when executed by the processor, replace the plurality of failed nodes in the segmentation ring with buddy nodes hosting copies of the segments belonging to buddy projections; machine-readable instructions that, when executed by the processor, select a plurality of potential victim nodes that includes each node in the segmentation ring that is operational; machine-readable instructions that, when executed by the processor, for each segment group in the plurality of segment groups, a victim node from the plurality of potential victim nodes based on buddy nodes hosting copies of the segments belonging to buddy projections and a predetermined selection parameter; and machine-readable instructions that, when executed by the processor, generate a query plan such that the victim nodes perform double duty for operations of a node in the segmentation ring. - View Dependent Claims (16, 17, 18, 19)
-
Specification