DASH
Repository logo
Communities & Collections
Browse DASH
DASH Stories
Statistics
  1. Home
  2. Faculty of Arts and Sciences
  3. FAS Scholarly Articles
  4. Joins on encoded and partitioned data

Joins on encoded and partitioned data

Thumbnail Image
Open/View files
28348353.pdf (469.7 KB)
Date
August 2014
Author(s)
Lee, Jae-Gil
Lohman, Guy
Morfonios, Konstantinos
Murthy, Keshava
Pandis, Ippokratis
Qiao, Lin
Raman, Vijayshankar
Samy, Vincent Kulandai
Sidle, Richard
Stolze, Knut
Zhang, Liping
Attaluri, Gopi
Barber, Ronald
Chainani, Naresh
Draese, Oliver
Ho, Frederick
Ydraios, Efstratios  
Kim, Min-Soo
Lightstone, Sam
DOI
10.14778/2733004.2733008
Publisher
Association for Computing Machinery (ACM)
The Harvard community has made this article openly available. Please share how this access benefits you.
Citation
Lee, Jae-Gil, Guy Lohman, Konstantinos Morfonios, Keshava Murthy, Ippokratis Pandis, Lin Qiao, Vijayshankar Raman, et al. 2014. “Joins on Encoded and Partitioned Data.” Proc. VLDB Endow. 7 (13) (August 1): 1355–1366. doi:10.14778/2733004.2733008. http://dx.doi.org/10.14778/2733004.2733008.
Abstract
Compression has historically been used to reduce the cost of storage, I/Os from that storage, and buffer pool utilization, at the expense of the CPU required to decompress data every time it is queried. However, significant additional CPU efficiencies can be achieved by deferring decompression as late in query processing as possible and performing query processing operations directly on the still-compressed data. In this paper, we investigate the benefits and challenges of performing joins on compressed (or encoded) data. We demonstrate the benefit of independently optimizing the compression scheme of each join column, even though join predicates relating values from multiple columns may require translation of the encoding of one join column into the encoding of the other. We also show the benefit of compressing "payload" data other than the join columns "on the fly," to minimize the size of hash tables used in the join. By partitioning the domain of each column and defining separate dictionaries for each partition, we can achieve even better overall compression as well as increased flexibility in dealing with new values introduced by updates. Instead of decompressing both join columns participating in a join to resolve their different compression schemes, our system performs a light-weight mapping of only qualifying rows from one of the join columns to the encoding space of the other at run time. Consequently, join predicates can be applied directly on the compressed data. We call this procedure encoding translation. Two alternatives of encoding translation are developed and compared in the paper. We provide a comprehensive evaluation of these alternatives using product implementations of each on the TPC-H data set, and demonstrate that performing joins on encoded and partitioned data achieves both superior performance and excellent compression.
Terms of Use
Pass Through
URI
https://nrs.harvard.edu/URN-3:HUL.INSTREPOS:37374173
Subjects

General Earth and Pla...

Water Science and Tec...

Geography, Planning a...

Collection
FAS Scholarly Articles
Metrics
Repository logo
  • CONTACT US
  • OSRDS
  • ABOUT DASH
  • DEPOSITING TO DASH
  • TERMS OF USE
  • REQUEST A WAIVER
  • TAKE DOWN POLICY
  • NAME CHANGE POLICY
  • HARVARD OA POLICIES
  • DASH SUBMITTER AGREEMENT
  • Accessibility
  • Privacy
Creative Commons License BY
Creative Commons Attribution 4.0 International License

Except where otherwise noted, this work is subject to a Creative Commons Attribution 4.0 International License,
which allows anyone to share and adapt our material as long as proper attribution is given.
For details and exceptions, see the Harvard Library Copyright Policy
©2024 Presidents and Fellows of Harvard College.