Replicated database distribution for workload balancing after cluster reconfiguration

US10102086B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10102086-B2
Application numberUS-201414577629-A
CountryUS
Kind codeB2
Filing dateDec 19, 2014
Priority dateDec 19, 2014
Publication dateOct 16, 2018
Grant dateOct 16, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A computer-implemented method for distributing a plurality of data partitions among a cluster of computer nodes includes dividing a database into a plurality of primary partitions, storing the primary partitions on a plurality of nodes associated with a computer network, duplicating the primary partitions to create a plurality of secondary partitions and storing the secondary partitions on the nodes, wherein the primary and secondary partitions are substantially evenly distributed among the nodes, each secondary partition is stored on a different node than its corresponding primary partition, diversity exists with respect to each secondary partition and the node where it is stored, the primary partitions are available to serve a system workload, and one or more secondary partitions corresponding to one or more primary partitions of a failed node are available to be upgraded to primary status to maintain workload balancing and data availability after one of the computer nodes fails.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for distributing a plurality of data partitions among a plurality of computer nodes, comprising: dividing a database into a plurality of primary partitions; storing each of the primary partitions on a respective node of a plurality of nodes so that the primary partitions are distributed substantially evenly among the nodes and wherein the primary partitions are available to serve a system workload; duplicating each of the primary partitions to create corresponding respective secondary partitions; for each of the secondary partitions: identifying a node of the plurality of nodes that does not store the primary partition corresponding to the secondary partition; and storing the secondary partition on the identified node; after failure or dissociation of one node of the plurality of nodes, upgrading one or more secondary partitions corresponding to one or more primary partitions of the failed or dissociated node to primary status; and redistributing one or more secondary partitions corresponding to the one or more primary partitions of the failed or dissociated node by performing operations including: duplicating the one or more upgraded secondary partitions to create one or more corresponding further secondary partitions; and for each of the one or more corresponding further secondary partitions, identifying a further node of the plurality of nodes that does not store the upgraded secondary partition corresponding to the further secondary partition and wherein storage of the corresponding further secondary partition on the further node would not result in two or more of the secondary partitions, including the one or more further secondary partitions, stored on the further node being stored together as primary partitions on a common node; and storing the corresponding further secondary partition on the identified further node. 2. The method of claim 1 , wherein: the storing of the primary partitions on the nodes uses a round-robin algorithm; and the identifying of the node of the plurality of nodes uses a modified round-robin algorithm that selects, as the identified node, a first node provided by the round-robin algorithm for which storage of the secondary partition on the identified node would not result the secondary partition and the primary partition corresponding to the secondary partition being stored together on the identified node. 3. The method of claim 1 , further comprising: determining a number of transfers of data partitions to and from a first node during the redistribution each of the one or more secondary partitions; and determining that the number of transfers does not exceed a threshold and, based thereon, storing the corresponding further secondary partition on the first node, wherein the storing is part of the redistribution after the failed or disassociated node has failed or has become disassociated from a cluster. 4. The method of claim 3 , further comprising upgrading a second secondary partition on a second node to be a primary partition on the second node, wherein the second node is a surviving node that remains available after the failed or disassociated node has failed or has become disassociated from the cluster. 5. The method of claim 3 , wherein storing the corresponding further secondary partition on the first node further comprises determining that storage of the corresponding further secondary partition on a second node would result in two or more of the secondary partitions of the second node being stored together as primary partitions on a common node and, based thereon, storing the corresponding further secondary partition on the first node. 6. The method of claim 1 , wherein identifying the node of the plurality of nodes that does not store the primary partition corresponding to the secondary partition further includes determining that storage of the secondary partition on the identified node would not result in two or more of the secondary partitions stored on the identified node being stored together as primary partitions on another node. 7. A computer-readable medium storing instructions for distributing a plurality of data partitions among a plurality of computer nodes, that when executed by one or more processors cause the processors to perform operations comprising: dividing a database into a plurality of primary partitions; storing each of the primary partitions on a respective node of a plurality of nodes so that the primary partitions are distributed substantially evenly among the nodes and wherein the primary partitions are available to serve a system workload; duplicating each of the primary partitions to create corresponding respective secondary partitions; for each of the secondary partitions: identifying a node of the plurality of nodes that does not store the primary partition corresponding to the secondary partition; and storing the secondary partitions on the identified node; after failure or disassociation of a node of the plurality of nodes, upgrading one or more secondary partitions corresponding to one or more primary partitions of the failed or disassociated node to primary status; and redistributing secondary partitions corresponding to the one or more primary partitions of the failed or disassociated node by causing the processors to perform operations including: duplicating the one or more upgraded secondary partitions to create one or more corresponding further secondary partitions; and for each of the one or more corresponding further secondary partitions, identifying a further node of the plurality of nodes that does not store the upgraded secondary partition corresponding to the further secondary partition and wherein storage of the corresponding further secondary partition on the further node would not result in two or more of the secondary partitions, including the one or more further secondary partitions, stored on the further node being stored together as primary partitions on a common node; and storing the corresponding further secondary partition on the identified further node. 8. The computer-readable medium of claim 7 , wherein: the storing of the primary partitions on the nodes uses a round-robin algorithm; and the identifying of the node of the plurality of nodes uses a modified round-robin algorithm that selects, as the identified node, a first node provided by the round-robin algorithm for which storage of the secondary partition on the identified node would not result in the secondary partition and the primary partition corresponding to the secondary partition being stored together on the identified node. 9. The computer-readable medium of claim 7 , wherein the operations further comprise: determining a number of transfers of data partitions to and from a first node during the redistribution of the secondary partitions; and determining that the number of transfers does not exceed a threshold and, based thereon, storing the corresponding further secondary partition on the first node, wherein the storing is part of the redistribution after the failed or disassociated node has failed or has become disassociated from a cluster. 10. The computer-readable medium of claim 7 , wherein the operations further comprise upgrading a second secondary partition on a second node to be a primary partition on the second node, wherein the second node is a surviving node that remains available after the failed or disassociated node has failed or has become disassociated from a cluster. 11. The computer-readable medium of claim 9 , wherein the operations further comprise: determining that storage of the corresponding further secondary partition on a second node would resul

Assignees

Inventors

Classifications

  • for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS] · CPC title

  • where the redundant components share neither address space nor persistent storage · CPC title

  • Physics · mapped topic

  • Reaction to server failures by a load balancer · CPC title

  • maintaining the standby controller/processing unit updated (initialisation or re-synchronisation thereof G06F11/1658 and subgroups) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10102086B2 cover?
A computer-implemented method for distributing a plurality of data partitions among a cluster of computer nodes includes dividing a database into a plurality of primary partitions, storing the primary partitions on a plurality of nodes associated with a computer network, duplicating the primary partitions to create a plurality of secondary partitions and storing the secondary partitions on the …
Who is the assignee on this patent?
Futurewei Technologies Inc
What technology area does this patent fall under?
Primary CPC classification H04L67/1095. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Oct 16 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).