×

Implicit prioritization to rate-limit secondary index creation for an online table

  • US 9,898,614 B1
  • Filed: 09/18/2015
  • Issued: 02/20/2018
  • Est. Priority Date: 09/18/2015
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • at least one processor;

    a memory, storing program instructions that when executed by the at least one processor cause the at least one processor to implement a storage host for a data store;

    the storage host, configured to;

    receive a request to create a secondary index for a table stored in the data store, wherein the table is available for servicing access requests using a primary key, and wherein the secondary index provides an alternative access schema for the table in addition to the primary key;

    in response to receipt of the request, incrementally perform a plurality of indexing operations to create the secondary index while the table remains available for servicing access requests using the primary key, wherein to incrementally perform the indexing operations, the storage engine is configured to;

    prior to performance of individual ones of the indexing operations;

    verify that utilization of available capacity to perform the indexing operation is within a capacity limitation for performance of the indexing operations, wherein the capacity limitation is a portion of a total capacity of a storage device that stores at least a portion of the table to process access requests directed to the storage device;

    in response to a determination that the utilization of the available capacity to perform the indexing operation exceeds the capacity limitation, throttle performance of the indexing operation; and

    wherein at least one of the indexing operations is throttled.

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