| CPC G06F 16/24539 (2019.01) [G06F 16/24537 (2019.01)] | 20 Claims |

|
1. A method comprising:
storing, in a database managed by a database server, a view definition of an unmaterialized view;
wherein the view definition of the unmaterialized view specifies a join between two or more base tables;
wherein the database does not store, separate from the two or more base tables, any copy of data from the two or more base tables for the unmaterialized view;
based on the view definition, determining data for source-rows of the unmaterialized view;
creating, within the database, an index that indexes the source-rows of the unmaterialized view based on the data determined for the source-rows of the unmaterialized view; and
using the index to answer queries that target the unmaterialized view;
wherein the method is performed by one or more computing devices.
|