Kyriakos Koritsoglou, Petros Laskas, V. Patras, A. Boursianis, Konstantinos Grigoriadis, I. Fudos
{"title":"A bi-directional shortest path calculation speed up technique for RDBMS","authors":"Kyriakos Koritsoglou, Petros Laskas, V. Patras, A. Boursianis, Konstantinos Grigoriadis, I. Fudos","doi":"10.1109/SEEDA-CECNSM57760.2022.9932973","DOIUrl":null,"url":null,"abstract":"In Relational Database Management Systems (RDBMS) the representation and storage of graph datasets is achieved by using two data tables. One representing the nodes’ data and another for the edges’ data of the graph. Using this model every search process in a big data volume requires multiple joins of large data tables, which significantly reduces their performance. The increasing use of graph datasets in various computer science fields such as (big data, social and computer networks, networks, Semantic Web, knowledge graphs, biological networks, and road networks) creates the need to research methods that will improve the performance of RDBMS when managing this type of data. In this paper, unlike most of the solutions proposed in the literature to date, a purely relational approach is presented using only the native RDBMS query analyzer and not either aggregate functions not implemented in all RDBMSs or an additional plugin layer that analyzes and processes the graph queries in order to translate them into the corresponding SQL versions. With the proposed solution we proved that by designing a bi-directional BFS algorithm that passes through properly selected intermediate pivot points, it is possible to query graph datasets significantly larger than those a complex SQL query can handle, with no major overhead.","PeriodicalId":68279,"journal":{"name":"计算机工程与设计","volume":"492 ","pages":"1-4"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"计算机工程与设计","FirstCategoryId":"1093","ListUrlMain":"https://doi.org/10.1109/SEEDA-CECNSM57760.2022.9932973","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In Relational Database Management Systems (RDBMS) the representation and storage of graph datasets is achieved by using two data tables. One representing the nodes’ data and another for the edges’ data of the graph. Using this model every search process in a big data volume requires multiple joins of large data tables, which significantly reduces their performance. The increasing use of graph datasets in various computer science fields such as (big data, social and computer networks, networks, Semantic Web, knowledge graphs, biological networks, and road networks) creates the need to research methods that will improve the performance of RDBMS when managing this type of data. In this paper, unlike most of the solutions proposed in the literature to date, a purely relational approach is presented using only the native RDBMS query analyzer and not either aggregate functions not implemented in all RDBMSs or an additional plugin layer that analyzes and processes the graph queries in order to translate them into the corresponding SQL versions. With the proposed solution we proved that by designing a bi-directional BFS algorithm that passes through properly selected intermediate pivot points, it is possible to query graph datasets significantly larger than those a complex SQL query can handle, with no major overhead.
期刊介绍:
Computer Engineering and Design is supervised by China Aerospace Science and Industry Corporation and sponsored by the 706th Institute of the Second Academy of China Aerospace Science and Industry Corporation. It was founded in 1980. The purpose of the journal is to disseminate new technologies and promote academic exchanges. Since its inception, it has adhered to the principle of combining depth and breadth, theory and application, and focused on reporting cutting-edge and hot computer technologies. The journal accepts academic papers with innovative and independent academic insights, including papers on fund projects, award-winning research papers, outstanding papers at academic conferences, doctoral and master's theses, etc.