CPC G06F 16/24539 (2019.01) [G06F 16/2358 (2019.01); G06F 16/2393 (2019.01); G06F 16/248 (2019.01); G06F 18/2148 (2023.01); G06F 18/24765 (2023.01)] | 20 Claims |
1. A method for predicting a future quiet rewrite pattern of a materialized view, the method comprising:
tracking query rewrite activity for queries that are rewritten to access a materialized view;
storing object activity tracking data reflecting the query rewrite activity;
generating, based on the object activity tracking data, a database activity training set that contains a plurality of database activity examples, wherein each database activity example of the plurality of database activity examples contains a corresponding binary label that characterizes a database activity;
using the plurality of database activity examples to learn a classification model for the materialized view; and
using the learned classification model to predict whether query rewrite activity for queries rewritten to access the materialized view will occur during a future time interval;
wherein the method is performed by one or more computing devices.
|