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 条
  • [1] A performance analysis of the DBMS - MySQL vs PostgreSQL
    Andjelic, Svetlana
    Obradovic, Slobodan
    Gacesa, Branislav
    Communications - Scientific Letters of the University of Žilina, 2008, 10 (04): : 53 - 57
  • [2] Asynchronous Replication in Microsoft SQL Server, PostgreSQL and MySQL
    Truica, Ciprian-Octavian
    Boicea, Alexandru
    Radulescu, Florin
    2013 INTERNATIONAL CONFERENCE ON CYBER SCIENCE AND ENGINEERING (CYBERSE 2013), 2013, : 50 - 55
  • [3] Performance analysis of NoSQL and relational databases with MongoDB and MySQL
    Jose, Benymol
    Abraham, Sajimon
    MATERIALS TODAY-PROCEEDINGS, 2020, 24 : 2036 - 2043
  • [4] Performance Comparison for Data Storage-Db4o and MySQL Databases
    Kulshrestha, Sudhanshu
    Sachdeva, Shelly
    2014 SEVENTH INTERNATIONAL CONFERENCE ON CONTEMPORARY COMPUTING (IC3), 2014, : 166 - 170
  • [5] Facebook MySQL Performance vs MySQL Performance
    Dawodi, Mursal
    Hedayati, Muhammad Hadi
    Baktash, Jawid Ahmad
    Erfan, Abdul Latif
    2019 IEEE 10TH ANNUAL INFORMATION TECHNOLOGY, ELECTRONICS AND MOBILE COMMUNICATION CONFERENCE (IEMCON), 2019, : 103 - 108
  • [6] Benchmark for Performance Evaluation of SHACL Implementations in Graph Databases
    Schaffenrath, Robert
    Proksch, Daniel
    Kopp, Markus
    Albasini, Iacopo
    Panasiuk, Oleksandra
    Fensel, Anna
    RULES AND REASONING, RULEML+RR 2020, 2020, 12173 : 82 - 96
  • [7] LIDA/REC visual language for databases interface PostgreSQL
    Hernández-Montoya, A
    Chapa-Vergara, SV
    2005 2nd International Conference on Electrical & Electronics Engineering (ICEEE), 2005, : 27 - 31
  • [8] Performance Analysis of NoSQL and Relational Databases with CouchDB and MySQL for Application's Data Storage
    Gyorodi, Cornelia A.
    Dumse-Burescu, Diana, V
    Zmaranda, Doina R.
    Gyorodi, Robert S.
    Gabor, Gianina A.
    Pecherle, George D.
    APPLIED SCIENCES-BASEL, 2020, 10 (23): : 1 - 21
  • [9] Database Encryption Performance Impact on PostgreSQL and MongoDB
    Costa, Marcelo
    Rodrigues, Margarida
    Baptista, Pedro
    Wanzeller, Cristina
    Martins, Pedro
    Abbasi, Maryam
    MARKETING AND SMART TECHNOLOGIES, VOL 1, 2022, 279 : 121 - 127
  • [10] STRIDE-Based Threat Modeling for MySQL Databases
    Sanfilippo, James
    Abegaz, Tamirat
    Payne, Bryson
    Salimi, Abi
    PROCEEDINGS OF THE FUTURE TECHNOLOGIES CONFERENCE (FTC) 2019, VOL 2, 2020, 1070 : 368 - 378