×

Storage device selection for database partition replicas

  • US 9,053,167 B1
  • Filed: 06/19/2013
  • Issued: 06/09/2015
  • Est. Priority Date: 06/19/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 one or more partitions, and wherein to maintain the data in the one or more partitions, the distributed database service is configured to store two or more replicas of each of the one or more partitions on respective storage devices or logical storage volumes of respective ones of the plurality of storage nodes;

    wherein an administrative component of the distributed database service is configured to;

    store metadata about each of the plurality of storage nodes, wherein the metadata about each storage node comprises an indication of an amount of provisioned throughput capacity or an amount of available throughput capacity for the storage node;

    determine that a given one of the plurality of storage nodes is a potential host for a particular partition replica; and

    in response to said determining, initiate storage of the particular partition replica on the given storage node;

    wherein to determine that the given storage node is a potential host for a particular partition replica, the administrative component is configured to;

    receive an indication from the given storage node that the given storage node has sufficient storage capacity to host the particular partition replica; and

    determine that the given storage node is a potential host for a particular partition replica based, at least in part, on the received indication and the stored metadata.

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