×

Scheduling of splits and moves of database partitions

  • US 9,489,443 B1
  • Filed: 05/24/2013
  • Issued: 11/08/2016
  • Est. Priority Date: 05/24/2013
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • one or more processors;

    a memory coupled to the one or more processors; and

    a plurality of storage nodes, each of which comprises one or more storage devices or logical storage volumes;

    wherein the memory stores program instructions that when executed by the one or more processors cause the one or more processors to implement a distributed database service;

    wherein the distributed database service maintains data in two or more partitions, and wherein to maintain the data in the two or more partitions, the distributed database service is configured to store two or more replicas of each of the two or more partitions on respective storage devices or logical storage volumes of respective ones of the plurality of storage nodes;

    wherein multiple storage nodes of the plurality of storage nodes are configured to;

    identify one or more candidate partition management operations to be performed on the storage node, wherein each of the candidate partition management operations comprises a split operation targeting a partition replica that is stored on a storage device or logical volume of the storage node or a move operation targeting one or more partition replicas that are stored on a storage device or logical volume of the storage node; and

    send information about each of the one or more candidate partition management operations to a central partition management scheduler of the distributed database service, wherein for each of the candidate partition management operations, the information comprises an indication of whether the candidate partition management operation comprises a split operation or a move operation, an indication of a number of replicas to be affected by the candidate partition management operation, or an indication of an amount of a resource that is provisioned for replicas affected by the candidate partition management operation; and

    wherein the central partition management scheduler of the distributed database service is configured to;

    receive the information about the one or more candidate partition management operations from the multiple storage nodes; and

    apply a global prioritization across the candidate partition management operations to be performed on the multiple storage nodes, wherein to apply the global prioritization the central partition management scheduler is configured to determine an order in which at least some of the candidate partition management operations across the multiple nodes are to be performed based, at least in part, on the received information.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×