arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.06767cs.DB
收藏

Color:一个将图着色应用于子图基数估计的框架

Color: A Framework for Applying Graph Coloring to Subgraph Cardinality Estimation

Kyle Deeds, Diandre Sabale, Moe Kayali, Dan Suciu

AI总结:

针对图查询优化中基数估计易出现灾难性错误的问题,提出COLOR框架,利用图压缩理论生成捕获全局拓扑的紧凑摘要并进行关键优化,在保持快速推理和小内存占用的同时将准确率提升多达10$^3$倍。

摘要:

图工作负载对查询优化器提出了极具挑战性的问题。它们通常具有由完全多对多连接和复杂相关性组成的大型查询。这给传统的基数估计方法带来了巨大压力,这些方法在估计仅有少量连接的查询大小时通常会出现灾难性错误。为了克服这一点,我们提出了COLOR,一个用于子图基数估计的框架,该框架应用图压缩理论的见解来生成一个紧凑的摘要,以捕获数据图的全局拓扑结构。此外,我们确定了几项关键优化,使得即使对于大型查询图,也能在此摘要上进行可处理的估计。然后我们评估了该框架内的几种设计,发现它们在所有竞争方法中将准确率提高了多达10$^3$倍,同时保持了快速推理、小内存占用、高效构建以及在更新下的优雅降级。

英文摘要:

Graph workloads pose a particularly challenging problem for query optimizers. They typically feature large queries made up of entirely many-to-many joins with complex correlations. This puts significant stress on traditional cardinality estimation methods which generally see catastrophic errors when estimating the size of queries with only a handful of joins. To overcome this, we propose COLOR, a framework for subgraph cardinality estimation which applies insights from graph compression theory to produce a compact summary that captures the global topology of the data graph. Further, we identify several key optimizations that enable tractable estimation over this summary even for large query graphs. We then evaluate several designs within this framework and find that they improve accuracy by up to 10$^3$x over all competing methods while maintaining fast inference, a small memory footprint, efficient construction, and graceful degradation under updates.

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

↑