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 条
  • [41] SUPERB: Speech processing Universal PERformance Benchmark
    Yang, Shu-wen
    Chi, Po-Han
    Chuang, Yung-Sung
    Lai, Cheng-I Jeff
    Lakhotia, Kushal
    Lin, Yist Y.
    Liu, Andy T.
    Shi, Jiatong
    Chang, Xuankai
    Lin, Guan-Ting
    Huang, Tzu-Hsien
    Tseng, Wei-Cheng
    Lee, Ko-tik
    Liu, Da-Rong
    Huang, Zili
    Done, Shuyan
    Li, Shang-Wen
    Watanabe, Shinji
    Mohamed, Abdelrahman
    Lee, Hung-yi
    INTERSPEECH 2021, 2021, : 1194 - 1198
  • [42] Construction industry benchmark of key performance indicators
    Akintoye, A
    Chinyio, E
    CONSTRUCTION INNOVATION AND GLOBAL COMPETITIVENESS, VOLS 1 AND 2: THE ORGANIZATION AND MANAGEMENT OF CONSTRUCTION, 2003, : 1077 - 1091
  • [43] Analysis of Electric Current by Using MySQL Database on Web Server for Machine Performance Evaluation: A Case Study of Air Conditioning System
    Sriratana, Witsarut
    Khagwian, Vittaya
    Satthamsakul, Sutham
    2020 20TH INTERNATIONAL CONFERENCE ON CONTROL, AUTOMATION AND SYSTEMS (ICCAS), 2020, : 437 - 442
  • [44] EXPLOITING THE UFLIP BENCHMARK FOR ANALYZING SSDS PERFORMANCE
    Kang, Yoonsuk
    Jo, Yong-Yeon
    Cha, Jaehyuk
    Kim, Sang-Wook
    Shin, Young Kyun
    2014 4th IEEE International Conference on Network Infrastructure and Digital Content (IEEE IC-NIDC), 2014, : 458 - 461
  • [45] A comparative study between the capabilities of MySQL and ClickHouse in low-performance Linux environment
    Wickramasekara, Akila
    Liyanage, M. P. P.
    Kumarasinghe, Udayagee
    2020 20TH INTERNATIONAL CONFERENCE ON ADVANCES IN ICT FOR EMERGING REGIONS (ICTER-2020), 2020, : 276 - 277
  • [46] Performance of Graph and Relational Databases in Complex Queries
    Kotiranta, Petri
    Junkkari, Marko
    Nummenmaa, Jyrki
    APPLIED SCIENCES-BASEL, 2022, 12 (13):
  • [47] Comparative Analysis of performance for SQL and NoSQL Databases
    Diaz Erazo, Amparo Daniela
    Morales Morales, Mario Raul
    Pineda Chavez, Veronica Karina
    Morales Cardoso, Santiago Leonardo
    2022 17TH IBERIAN CONFERENCE ON INFORMATION SYSTEMS AND TECHNOLOGIES (CISTI), 2022,
  • [48] Performance Comparison of Some Face Recognition Algorithms on Multi-covariate Facial Databases
    Sadhya, Debanjan
    Gautam, Ankit
    Singh, Sanjay Kumar
    2017 FOURTH INTERNATIONAL CONFERENCE ON IMAGE INFORMATION PROCESSING (ICIIP), 2017, : 363 - 367
  • [49] Large System Performance of SPEC OMP Benchmark Suites
    Hideki Saito
    Greg Gaertner
    Wesley Jones
    Rudolf Eigenmann
    Hidetoshi Iwashita
    Ron Lieberman
    Matthijs van Waveren
    Brian Whitney
    International Journal of Parallel Programming, 2003, 31 : 197 - 209
  • [50] Large system performance of SPEC OMP benchmark suites
    Saito, H
    Gaertner, G
    Jones, W
    Eigenmann, R
    Iwashita, H
    Lieberman, R
    van Waveren, M
    Whitney, B
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2003, 31 (03) : 197 - 209