Studi Komparatif Kinerja Kueri Pencarian pada MySQL dan PostgreSQL berdasarkan Volume Data yang Berbeda

  • Faisal Masri Maulana Sistem Informasi, Universitas Jambi, Indonesia
  • Defara Oda Rahma Aldora Sistem Informasi, Universitas Jambi, Indonesia
  • Qonita Ghina Anbarputri Sistem Informasi, Universitas Jambi, Indonesia
  • Aziz Effendi Lubis Sistem Informasi, Universitas Jambi, Indonesia
  • A. Rosyan Assiry Sistem Informasi, Universitas Jambi, Indonesia
Keywords: MySQL, PostgreSQL, Search Query, Pattern Matching, Database Performance

Abstract

The rapid growth of data in applications and information systems makes efficiency in data retrieval an important aspect for database performance. Inefficient text searching can lead to slow system response times and a reduced user experience. MySQL and PostgreSQL, which are commonly used open-source databases, have differences in how they process search queries. This research aims to compare the performance of the two databases when running text search queries with variations in data volume. The approach used in this study is a comparative experiment that focuses on measuring the query processing duration of SELECT queries in four different situations: case-sensitive, case-insensitive, regular expression application, and phonetic search using the Soundex algorithm. Testing was conducted using dummy data consisting of 100.000, 250.000, and 500.000 records, all with the same table structure and scenario. The results of this testing show that PostgreSQL performs better in case-sensitive and regular expression searches across all data sizes. MySQL provides better results in case-insensitive searches on small to medium-sized data, while PostgreSQL demonstrates consistent performance on large data. In terms of phonetic search, MySQL is faster in execution time, but PostgreSQL provides a higher level of search accuracy.

References

Widodo, “DATABASE MANAJEMEN SYSTEM (DBMS) BASIC CONCEPTS,” Idaaratul ‘Ulum(Jurnal Prodi MPI), vol. 6, no. 1, pp. 32–50, 2024, doi: https://doi.org/10.70688/idaarotululum.v6i01.386.

M. Aslyza, “MANAJEMEN DATA BERBASIS DATABASE: SOLUSI UNTUK PENYIMPANAN DAN AKSES DATA YANG LEBIH EFISIEN,” J. Ilm. Nusantara( JINU), vol. 2, no. 3, pp. 909–917, 2025, doi: https://doi.org/10.61722/jinu.v2i3.4900.

K. Y. Santika, E. Triandini, and P. D. W. Ayu, “Systematic Literature Review untuk Identifikasi Pemilihan Database Management System dalam Pengembangan Sistem,” in SEMINAR NASIONAL CORISINDO, 2023.

Red Gate Software Ltd, “DB-Engines Ranking,” db-engines.com. [Online]. Available: https://db-engines.com/en/ranking

F. A. N. Dhiana, Supriyono, A. Y. Badharudin, and A. Fauzan, “Implementasi Sistem Pengelolaan Program Mentoring Mahasiswa Baru Menggunakan Metode Prototyping,” Bull. Comput. Sci. Res., vol. 5, no. 4, pp. 287–297, 2025, doi: 10.47065/bulletincsr.v5i4.538.

J. V. Dachi and J. Suhada, “Implementasi Basis Data Sederhana Menggunakan MySQL / PostgreSQL,” Router J. Tek. Inform. dan Terap., vol. 3, no. 2, pp. 197–207, 2025, doi: https://doi.org/10.62951/router.v3i2.621.

F. P. Utama, R. M. H. Nurhadi, D. Fitria, and M. P. Ramadhan, “STRING MATCHING DENGAN METODE SEQUENTIAL SEARCHING DAN KONDISI LIKE PADA PENCARIAN JUDUL SKRIPSI,” J. Rekursif, vol. 9, no. 1, pp. 43–47, 2021, doi: https://doi.org/10.33369/rekursif.v9i1.14315.

J. M. Bintang, M. F. Ashshidiq, and H. F. Dzakhwan, “Penerapan Algoritma String Matching dan Regular Expression pada Aplikasi Kamus Besar Bahasa Indonesia ( KBBI ),” BIOS J. Teknol. Inf. dan Rekayasa Komput., vol. 4, no. 1, pp. 34–41, 2023, doi: https://doi.org/10.37148/bios.v4i1.57.

A. F. Siregar, “Perancang Aplikasi Ensiklopedia Budaya Indonesia Dengan Menerapkan Algoritma Crochemore-Perrin Untuk Pencarian Teks,” J. Glob. Tecnol. Comput., vol. 2, no. 1, pp. 16–23, 2022, [Online]. Available: https://doi.org/10.47065/jogtc.v2i1.2462

Muntahanah and Y. Darnita, “Aplikasi Pengarsipan Dokumen Menggunakan Metode String Matching ( Studi Kasus Perpustakaan SMP Negeri 5 Seluma ),” J. Inform. UPGRIS, vol. 5, no. 1, 2019, doi: https://doi.org/10.26877/jiu.v5i1.2895.

A. D. Praba and M. Safitri, “Studi Perbandingan Performansi antara Mysql dan Postgresql,” J. KHATULISTIWA Inform., vol. 8, no. 2, pp. 88–93, 2020, doi: https://doi.org/10.31294/jki.v8i2.8851.

S. H. Ahsa, M. B. Syahputra, A. F. F. M. Putri, and A. A. Prasetyo, “ANALISIS PERBANDINGAN PERFORMA ANTARA MySQL dan PostgreSQL,” in Prosiding Seminar Nasional Teknologi dan Sistem Informasi (SITASI), 2023, pp. 6–7.

Y. Y. Putra, O. Purwaningrum, and R. H. Winata, “PERBANDINGAN PERFORMA RESPON WAKTU KUERI MYSQL, POSTGRESQL, DAN MONGODB,” J. Sist. Inf. Dan Bisnis Cerdas, vol. 15, no. 1, pp. 39–48, 2022, doi: https://doi.org/10.33005/sibc.v15i1.2749.

Asmini, Ismawati, and A. Hendrawan, “STUDI KOMPARATIF TINGKAT PENDAPATAN PELAKU BISNIS YANG MENGGUNAKAN STRATEGI PEMASARAN OFFLINE DAN ONLINE (Studi Pada Pelaku Bisnis Thrifting Di Pasar Utan),” SAMALEWA (Jurnal Ris. dan Kaji. Manajemen), vol. 4, no. 2, pp. 293–302, 2024, doi: https://doi.org/10.58406/samalewa.v4i2.1824.

D. S. Budi and H. Syahrial, “Pengoptimalan Performa Database Pada Proses Transformasi Data Pada SQL Server,” Technomedia J., vol. 8, no. 3, pp. 78–90, 2024.

Published
2026-03-31
How to Cite
[1]
F. M. Maulana, D. O. R. Aldora, Q. G. Anbarputri, A. E. Lubis, and A. R. Assiry, “Studi Komparatif Kinerja Kueri Pencarian pada MySQL dan PostgreSQL berdasarkan Volume Data yang Berbeda”, JI, vol. 5, no. 1, pp. 23-30, Mar. 2026.