A Performance Benchmark for the PostgreSQL and MySQL Databases

计算机科学 水准点(测量) 数据库 数据挖掘 地质学 大地测量学
作者
Sanket Vilas Salunke,Abdelkader Ouda
出处
期刊:Future Internet [Multidisciplinary Digital Publishing Institute]
卷期号:16 (10): 382-382 被引量:3
标识
DOI:10.3390/fi16100382
摘要

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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
Zhao发布了新的文献求助10
2秒前
YNILY完成签到 ,获得积分10
4秒前
信念完成签到,获得积分10
10秒前
美丽的芙完成签到 ,获得积分10
20秒前
ada阿达完成签到,获得积分10
27秒前
可可可爱完成签到 ,获得积分10
32秒前
37秒前
LN完成签到,获得积分10
38秒前
xuxu213发布了新的文献求助10
43秒前
Singularity发布了新的文献求助20
43秒前
老来多健忘完成签到 ,获得积分10
44秒前
46秒前
心无杂念完成签到 ,获得积分10
48秒前
可爱的函函应助耳东静采纳,获得10
50秒前
诺亚方舟哇哈哈完成签到 ,获得积分0
55秒前
Singularity完成签到,获得积分0
57秒前
小羊咩完成签到,获得积分0
1分钟前
哥哥完成签到,获得积分10
1分钟前
1分钟前
solution完成签到 ,获得积分10
1分钟前
麦田麦兜完成签到,获得积分10
1分钟前
手术刀完成签到 ,获得积分10
1分钟前
风想随心完成签到,获得积分10
1分钟前
xuxu213完成签到,获得积分20
1分钟前
真实的画板完成签到 ,获得积分10
1分钟前
1分钟前
时尚丹寒完成签到,获得积分10
1分钟前
靓丽翠琴完成签到,获得积分20
1分钟前
李舟缘完成签到,获得积分10
1分钟前
Bake完成签到 ,获得积分10
1分钟前
李腾完成签到,获得积分10
1分钟前
鲤鱼坤完成签到,获得积分10
1分钟前
CodeCraft应助陈陈采纳,获得10
1分钟前
1分钟前
娅娃儿完成签到 ,获得积分10
1分钟前
哈哈哈完成签到 ,获得积分10
1分钟前
冷傲纸鹤完成签到 ,获得积分10
1分钟前
1分钟前
梁芯完成签到 ,获得积分10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Autoparametric Resonance in Mechanical Systems 1000
Effects of Two Weeks of Red Light Therapy on Choroidal Thickness and Axial Length in Young Adults 700
Cosmos as Art Object: Studies in Plato's Timaeus and Other Dialogues 600
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Auslegungsgeschichte 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7662340
求助须知:如何正确求助?哪些是违规求助? 9232276
关于积分的说明 19855289
捐赠科研通 7230617
什么是DOI,文献DOI怎么找? 3282157
关于科研通互助平台的介绍 2441673
邀请新用户注册赠送积分活动 2283013