发明授权
- 专利标题: RLE-aware optimization of SQL queries
- 专利标题(中): RLE感知SQL查询优化
-
申请号: US13248536申请日: 2011-09-29
-
公开(公告)号: US09171041B1公开(公告)日: 2015-10-27
- 发明人: Sivaramakrishnan Narayanan , Florian Michael Waas
- 申请人: Sivaramakrishnan Narayanan , Florian Michael Waas
- 申请人地址: US CA Palo Alto
- 专利权人: Pivotal Software, Inc.
- 当前专利权人: Pivotal Software, Inc.
- 当前专利权人地址: US CA Palo Alto
- 代理机构: Fish & Richardson P.C.
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
SQL queries are optimized to operate directly on compressed data (and obtain the correct result) rather than requiring that the data be first decompressed prior to processing a query. Certain characteristic pattern trees are mapped against a logical input query plan that includes certain logical operators such as a DECOMPRESS that precedes a JOIN or a GROUPBY in association with a COUNT to identify instances in the plan that match a characteristic pattern. Upon locating a match, the input query plan is transformed into a logically equivalent plan that operates correctly on compressed data, by analyzing the interplay of the semantics of logical query operations with the compressed data and substituting less costly structures and operations. DECOMPRESS operations are moved to operate subsequent to a JOIN or eliminated altogether, and COUNT operations are replaced by a different operation, such as SUM, that is logically equivalent for compressed data.
信息查询