CPC G06F 16/2393 (2019.01) [G06F 16/2282 (2019.01); G06F 16/2445 (2019.01)] | 20 Claims |
1. A system, comprising:
one or more processors; and
a memory, that stores program instructions that, when executed by the at least one processor, cause the one or more processors to implement a database service, configured to:
receive a query that is directed to a materialized view created for a database;
rewrite the query to use a number of internal tables determined and created for the materialized view according to a materialized view definition from one or more tables of the database; and
perform the rewritten query using the number of internal tables to return a result for the query, wherein the number of internal tables are updated to provide an updated version of the materialized view for performing the rewritten query according to one or more stored procedures determined and created for updating the materialized view.
|