US 12,222,932 B1
Propagating resource scaling information between source and target data stores of a materialized view
Akshat Vig, Seattle, WA (US); Sharatkumar Nagesh Kuppahally, Issaquah, WA (US); and Bradley James Curran, Seattle, WA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Dec. 10, 2021, as Appl. No. 17/548,373.
Int. Cl. G06F 16/23 (2019.01)
CPC G06F 16/2393 (2019.01) [G06F 16/2358 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
at least one processor; and
a memory, storing program instructions that when executed by the at least one processor, cause the at least one processor to implement a materialized view management service (MVMS), the MVMS configured to:
receive, from a source data store, data changes in a source data object stored in the source data store, wherein the source data store automatically scales a resource allocation of the source data object;
send, to a target data store, view data changes to be applied to a materialized view of the source data object stored in the target data store, wherein view data changes are generated based at least in part on the data changes and a view definition of the materialized view;
receive, via a first interface of the MVMS, resource metadata about the source data object from the source data store, wherein the resource metadata indicates a change to the resource allocation of the source data object;
determine, based at least in part on the view definition, to update a resource allocation of the materialized view to handle an amount of data from the source data store after the change to the resource allocation of the source data object; and
generate, via a second interface of the MVMS, a resource change alert based at least in part on the change to the resource allocation of the source data object, wherein the resource change alert includes an auto-scaling instruction that specifies the update to a resource allocation of the materialized view in response to the change to the resource allocation of the source data object as the source data object is upstream of the materialized view in the target data store.