| CPC G06F 11/1469 (2013.01) [G06F 11/1451 (2013.01); G06F 11/1464 (2013.01); G06F 2201/80 (2013.01)] | 15 Claims |

|
1. A system comprising:
a backup layer comprising one or more data storage devices, the backup layer comprising:
a first backup location storing a backup of a first shard of a first database table of a database, the first shard including a first key range of the first database table; and
a second backup location storing a backup of a second shard of the first database table, the second shard including a second key range of the first database table;
a storage layer comprising a plurality of storage nodes comprising respective processing units and data storage devices; and
a manager node storing metadata associating a new tenant with the first shard and the second shard,
the manager node to:
receive a first request to access the first shard from a requestor;
in response to the first request:
determine based on the metadata that the first shard is not stored in any one of the plurality of other storage nodes; and
in response to the determination:
issue an instruction to recover the first shard to a first storage node of the plurality of storage nodes from the first backup location; and
return an identifier of the first storage node to the requestor.
|