Patent ID: 9171041
Filing Date: 2015-10-27
Classification: G06F

Abstract:
1. A computer-implemented method comprising: receiving a query plan that includes a first pattern of query operators that (i) includes a decompress query operator followed by another query operator, and (ii) is configured to operate directly on decompressed data; determining that the first pattern of query operators that (i) includes the decompress query operator followed by the other query operator, and (ii) is configured to operate directly on decompressed data, matches a second pattern of one or more query operators that (i) does not include a decompress query operator, and (ii) is configured to operate directly on compressed data; obtaining a transformed query plan by replacing, in the query plan, the first pattern of query operators that (i) includes the decompress operator followed by the other query operator, and (ii) is configured to operate on decompressed data, with the second pattern of one or more query operators that (i) does not include the decompress query operator, and (ii) is configured to operate directly on compressed data; and executing the transformed query plan, including executing the second pattern of one or more query operators that (i) does not include the decompress operator, and (ii) is configured to operate directly on compressed data, on compressed data.