arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.02895cs.DBcs.LG
收藏

通过在线学习进行线性查询的选择性估计

Selectivity Estimation for Linear Queries via Online Learning

Duke University(杜克大学)

Fangzhu Shen, Debmalya Panigrahi, Sudeepa Roy

AI总结:

针对数据库中查询选择性估计问题,受在线学习启发,提出算法框架,以遗憾值衡量学习算法性能,建立基于直方图的线性查询在静态和动态数据库设置下遗憾值的上下界。

摘要:

近年来,基于学习的数据库选择性估计方法受到广泛关注。然而,这些方法的理论研究主要局限于静态数据库上的固定查询分布。在实际应用中,数据库和查询工作负载会随时间动态变化。本文提出了一种算法框架,用于在更一般的动态环境中学习查询的选择性。受在线学习的启发,我们通过遗憾值来衡量学习算法在这种环境下的性能,该遗憾值将学习算法产生的累积损失与最佳固定策略的累积损失进行比较。我们在标准损失函数下,针对基于直方图的线性查询,如点查询、范围查询和子集选择查询,在静态和动态数据库设置中建立了遗憾值的上下界。

英文摘要:

Learning-based approaches for selectivity estimation in databases have gained significant traction in recent years. However, theoretical studies of these learning-based approaches are essentially limited to fixed query distributions on static databases. In practice, both the underlying database and the query workload can dynamically change over time. In this work, we propose an algorithmic framework for learning selectivity of queries in this more general dynamic setup. Inspired by online learning, we measure the performance of the learning algorithm in this setting by its regret, which compares the cumulative loss incurred by the learning algorithm to that of the best fixed strategy. We establish upper and lower bounds on regret for histogram-based linear queries, such as point, range, and subset selection queries, under standard loss functions, in both static and dynamic database settings.

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

↑