CIAO:一个客户端辅助数据加载的优化框架
CIAO: An Optimization Framework for Client-Assisted Data Loading
摘要:
数据加载一直是许多大数据应用程序最常见的性能瓶颈之一,特别是当它们运行在低效的人类可读格式(如JSON或CSV)上时。解析、验证、完整性检查和数据结构维护都是加载这些格式时计算开销很大的步骤。不管这些成本如何,由于高度选择性的谓词,许多记录可能在查询评估期间被过滤,从而导致计算浪费。同时,客户端的计算能力通常不被利用。在这里,我们将探讨在预过滤上投资有限的客户端周期,以加速数据加载并支持数据跳过以执行查询。在本文中,我们提出了CIAO,一个可调系统,使客户端与服务器的合作,使有效的部分加载和数据跳过给定的工作负载。我们提出了一个有效的算法,将选择一个接近最优的谓词集在给定的预算内推下。此外,CIAO将通过为不同的客户端设置不同的预算来解决客户端成本和服务器节省之间的权衡问题。我们实现了CIAO,并在三个真实世界的数据集上评估了其性能。我们的实验结果表明,该系统大大加快了数据加载高达21倍,查询执行高达23倍,并提高了端到端的性能高达19倍的预算内的1.0微秒的延迟每个记录的客户端。
英文摘要:
Data loading has been one of the most common performance bottlenecks for many big data applications, especially when they are running on inefficient human-readable formats, such as JSON or CSV. Parsing, validating, integrity checking and data structure maintenance are all computationally expensive steps in loading these formats. Regardless of these costs, many records may be filtered later during query evaluation due to highly selective predicates -- resulting in wasted computation. Meanwhile, the computing power of client ends is typically not exploited. Here, we explore investing limited cycles of clients on prefiltering to accelerate data loading and enable data skipping for query execution. In this paper, we present CIAO, a tunable system to enable client cooperation with the server to enable efficient partial loading and data skipping for a given workload. We proposed an efficient algorithm that would select a near-optimal predicate set to push down within a given budget. Moreover, CIAO will address the trade-off between client cost and server savings by setting different budgets for different clients. We implemented CIAO and evaluated its performance on three real-world datasets. Our experimental results show that the system substantially accelerates data loading by up to 21x and query execution by up to 23x and improves end-to-end performance by up to 19x within a budget of 1.0 microseconds latency per record on clients.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。