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 条
  • [41] Towards Compiling Graph Queries in Relational Engines
    Tahboub, Ruby Y.
    Wu, Xilun
    Essertel, Gregory M.
    Rompf, Tiark
    [J]. PROCEEDINGS OF THE 17TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON DATABASE PROGRAMMING LANGUAGES (DBPL '19), 2019, : 30 - 41
  • [42] Efficient Relational Techniques for Processing Graph Queries
    Sherif Sakr
    Ghazi Al-Naymat
    [J]. Journal of Computer Science and Technology, 2010, 25 : 1237 - 1255
  • [43] Relational and graph queries over a transition system
    Boudaoud, Siham Rim
    Es-Salhi, Khaoula
    Ribaud, Vincent
    Teodorov, Ciprian
    [J]. IEEE EUROCON 2015 - INTERNATIONAL CONFERENCE ON COMPUTER AS A TOOL (EUROCON), 2015, : 243 - 248
  • [44] Efficient Relational Techniques for Processing Graph Queries
    Sherif Sakr
    Ghazi Al-Naymat
    [J]. Journal of Computer Science & Technology, 2010, 25 (06) : 1237 - 1255
  • [45] Formalising openCypher Graph Queries in Relational Algebra
    Marton, Jozsef
    Szarnyas, Gabor
    Varro, Daniel
    [J]. ADVANCES IN DATABASES AND INFORMATION SYSTEMS, ADBIS 2017, 2017, 10509 : 182 - 196
  • [46] Efficient Relational Techniques for Processing Graph Queries
    Sakr, Sherif
    Al-Naymat, Ghazi
    [J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2010, 25 (06) : 1237 - 1255
  • [47] Using Functional Dependencies in Conversion of Relational Databases to Graph Databases
    Megid, Youmna A.
    El-Tazi, Neamat
    Fahmy, Aly
    [J]. DATABASE AND EXPERT SYSTEMS APPLICATIONS (DEXA 2018), PT II, 2018, 11030 : 350 - 357
  • [48] COMPLEX OBJECTS IN RELATIONAL DATABASES
    VALDURIEZ, P
    [J]. TSI-TECHNIQUE ET SCIENCE INFORMATIQUES, 1987, 6 (05): : 405 - 418
  • [49] COMPLEX OBJECTS FOR RELATIONAL DATABASES
    BARSALOU, T
    WIEDERHOLD, G
    [J]. COMPUTER-AIDED DESIGN, 1990, 22 (08) : 458 - 468
  • [50] Top-k selection queries over relational databases:: Mapping strategies and performance evaluation
    Bruno, N
    Chaudhuri, S
    Gravano, L
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2002, 27 (02): : 153 - 187