arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.05482cs.DB
收藏

高效紧凑的单页公式图

Efficient and Compact Spreadsheet Formula Graphs

Dixin Tang, Fanchao Chen, Christopher De Leon, Tana Wattanawaroon, Jeaseok Yun, Srinivasan Seshadri, Aditya G. Parameswaran

摘要:

电子表格是最流行的数据分析工具之一,其中用户可以将计算表达为公式和数据。随后的依赖关系以公式图的形式进行跟踪。高效地查询和维护这些公式图对于跨多个设置的交互性至关重要。不幸的是,公式图通常很大且很复杂,因此查询和维护它们非常耗时,降低了交互性。我们提出了TACO,一个框架,有效地压缩公式图,从而减少查询和维护的时间。TACO的效率源于一个关键的电子表格属性:表格局部性,这意味着彼此靠近的单元格可能具有相似的公式结构。我们利用四个这样的表格本地化的模式,并开发算法,使用这些模式压缩公式图,直接查询压缩图不解压,并在更新过程中增量维护图。我们将TACO集成到一个开源的电子表格系统中,并表明TACO可以显着减少公式图的大小。对于查询公式图,加速TACO在我们的框架和商业电子表格系统中实现的基线分别高达34,972倍和632倍。

英文摘要:

Spreadsheets are one of the most popular data analysis tools, wherein users can express computation as formulae alongside data. The ensuing dependencies are tracked as formula graphs. Efficiently querying and maintaining these formula graphs is critical for interactivity across multiple settings. Unfortunately, formula graphs are often large and complex such that querying and maintaining them is time-consuming, reducing interactivity. We propose TACO, a framework for efficiently compressing formula graphs, thereby reducing the time for querying and maintenance. The efficiency of TACO stems from a key spreadsheet property: tabular locality, which means that cells close to each other are likely to have similar formula structures. We leverage four such tabular locality-based patterns and develop algorithms for compressing formula graphs using these patterns, directly querying the compressed graph without decompression, and incrementally maintaining the graph during updates. We integrate TACO into an open-source spreadsheet system and show that TACO can significantly reduce formula graph sizes. For querying formula graphs, the speedups of TACO over a baseline implemented in our framework and a commercial spreadsheet system are up to 34,972x and 632x, respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑