US 12,450,229 B1
Providing query units to support external analytics queries to a backup of a database
Nicholas Gordon, Seattle, WA (US); Akshat Vig, Medina, WA (US); Ravi Math, Redmond, WA (US); Shahzeb Farrukh, Bothell, WA (US); and Sangeeth Prem, Surrey (CA)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Sep. 30, 2022, as Appl. No. 17/937,422.
Int. Cl. G06F 16/2453 (2019.01); G06F 11/34 (2006.01); G06F 16/2455 (2019.01); G06F 16/2458 (2019.01)
CPC G06F 16/24532 (2019.01) [G06F 11/3409 (2013.01); G06F 16/24561 (2019.01); G06F 16/2471 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
one or more processors; and
a memory, storing program instructions that when executed by the one or more processors, cause the one or more processors to implement a non-relational database service, the non-relational database service configured to:
receive, via an interface that supports requests of an analytics service at the non-relational database service, a query for one or more items of a non-relational database hosted by the non-relational database service;
generate, based on the query, a list of query units, wherein query units comprise parallel units of work covering a range of keys for items of the non-relational database that is equal to or is a subset of the key range of a partition for a backup of the non-relational database in an object storage service external to the non-relational database service, and wherein the list of query units is generated using a collection-level compaction checkpoint containing metadata that comprises locations of partition-level checkpoints for the backup; and
return the list of query units that is generated.