×

Locking item ranges for creating a secondary index from an online table

  • US 9,875,270 B1
  • Filed: 09/18/2015
  • Issued: 01/23/2018
  • Est. Priority Date: 09/18/2015
  • Status: Active Grant
First Claim
Patent Images

1. A non-relational data store, comprising:

  • one or more computing devices that implement a storage node for the non-relational data store;

    the storage node, configured to;

    create a secondary index for a table that includes a plurality of items stored at the storage node, wherein the table is available for servicing access requests received during the creation of the secondary index, wherein to create the secondary index the storage engine is configured to;

    lock a range of the items such that access requests to update a portion of the table included in the range are not completed while the range is locked;

    generate a portion of the secondary index from the range of items; and

    upon completion of the generation, unlock the range of the items;

    wherein the lock, the generation, and the unlock are performed for different ranges of the items until the secondary index is complete, wherein a request to update the table directed to at least one of the different ranges that is received while the at least one range is locked is performed subsequent to the unlock of the at least one range.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×