Oracle Corporation
DRIVING MASSIVE SCALE OUT THROUGH REWRITES OF ANALYTICAL FUNCTIONS

Last updated:

Abstract:

According to an embodiment, a method includes rewriting a particular query to generate a rewritten query. The particular query specifies a window function operator, a particular input to the window function operator, and an analytical function. Rewriting the particular query includes assigning the particular input to an intermediate relation and replacing the window function operator with a replacement operator. The method further includes assigning to the replacement operator an aggregate function corresponding to the analytical function, and the intermediate relation. In this embodiment, the method also includes placing a join operator that joins the intermediate relation with an output of the replacement operator.

Status:
Application
Type:

Utility

Filling date:

19 Jul 2019

Issue date:

21 Jan 2021