基于强化学习的多模型数据在RDBMS中的存储
Storing Multi-model Data in RDBMSs based on Reinforcement Learning
摘要:
如何统一管理各种数据是数据库领域的一个重要研究课题。为了解决这个问题,研究人员提出了多模型数据库,以支持在一个统一的平台上使用一个统一的查询语言的多个数据模型。然而,由于关系数据库在当前市场中占主导地位,因此用其他数据库替换它们是昂贵的。此外,由于关系数据库管理系统的理论和技术已经提高了几十年,这是很难用几年的时间来开发一个多模型数据库,可以与现有的关系数据库管理系统在处理安全性,查询优化,事务管理等。在本文中,我们重新考虑使用关系数据库存储和查询多模型数据。不幸的是,多模型数据结构的复杂性和平面关系表的简单性之间的不匹配使得这一点很困难。针对这一挑战,我们利用强化学习(RL)的方法来学习一个关系模式,通过与关系数据库管理系统的交互。本文提出了一种改进的Q学习算法\textit{Double Q-tables},以降低Q表的维数,提高学习效率。实验结果表明,我们的方法可以学习一个关系模式优于现有的多模型存储模式的查询时间和空间消耗。
英文摘要:
How to manage various data in a unified way is a significant research topic in the field of databases. To address this problem, researchers have proposed multi-model databases to support multiple data models in a uniform platform with a single unified query language. However, since relational databases are predominant in the current market, it is expensive to replace them with others. Besides, due to the theories and technologies of RDBMSs having been enhanced over decades, it is hard to use few years to develop a multi-model database that can be compared with existing RDBMSs in handling security, query optimization, transaction management, etc. In this paper, we reconsider employing relational databases to store and query multi-model data. Unfortunately, the mismatch between the complexity of multi-model data structure and the simplicity of flat relational tables makes this difficult. Against this challenge, we utilize the reinforcement learning (RL) method to learn a relational schema by interacting with an RDBMS. Instead of using the classic Q-learning algorithm, we propose a variant Q-learning algorithm, called \textit{Double Q-tables}, to reduce the dimension of the original Q-table and improve learning efficiency. Experimental results show that our approach could learn a relational schema outperforming the existing multi-model storage schema in terms of query time and space consumption.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。