Efficient evaluation of query expressions including grouping clauses
AssigneeOracle International Corporation
InventorsShasank K. Chavan, Dennis Lui, Allison L Holloway, Sheldon A. K. Lewis
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsShasank K. Chavan, Dennis Lui, Allison L Holloway, Sheldon A. K. Lewis
Estimating the term…
Techniques related to efficient evaluation of query expressions including grouping clauses are disclosed. Computing device(s) perform a method for aggregating a measure column vector (MCV) according to a plurality of grouping column vectors (GCVs). The MCV and each of the plurality of GCVs may be encoded. The method includes determining a plurality of actual grouping keys (AGKs) and generating a dense identifier (DI) mapping that maps the plurality of AGKs to a plurality of DIs. Each AGK occurs in the plurality of GCVs. Each DI corresponds to a respective workspace. Aggregating the MCV involves aggregating, in each workspace, one or more codes of the MCV that correspond to an AGK mapped to a DI corresponding to the workspace. For a first row of the MCV and the plurality of GCVs, aggregating the one or more codes includes generating a particular grouping key based on codes in the plurality of GCVs.
A method for aggregating a measure column vector according to a plurality of grouping column vectors, said measure column vector and each of said plurality of grouping column vectors being encoded column vectors, the method comprising:
One or more non-transitory storage media storing a sequence of instructions which, when executed by one or more computing devices, cause performance of a method for aggregating a measure column vector according to a plurality of grouping column vectors, said measure column vector and each of said plurality of grouping column vectors being encoded column vectors, the method comprising:
Dependencies are inferred from the claim text.