| dc.contributor.author | Gao, Jenny | |
| dc.contributor.author | Ding, Jialin | |
| dc.contributor.author | Sudhir, Sivaprasad | |
| dc.contributor.author | Madden, Samuel | |
| dc.date.accessioned | 2024-07-09T16:30:32Z | |
| dc.date.available | 2024-07-09T16:30:32Z | |
| dc.date.issued | 2024-06-09 | |
| dc.identifier.isbn | 979-8-4007-0680-6 | |
| dc.identifier.uri | https://hdl.handle.net/1721.1/155538 | |
| dc.description | aiDM ’24, June 14, 2024, Santiago, AA, Chile | en_US |
| dc.description.abstract | To improve the performance of scanning and filtering, modern analytic data systems such as Amazon Redshift and Databricks Delta Lake give users the ability to sort a table using a Z-order, which maps each row to a "Z-value" by interleaving the binary representations of the row's attributes, then sorts rows by their Z-values. These Z-order layouts essentially sort the table by multiple columns simultaneously and can achieve superior performance to single-column sort orders when the user's queries filter over multiple columns. However, the user shoulders the burden of manually selecting the columns to include in the Z-order, and a poor choice of columns can significantly degrade performance. Furthermore, these systems treat all columns included in the Z-order as equally important, which often does not result in the best performance due to the unequal impact that different columns have on query performance. In this work, we investigate the performance impact of using Z-orders that place unequal importance on columns: instead of using an equal number of bits from each column in the Z-value interleaving, we allow unequal bit allocation. We introduce a technique that uses Bayesian optimization to automatically learn the best bit allocation for a Z-order layout on a given dataset and query workload. Z-order layouts using our learned bit allocations outperform equal-bit Z-orders by up to 1.6× in query runtime and up to 2× in rows scanned. | en_US |
| dc.publisher | ACM | en_US |
| dc.relation.isversionof | 10.1145/3663742.3663975 | en_US |
| dc.rights | Creative Commons Attribution | en_US |
| dc.rights.uri | https://creativecommons.org/licenses/by/4.0/ | en_US |
| dc.source | Association for Computing Machinery | en_US |
| dc.title | Learning Bit Allocations for Z-Order Layouts in Analytic Data Systems | en_US |
| dc.type | Article | en_US |
| dc.identifier.citation | Gao, Jenny, Ding, Jialin, Sudhir, Sivaprasad and Madden, Samuel. 2024. "Learning Bit Allocations for Z-Order Layouts in Analytic Data Systems." | |
| dc.contributor.department | Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory | |
| dc.identifier.mitlicense | PUBLISHER_CC | |
| dc.eprint.version | Final published version | en_US |
| dc.type.uri | http://purl.org/eprint/type/ConferencePaper | en_US |
| eprint.status | http://purl.org/eprint/status/NonPeerReviewed | en_US |
| dc.date.updated | 2024-07-01T08:00:58Z | |
| dc.language.rfc3066 | en | |
| dc.rights.holder | The author(s) | |
| dspace.date.submission | 2024-07-01T08:00:58Z | |
| mit.license | PUBLISHER_CC | |
| mit.metadata.status | Authority Work and Publication Information Needed | en_US |