Javascript must be enabled to continue!
A Performance Benchmark for the PostgreSQL and MySQL Databases
View through CrossRef
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.
Title: A Performance Benchmark for the PostgreSQL and MySQL Databases
Description:
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.
Related Results
Implementasi Basis Data Sederhana Menggunakan MySQL/PostgreSQL
Implementasi Basis Data Sederhana Menggunakan MySQL/PostgreSQL
Databases play an essential role in modern information systems because they enable the efficient storage, management, and retrieval of structured data. This study focuses on the im...
Comparative Study: Performance of MVC Frameworks on RDBMS
Comparative Study: Performance of MVC Frameworks on RDBMS
The regular utilization of web-based applications is crucial in our everyday life. The Model View Controller (MVC) architecture serves as a structured programming design that devel...
Implementasi Model Perhitungan Untuk Menentukan Performa Basis Data MySQL Dan PostgreSQL
Implementasi Model Perhitungan Untuk Menentukan Performa Basis Data MySQL Dan PostgreSQL
Aplikasi harus dapat diakses selama 24 jam dalam sehari oleh penggunanya, implementasi dan perbedaan database yang tepat sangat penting untuk mendukung koneksi dari ratusan ribu p...
RELATIONAL DATABASE MANAGEMENT SYSTEM (RDBMS)
RELATIONAL DATABASE MANAGEMENT SYSTEM (RDBMS)
Buku berjudul "Relational Database Management System" ini mencoba membahas MySQL secara praktis, disajikan secara terstruktur dan disertai contoh‐contoh dan latihan untuk membantu ...
Comparative Performance Analysis of Four RDBMS Systems Integrated with Django's ORM
Comparative Performance Analysis of Four RDBMS Systems Integrated with Django's ORM
Abstract
Object--Relational Mapping (ORM) frameworks make it easier to develop applications but often incur a significant performance overhead. This paper presents ...
Comparison of Response Time Database RDBMS with NoSQL on Electronic Medical Records (EMR)
Comparison of Response Time Database RDBMS with NoSQL on Electronic Medical Records (EMR)
The electronic medical record is a system for storing and managing patient medical data in electronic form. EMR replaces traditional medical record systems that still use paper, al...
COMPARISONAL ANALYSIS OF MYSQL AND MONGODB RESPONSE TIME QUERY PERFORMANCE
COMPARISONAL ANALYSIS OF MYSQL AND MONGODB RESPONSE TIME QUERY PERFORMANCE
Query is the ability to display and or request data that is used to access data in the database system by using certain commands. Where a data obtained from one or more tables in t...
Defining Global Benchmarks for Total Pancreatectomy: A Multicenter Study from 22 International Expert Centers
Defining Global Benchmarks for Total Pancreatectomy: A Multicenter Study from 22 International Expert Centers
Abstract
Background
Total pancreatectomy (TP) is the preferred treatment for patients with advanced pancreatic cancer or multifo...

