A Performance Benchmark for the PostgreSQL and MySQL Databases

被引:1
作者
Salunke, Sanket Vilas [1 ]
Ouda, Abdelkader [1 ]
机构
[1] Western Univ, Dept Elect & Comp Engn, London, ON N6A 5B9, Canada
关键词
benchmark; postgreSQL; mySQL; database; biometrics;
D O I
10.3390/fi16100382
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This study highlights the necessity for efficient database management in continuous authentication systems, which rely on large-scale behavioral biometric data such as keystroke patterns. A benchmarking framework was developed to evaluate the PostgreSQL and MySQL databases, minimizing repetitive coding through configurable functions and variables. The methodology involved experiments assessing select and insert queries under primary and complex conditions, simulating real-world scenarios. Our quantified results show PostgreSQL's superior performance in select operations. In primary tests, PostgreSQL's execution time for 1 million records ranged from 0.6 ms to 0.8 ms, while MySQL's ranged from 9 ms to 12 ms, indicating that PostgreSQL is about 13 times faster. For select queries with a where clause, PostgreSQL required 0.09 ms to 0.13 ms compared to MySQL's 0.9 ms to 1 ms, making it roughly 9 times more efficient. Insert operations were similar, with PostgreSQL at 0.0007 ms to 0.0014 ms and MySQL at 0.0010 ms to 0.0030 ms. In complex experiments with simultaneous operations, PostgreSQL maintained stable performance (0.7 ms to 0.9 ms for select queries during inserts), while MySQL's performance degraded significantly (7 ms to 13 ms). These findings underscore PostgreSQL's suitability for environments requiring low data latency and robust concurrent processing capabilities, making it ideal for continuous authentication systems.
引用
收藏
页数:22
相关论文
共 50 条
  • [31] Performance of databases in IoT applications
    Muniswamaiah, Manoj
    Agerwala, Tilak
    Tappert, Charles C.
    2020 7TH IEEE INTERNATIONAL CONFERENCE ON CYBER SECURITY AND CLOUD COMPUTING (CSCLOUD 2020)/2020 6TH IEEE INTERNATIONAL CONFERENCE ON EDGE COMPUTING AND SCALABLE CLOUD (EDGECOM 2020), 2020, : 190 - 192
  • [32] PHYSICAL PERFORMANCE TUNING OF DATABASES
    Sabau, Gheorghe
    Moleavin, Radu Stefan
    INTERNATIONAL CONFERENCE ON INFORMATICS IN ECONOMY, 2012, : 158 - 162
  • [33] Performance of AIS geoinformation extraction using SQL and NoSQL TranStat databases
    Czaplinski, Wojciech
    Gasowski, Wojciech
    SCIENTIFIC JOURNALS OF THE MARITIME UNIVERSITY OF SZCZECIN-ZESZYTY NAUKOWE AKADEMII MORSKIEJ W SZCZECINIE, 2022, 71 (143): : 93 - 101
  • [34] Performance Analysis of DRAM-SSD and HDD According to the Each Environment on MYSQL
    Song, Hyun-Ju
    Lee, Young-Hun
    Cheong, Seung-Kook
    COMMUNICATION AND NETWORKING, PT II, 2011, 266 : 330 - +
  • [35] Relative Performance of Various Types of Repositories for MySQL Archive Backup and Restore Operations
    Petrov, Pavel
    Kuyumdzhiev, Ivan
    Dimitrov, Georgi
    Kremenska, Adelina
    INTERNATIONAL JOURNAL OF ONLINE AND BIOMEDICAL ENGINEERING, 2022, 18 (13) : 152 - 159
  • [36] Architecture and Performance Characteristics of a PostgreSQL Implementation of the TPC-E and TPC-V Workloads
    Bond, Andrew
    Johnson, Douglas
    Kopczynski, Greg
    Taheri, H. Reza
    PERFORMANCE CHARACTERIZATION AND BENCHMARKING, 2014, 8391 : 77 - 92
  • [37] Research and Design of the High-performance Cluster Architecture Based on the MySQL and NoSQL
    Zhang, YongQiang
    Li, WenMing
    ADVANCED MATERIALS AND ITS APPLICATION, 2012, 460 : 313 - 316
  • [38] Performance Analysis of MySQL Partition, Hive Partition-Bucketing and Apache Pig
    Kumar, A. Sunny
    2016 1ST INDIA INTERNATIONAL CONFERENCE ON INFORMATION PROCESSING (IICIP), 2016,
  • [39] Performance Evaluation of Distributed Database on PC Cluster Computers using MySQL Cluster
    Pukdesree, Sorapak
    Lacharoj, Vitalwonhyo
    Sirisang, Parinya
    WORLD CONGRESS ON ENGINEERING AND COMPUTER SCIENCE, VOLS 1 AND 2, 2010, : 97 - 100
  • [40] An Empirical Performance Comparison between MySQL and MongoDB on Analytical Queries in the COMEX Database
    Gomes, Augusto
    Lopes, Vitor
    Ribeiro, Edward
    Lima, Jorge
    Costa, Wagner
    Garcia, Luis
    Holanda, Maristela
    PROCEEDINGS OF 2021 16TH IBERIAN CONFERENCE ON INFORMATION SYSTEMS AND TECHNOLOGIES (CISTI'2021), 2021,