Invention Grant
- Patent Title: Leveraging columnar encoding for query operations
-
Application No.: US15713365Application Date: 2017-09-22
-
Publication No.: US10572475B2Publication Date: 2020-02-25
- Inventor: Huagang Li , Angela Amor , Sankar Subramanian , Chun-Chieh Lin , Vinita Subramanian
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Becker Bingham LLP
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/30 ; G06F16/2453 ; G06F16/23 ; G06F16/2455

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.
Public/Granted literature
- US20180089261A1 LEVERAGING COLUMNAR ENCODING FOR QUERY OPERATIONS Public/Granted day:2018-03-29
Information query