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 条
  • [21] A Comparison of Database Performance of MariaDB and MySQL with OLTP Workload
    Tongkaw, Sasalak
    Tongkaw, Aumnat
    2016 IEEE CONFERENCE ON OPEN SYSTEMS, 2016, : 117 - 119
  • [22] Benchmarking the Operation Times of NoSQL and MySQL Databases for Python']Python Clients
    Reichardt, Mike
    Gundall, Michael
    Schotten, Hans D.
    IECON 2021 - 47TH ANNUAL CONFERENCE OF THE IEEE INDUSTRIAL ELECTRONICS SOCIETY, 2021,
  • [23] Securing Relational Databases against Security Vulnerabilities: A Case of Microsoft SQL Server and PostgreSQL
    Kilavo, Hassan
    Mrutu, Salehe, I
    Dudu, Robert G.
    JOURNAL OF APPLIED SECURITY RESEARCH, 2023, 18 (03) : 421 - 435
  • [24] A SPARQL Benchmark for Distributed Databases in IoT Environments
    Warnke, Benjamin
    Mantler, Johann
    Groppe, Sven
    Sehgelmeble, Yuri Cotrado
    Fischer, Stefan
    PROCEEDINGS OF THE INTERNATIONAL WORKSHOP ON BIGIG DATA IN EMERGENT DISTRIBUTED ENVIRONMENTS (BIDEDE 2022), 2022,
  • [25] TPC-BiH: A Benchmark for Bitemporal Databases
    Kaufmann, Martin
    Fischer, Peter M.
    May, Norman
    Tonder, Andreas
    Kossmann, Donald
    PERFORMANCE CHARACTERIZATION AND BENCHMARKING, 2014, 8391 : 16 - 31
  • [26] Extending the View Updatability of Relational Databases from Set Semantics to Bag Semantics and Its Implementation on PostgreSQL
    Masunaga, Yoshifumi
    Nagata, Yugo
    Ishii, Tatsuo
    PROCEEDINGS OF THE 12TH INTERNATIONAL CONFERENCE ON UBIQUITOUS INFORMATION MANAGEMENT AND COMMUNICATION (IMCOM 2018), 2018,
  • [27] Performance Issues of Hospital System Using MySQL
    Kohli, Narendra
    Verma, Nishchal K.
    PROCEEDINGS OF 2010 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY (ICCSIT 2010), VOL 6, 2010, : 497 - 501
  • [28] Hive and MySQL - Query performance comparison for a multidimensional model
    Mariani, Cristiane
    Merces, Marcella
    Holand, Maristela
    Ribeiro, Edward de Oliveira
    Victorino, Marcio C.
    2022 17TH IBERIAN CONFERENCE ON INFORMATION SYSTEMS AND TECHNOLOGIES (CISTI), 2022,
  • [29] Performance Evaluation of MySQL, Cassandra and HBase for Heavy Write Operation
    Jogi, Vishal Dilipbhai
    Sinha, Ashay
    2016 3RD INTERNATIONAL CONFERENCE ON RECENT ADVANCES IN INFORMATION TECHNOLOGY (RAIT), 2016, : 586 - 590
  • [30] Exploring isofunctional molecules: Design of a benchmark and evaluation of prediction performance
    Pinel, Philippe
    Guichaoua, Gwenn
    Najm, Matthieu
    Labouille, Stephanie
    Drizard, Nicolas
    Gaston-Mathe, Yann
    Hoffmann, Brice
    Stoven, Veronique
    MOLECULAR INFORMATICS, 2023, 42 (04)