US Patent:
20180089261, Mar 29, 2018
Inventors:
- Redwood Shores CA, US
ANGELA AMOR - Menlo Park CA, US
SANKAR SUBRAMANIAN - Cupertino CA, US
CHUN-CHIEH LIN - San Jose CA, US
VINITA SUBRAMANIAN - Campbell CA, US
International Classification:
G06F 17/30
Abstract:
Techniques are described for leveraging column dictionaries of tables for join, group-by and expression evaluation operations. In an embodiment, a table is stored in one or more data units, each data unit's metadata containing dictionaries for stored columns. Rather than storing unencoded column values, the data units may store columns as column vectors of dictionary-encoded values, in an embodiment. When performing a join operation, a matching of values may be performed on the build-side table using the unencoded, unencoded, values stored in the join-key dictionary(s) of the probe-side table, thus, significantly reducing the number of searching and matching operations. In an embodiment, a group-by operation may be executed by performing partial aggregations based on unique group-by key values as stored in the one or more group-by key dictionaries. For an expression evaluation, only a single evaluation may be performed for each unique combination of expression-key values in a data unit by leveraging the one or more expression-key dictionaries.