Perbandingan Penerapan Relational Database dan Graph Database dalam Sistem Rekomendasi Film

Authors

  • Jennifer Florentina Institut Teknologi Harapan Bangsa
  • Hans Christian Kurniawan Institut Teknologi Harapan Bangsa

DOI:

https://doi.org/10.61769/telematika.v18i2.608

Keywords:

comparison database, recommendation system, graph database, Neo4j, relational database, PostgreSQL, content based filtering, collaborative filtering, hybrid filtering

Abstract

Recommendation systems are used in various applications, such as e-commerce, social media, and others in building recommendation systems that require databases as data storage. The importance of database selection on system performance has increased research on the application of various types of databases in recommendation systems, including this research. This research compares latency and memory usage between relational databases and graph databases in movie recommendation systems. The main indicators in this research are the threshold value for the similarity value limit and the recommendation system technique used. There are 3 techniques used, namely content-based filtering using Jaccard similarity, collaborative filtering using cosine similarity, and hybrid filtering which is a combination of content-based filtering and collaborative filtering. The database used is PostgreSQL for relational databases and Neo4j for graph databases. Based on testing at various threshold values, the latency and memory usage values of the two databases are compared. In the content-based filtering technique, PostgreSQL has a latency time of 120-150 seconds and memory usage of 119-120 MB, while Neo4j is 6-7 seconds and 41-43 MB. In the collaborative filtering technique, PostgreSQL has a latency time of 3-4 seconds and memory usage of 119 - 120 MB, while Neo4j is 4-5 seconds and 24 - 26 MB. In the hybrid filtering technique, PostgreSQL has a latency time of 3-4 seconds and a memory usage of 24 - 26 MB. In the hybrid filtering technique, PostgreSQL has a latency time of 125-150 seconds and memory usage of 119-120 MB, while Neo4j has 9-11 seconds and 32-34 MB.

Author Biographies

Jennifer Florentina, Institut Teknologi Harapan Bangsa

Informatics Study Program

Hans Christian Kurniawan, Institut Teknologi Harapan Bangsa

Informatics Study Program

References

F. Ricci, L. Rokach, B. Shapira, dan Kantor Paul B., Recommender Systems Handbook. Springer US, 2011. DOI: 10.1007/978-0-387-85820-3.

I. Robinson, J. Webber, dan E. Eifrem, Graph Databases, 2nd ed. O’Reilly Media, Inc., 2015.

L. Stanescu, “A comparison between a relational and a graph database in the context of a recommendation system,” dalam Position and Communication Papers of the 16th Conference on Computer Science and Intelligence Systems, PTI, Sep. 2021, hlm. 133–139. DOI: 10.15439/2021f33.

R. J. Sholichah, M. Imrona, dan A. Alamsyah, “Performance analysis of Neo4j and MySQL databases using public policies decision making data,” dalam 7th International Conference on Information Technology, Computer, and Electrical Engineering, ICITACEE 2020 - Proceedings, Institute of Electrical and Electronics Engineers Inc., Sep. 2020, hlm. 152–157. DOI: 10.1109/ICITACEE50144.2020.9239206.

Z. Nassima dan L. Zineb, “Towards the development of a recommender system for product delivery using graph databases and related algorithms,” International Journal of Systematic Innovation, vol. 7, no. 2, hlm. 48–60, 2022, DOI: 10.6977/IJoSI.202206_7(2).0004.

H. Lu, Z. Hong, dan M. Shi, “Analysis of film data based on Neo4j,” dalam Proceedings - 16th IEEE/ACIS International Conference on Computer and Information Science, ICIS 2017, Institute of Electrical and Electronics Engineers Inc., Jun. 2017, hlm. 675–677. DOI: 10.1109/ICIS.2017.7960078.

J. L. Harrington, Relational Database Design and Implementation. Morgan Kaufmann, 2016.

K. Falk, Practical Recommender Systems. Manning Publications Co., 2019.

M. Sarwat, R. Moraffah, M. F. Mokbel, dan J. L. Avery, “Database system support for personalized recommendation applications,” dalam 2017 IEEE 33rd International Conference on Data Engineering (ICDE), Apr. 2017, hlm. 1320–1331. [Daring]. Tersedia: https://github.com/DataSystemsLab/recdb-postgresql

R. Obe et al., PostgreSQL: Up and Running. O’Reilly Media, Inc., 2012.

R. van Bruggen dan P. Mohanta, Learning Neo4j: Run Blazingly Fast Queries on Complex Graph Datasets with The Power of the Neo4j Graph Database. Packt Publishing, 2014.

E. Zhang, J. Fiaidhi, dan S. Mohammed, “Social recommendation using graph database Neo4j: mini blog, Twitter social network graph case study,” International Journal of Future Generation Communication and Networking, vol. 10, no. 2, hlm. 9–20, Feb. 2017, DOI: 10.14257/ijfgcn.2017.10.2.02.

A. Kumar, “Implementing Real Time Recommendation Systems using Graph Algorithms & Exploring Graph Analytics in a Graph Database Platform (Neo4j),” Dissertation, Dublin Business School, 2018.

C. K. Raghavendra dan K. C. Srikantaiah, “Similarity based collaborative filtering model for movie recommendation systems,” dalam Proceedings - 5th International Conference on Intelligent Computing and Control Systems, ICICCS 2021, Institute of Electrical and Electronics Engineers Inc., May 2021, hlm. 1143–1147. DOI: 10.1109/ICICCS51141.2021.9432354.

P. E. N. Lutu, “Methods for speeding up recommender system computations using a graph database,” dalam Proceedings of the World Congress on Engineering 2021, Jul. 2021, hlm. 134–149. [Daring]. Tersedia: http://www.cs.up.ac.za/~plutu;

B. Ramzan et al., “An intelligent data analysis for recommendation systems using machine learning,” Sci Program, vol. 2019, 2019, DOI: 10.1155/2019/5941096.

S. Mahmud and T. Das Santa, “Oracle, MySQL, PostgreSQL, SQLite, SQL Server Performance based,” Daffodil International University Dhaka, 2019.

D. Fernandes dan J. Bernardino, “Graph databases comparison: Allegrograph, arangoDB, infinitegraph, Neo4J, and orientDB,” dalam Data 2018 - Proceedings of the 7th International Conference on Data Science, Technology and Applications, SciTePress, 2018, hlm. 373–380. DOI: 10.5220/0006910203730380.

Published

2024-02-27

Issue

Section

Articles