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

使用深度强化学习的自动数据库管理案例

The Case for Automatic Database Administration using Deep Reinforcement Learning

Big Data Analytics Group(大数据分析组);Saarland Informatics Campus(萨尔兰信息学园区);https://infosys.uni-saarland.de(萨尔兰大学信息系统)

Ankur Sharma, Felix Martin Schuhknecht, Jens Dittrich

摘要:

像任何大型软件系统一样,一个成熟的DBMS提供了大量的配置旋钮。这些范围从静态初始化参数(例如缓冲区大小、并发程度或复制级别)到复杂的运行时决策(例如在特定列上创建二级索引或重新组织存储的物理布局)。为了简化配置,工业级DBMS通常附带各种咨询工具,为给定的工作负载和机器提供建议。然而,现实表明,实际的配置、调优和维护通常仍然是由人类管理员依靠直觉和经验完成的。最近关于深度强化学习的工作在解决需要这种直觉的问题方面显示出非常有希望的结果。例如,它已经非常成功地应用于学习如何玩具有巨大搜索空间的复杂游戏。受这些成就的激励,在这项工作中,我们将探索如何深度强化学习可以用来管理DBMS。首先,我们将描述如何使用深度强化学习通过定义问题环境来自动调优任意软件系统(如DBMS)。其次,我们在索引选择的具体示例中展示了NoDBA的概念,并评估了它为给定工作负载推荐索引的效果。

英文摘要:

Like any large software system, a full-fledged DBMS offers an overwhelming amount of configuration knobs. These range from static initialisation parameters like buffer sizes, degree of concurrency, or level of replication to complex runtime decisions like creating a secondary index on a particular column or reorganising the physical layout of the store. To simplify the configuration, industry grade DBMSs are usually shipped with various advisory tools, that provide recommendations for given workloads and machines. However, reality shows that the actual configuration, tuning, and maintenance is usually still done by a human administrator, relying on intuition and experience. Recent work on deep reinforcement learning has shown very promising results in solving problems, that require such a sense of intuition. For instance, it has been applied very successfully in learning how to play complicated games with enormous search spaces. Motivated by these achievements, in this work we explore how deep reinforcement learning can be used to administer a DBMS. First, we will describe how deep reinforcement learning can be used to automatically tune an arbitrary software system like a DBMS by defining a problem environment. Second, we showcase our concept of NoDBA at the concrete example of index selection and evaluate how well it recommends indexes for given workloads.

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

↑