Storing Multi-model Data in RDBMSs based on Reinforcement Learning

09/01/2021
by   Gongsheng Yuan, et al.
0

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 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/01/2021

MORTAL: A Tool of Automatically Designing Relational Storage Schemas for Multi-model Data through Reinforcement Learning

Considering relational databases having powerful capabilities in handlin...
research
08/16/2015

Schema Independent Relational Learning

Learning novel concepts and relations from relational databases is an im...
research
10/22/2020

Efficient RDF Graph Storage based on Reinforcement Learning

Knowledge graph is an important cornerstone of artificial intelligence. ...
research
10/03/2017

AutoMode: Relational Learning With Less Black Magic

Relational databases are valuable resources for learning novel and inter...
research
10/04/2017

A Comparative Analysis of Materialized Views Selection and Concurrency Control Mechanisms in NoSQL Databases

Increasing resource demands require relational databases to scale. While...
research
04/30/2021

BERT Meets Relational DB: Contextual Representations of Relational Databases

In this paper, we address the problem of learning low dimension represen...
research
12/28/2017

Reinforcement Learning with Analogical Similarity to Guide Schema Induction and Attention

Research in analogical reasoning suggests that higher-order cognitive fu...

Please sign up or login with your details

Forgot password? Click here to reset