Performance of Graph and Relational Databases in Complex Queries

被引:7
|
作者
Kotiranta, Petri [1 ]
Junkkari, Marko [1 ]
Nummenmaa, Jyrki [1 ]
机构
[1] Tampere Univ, Fac Informat Technol & Commun Sci, Comp Sci, Tampere 33100, Finland
来源
APPLIED SCIENCES-BASEL | 2022年 / 12卷 / 13期
关键词
graph database; relational database; performance; complex queries; Neo4J; MariaDB; MySQL; LANGUAGE;
D O I
10.3390/app12136490
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
In developing NoSQL databases, a major motivation is to achieve better efficient query performance compared with relational databases. The graph database is a NoSQL paradigm where navigation is based on links instead of joining tables. Links can be implemented as pointers, and following a pointer is a constant time operation, whereas joining tables is more complicated and slower, even in the presence of foreign keys. Therefore, link-based navigation has been seen as a more efficient query approach than using join operations on tables. Existing studies strongly support this assumption. However, query complexity has received less attention. For example, in enterprise information systems, queries are usually complex so data need to be collected from several tables or by traversing paths of graph nodes of different types. In the present study, we compared the query performance of a graph-based database system (Neo4j) and relational database systems (MySQL and MariaDB). The effect of different efficiency issues (e.g., indexing and optimization) were included in the comparison in order to investigate the most efficient solutions for different query types. The outcome is that although Neo4j is more efficient for simple queries, MariaDB is essentially more efficient when the complexity of queries increases. The study also highlighted how dramatically the efficiency of relational database has grown during the last decade.
引用
收藏
页数:16
相关论文
共 50 条
  • [1] Tackling Complex Queries to Relational Databases
    Popescu, Octavian
    Ngoc Phuoc An Vo
    Sheinin, Vadim
    Khorashani, Elahe
    Yeo, Hangu
    [J]. INTELLIGENT INFORMATION AND DATABASE SYSTEMS, ACIIDS 2019, PT I, 2019, 11431 : 688 - 701
  • [2] Concurrent Access Performance Comparison Between Relational Databases and Graph NoSQL Databases for Complex Algorithms
    Lupu, Elena
    Olteanu, Adriana
    Ionita, Anca Daniela
    [J]. Applied Sciences (Switzerland), 2024, 14 (21):
  • [3] A graph-theoretic approach to optimize keyword queries in relational databases
    Jaehui Park
    Sang-goo Lee
    [J]. Knowledge and Information Systems, 2014, 41 : 843 - 870
  • [4] A graph-theoretic approach to optimize keyword queries in relational databases
    Park, Jaehui
    Lee, Sang-goo
    [J]. KNOWLEDGE AND INFORMATION SYSTEMS, 2014, 41 (03) : 843 - 870
  • [5] POLYNOMIAL QUERIES TO RELATIONAL DATABASES
    LIVCHAK, AB
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 1985, 11 (02) : 107 - 112
  • [6] The Application of Graph Theory and Adjacency Lists to Create Parallel Queries to Relational Databases
    Shichkina, Yulia
    Kupriyanov, Mikhail
    Shevsky, Vladislav
    [J]. INTERNET OF THINGS, SMART SPACES, AND NEXT GENERATION NETWORKS AND SYSTEMS, NEW2AN 2018, 2018, 11118 : 138 - 149
  • [7] Regular Queries on Graph Databases
    Juan L. Reutter
    Miguel Romero
    Moshe Y. Vardi
    [J]. Theory of Computing Systems, 2017, 61 : 31 - 83
  • [8] Regular Queries on Graph Databases
    Reutter, Juan L.
    Romero, Miguel
    Vardi, Moshe Y.
    [J]. THEORY OF COMPUTING SYSTEMS, 2017, 61 (01) : 31 - 83
  • [9] INTERPRETATION OF STATISTICAL QUERIES TO RELATIONAL DATABASES
    DATRI, A
    RICCI, FL
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1989, 339 : 246 - 258
  • [10] Fuzzy Aggregation Queries in Relational Databases
    Ye, Xiaoling
    Wang, Hui
    Chen, Yifei
    [J]. ADVANCES IN SCIENCE AND ENGINEERING, PTS 1 AND 2, 2011, 40-41 : 195 - 200