A Performance Benchmark for the PostgreSQL and MySQL Databases

计算机科学 水准点(测量) 数据库 数据挖掘 地质学 大地测量学
作者
Sanket Vilas Salunke,Abdelkader Ouda
出处
期刊:Future Internet [MDPI AG]
卷期号: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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
yznfly应助Steven采纳,获得30
刚刚
刚刚
1秒前
magelinna发布了新的文献求助10
1秒前
致两千年前的你完成签到,获得积分10
2秒前
彭于晏应助Weiyu采纳,获得10
3秒前
ding应助学术小菜鸡采纳,获得10
4秒前
Aliangkou完成签到,获得积分10
4秒前
4秒前
哈吉米曼波完成签到,获得积分10
5秒前
鱼鱼发布了新的文献求助10
5秒前
露桥闻笛完成签到,获得积分10
6秒前
彦黄子孙发布了新的文献求助10
6秒前
紫亦君完成签到,获得积分10
6秒前
欧泡果奶发布了新的文献求助10
7秒前
7秒前
amll发布了新的文献求助10
7秒前
Redd完成签到,获得积分20
8秒前
多多发SCI完成签到,获得积分10
8秒前
老王完成签到,获得积分10
8秒前
9秒前
EMM完成签到,获得积分10
9秒前
9秒前
科目三应助senli2018采纳,获得10
9秒前
9秒前
学术小菜鸡完成签到,获得积分20
10秒前
彭于晏应助minjeong采纳,获得10
10秒前
含糊的寄柔关注了科研通微信公众号
11秒前
量子星尘发布了新的文献求助10
11秒前
小马甲应助王昊采纳,获得10
11秒前
11秒前
李健应助老地方采纳,获得10
12秒前
欧克欧克发布了新的文献求助10
12秒前
积极涵阳发布了新的文献求助10
13秒前
Redd发布了新的文献求助10
13秒前
罗斯ROSE完成签到,获得积分10
13秒前
XZY完成签到,获得积分10
13秒前
目眩完成签到,获得积分10
14秒前
HHHHH发布了新的文献求助10
14秒前
搜集达人应助如梦如画采纳,获得10
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Social Work Ethics Casebook: Cases and Commentary (revised 2nd ed.).. Frederic G. Reamer 1070
Alloy Phase Diagrams 1000
Introduction to Early Childhood Education 1000
2025-2031年中国兽用抗生素行业发展深度调研与未来趋势报告 1000
List of 1,091 Public Pension Profiles by Region 891
Historical Dictionary of British Intelligence (2014 / 2nd EDITION!) 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5424903
求助须知:如何正确求助?哪些是违规求助? 4539135
关于积分的说明 14165791
捐赠科研通 4456231
什么是DOI,文献DOI怎么找? 2444084
邀请新用户注册赠送积分活动 1435140
关于科研通互助平台的介绍 1412492