Abstract
For scenarios that application data stored separately in relational database and non-relational database, an establishment of a unified query abstraction layer for SQL and NoSQL database is proposed, which can query data from different database as from a single data source. By transforming NoSQL data into triples to merge the NoSQL data as a virtual relational into SQL database and the original NoSQL data is rebuilt by series of self-join operations of the triples. For scenes that PostgreSQL and MongoDB are used simultaneously, the above model is implemented and verified. Experimental results show that through an intermediate triple conversion and a series of self-join of the triples, a unified query abstraction model for SQL and NoSQL database is feasible. Keywords—Relational Data, Non-relational Data, Triple; Self-join, NoSQL query pattern SQL与 NoSQL数据库的统一查询模型的设计与实现
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.