US 12,346,327 B1
Compact hosting of database query processors using virtualization snapshots
Marc Brooker, Seattle, WA (US); Gourav Roy, Redmond, WA (US); James Alexander Morle, Dripping Springs, TX (US); Anthony Nicholas Liguori, Bainbridge Island, WA (US); and Marc Bowes, Seattle, WA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Mar. 31, 2023, as Appl. No. 18/194,578.
Int. Cl. G06F 16/2455 (2019.01); G06F 11/34 (2006.01); G06F 16/25 (2019.01); H04L 67/14 (2022.01)
CPC G06F 16/24553 (2019.01) [G06F 11/3423 (2013.01); G06F 16/256 (2019.01); H04L 67/14 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising: at least one processor; and a non-volatile memory storing one or more micro virtual machine (MicroVM) snapshots of respective query processors;
a volatile memory, storing program instructions that when executed by the at least one processor cause the at least one processor to implement idle query processor management for a host system for query processors of a database system, wherein the idle query processor management is configured to:
receive a request to access a database via a previously established connection from a client;
identify one of the MicroVM snapshots of the respective query processors with the previously established connection with the client after that one respective query processor was previously determined to be idle;
cause restoration of the MicroVM snapshot of the query processor into a MicroVM on a host system of the database system based on an origin snapshot that comprises one or more clean pages shared across multiple query processors; and
cause the restored query processor in the MicroVM on the host system to perform the request to access the database.