当前位置:网站首页>Kunlun storage vs PostgreSQL OLTP test
Kunlun storage vs PostgreSQL OLTP test
2022-07-29 10:30:00 【InfoQ】
One 、Kunlun-Storage brief introduction
Two 、 Test environment
Testing software :
Server configuration :
Software version :
Database parameter configuration :
shared_buffers = 32768MB
wal_level = replica
fsync = on
synchronous_commit = on
wal_sync_method = fdatasync
full_page_writes = on
innodb_buffer_pool_size 32768MB
inndo_flush_at_trx_commit=1
sync_binlog=1
innodb_use_fdatasync = 1
Test background :
3、 ... and 、 Test data
Sysbench Test scenarios :
Corresponding to each operation SQL The statement is as follows :
sum_ranges = {
"SELECT SUM(k) FROMsbtest%u WHERE id BETWEEN ? AND ?",
t.INT, t.INT},
order_ranges = {
"SELECT c FROMsbtest%u WHERE id BETWEEN ? AND ? ORDER BY c",
t.INT, t.INT},
distinct_ranges = {
"SELECT DISTINCT cFROM sbtest%u WHERE id BETWEEN ? AND ? ORDER BY c",
t.INT, t.INT},
index_updates = {
"UPDATE sbtest%uSET k=k+1 WHERE id=?",
t.INT},
non_index_updates = {
"UPDATE sbtest%uSET c=? WHERE id=?",
{t.CHAR, 120}, t.INT},
deletes = {
"DELETE FROMsbtest%u WHERE id=?",
t.INT},
inserts = {
"INSERT INTOsbtest%u (id, k, c, pad) VALUES (?, ?, ?, ?)",
t.INT, t.INT, {t.CHAR,120}, {t.CHAR, 60}}
Test data volume :
The table occupies the storage space of the operating system :36G
The test script :
sysbench /usr/local/share/sysbench/oltp_write_only.lua--db-driver=mysql --mysql-host=172.31.41.115 --mysql-port=6001 --mysql-user=pgx --mysql-password=pgx_pwd--mysql-db=vpgtest --tables=18 --table-size=10000000 --report-interval=10--threads=64 --time=600 run
sysbench/usr/local/share/sysbench/oltp_update_index.lua --db-driver=mysql --mysql-host=172.31.41.115 --mysql-port=6001 --mysql-user=pgx--mysql-password=pgx_pwd --mysql-db=vpgtest --tables=18 --table-size=10000000--report-interval=10 --threads=64 --time=600 run
sysbench/usr/local/share/sysbench/oltp_update_non_index.lua --db-driver=mysql--mysql-host=172.31.41.115 --mysql-port=6001 --mysql-user=pgx --mysql-password=pgx_pwd--mysql-db=vpgtest --tables=18 --table-size=10000000 --report-interval=10--threads=64 --time=600 run
sysbench/usr/local/share/sysbench/oltp_read_write.lua --db-driver=pgsql--pgsql-host=172.31.44.208 --pgsql-port=5432 --pgsql-user=postgres --pgsql-password=postgres--pgsql-db=postgres --tables=18 --table-size=10000000 --report-interval=10--threads=64 --time=600 run
sysbench /usr/local/share/sysbench/oltp_update_index.lua--db-driver=pgsql --pgsql-host=172.31.44.208 --pgsql-port=5432 --pgsql-user=postgres --pgsql-password=postgres--pgsql-db=postgres --tables=18 --table-size=10000000 --report-interval=10--threads=64 --time=600 run
sysbench/usr/local/share/sysbench/oltp_update_non_index.lua --db-driver=pgsql--pgsql-host=172.31.44.208 --pgsql-port=5432 --pgsql-user=postgres --pgsql-password=postgres--pgsql-db=postgres --tables=18 --table-size=10000000 --report-interval=10--threads=640 --time=600 run
Four 、 AWS Cloud environment test results
oltp_write_only test


oltp_update_index test


oltp_update_non_index test


5、 ... and 、 Local deployment test results
oltp_write_only test


oltp_update_index test


oltp_update_non_index test


oltp_read_write test


6、 ... and 、 Test results and summary
-END-
边栏推荐
- 2022cuda summer training camp Day5 practice
- 消费电子,冻死在夏天
- R语言 使用数据集 veteran 进行生存分析
- Docker installation, redis configuration and remote connection
- 这才是开发者神器正确的打开方式
- Follow teacher Li to learn online generation - matrix (continuously updated)
- Understanding of Arduino circuit
- 3道软件测试面试题,能全答对的人不到10%!你会几个?
- Turn the evolutionary path of push
- Data visualization design guide (information chart)
猜你喜欢
Big cloud service company executives changed: technology gives way to sales
不堆概念、换个角度聊多线程并发编程
ECCV 2022 | CMU proposes to recurse on the visual transformer without adding parameters, and the amount of calculation is still small
基于STM32设计的酒驾报警系统
消费电子,冻死在夏天
“为机器立心”:朱松纯团队搭建人与机器人的价值双向对齐系统,解决人机协作领域的重大挑战
[HFCTF 2021 Final]easyflask
SAP Fiori @OData. Analysis of the working principle of publish annotation
Where are those test / development programmers in their 30s? a man should be independent at the age of thirty......
Why use markdown to write?
随机推荐
After the thunderstorm of two encryption companies: Celsius repayment guarantee collateral, three arrow capital closed and disappeared
R 语言 Monte Carlo方法 和平均值法 计算定积分, 考虑随机投点法,计算在置信度0.05, 要求为ϵ=0.01 , 所需要的试验次数
跟着李老师学线代——矩阵(持续更新)
Vim到底可以配置得多漂亮?
根据给定字符数和字符,打印输出“沙漏”和剩余数
转转push的演化之路
Knowledge points of common interview questions: distributed lock
Attachment of text of chenjie Report
Notes for Resume Writing
This is the right way for developers to open artifacts
Implementation of college logistics repair application system based on SSM
What happens when MySQL tables change from compressed tables to ordinary tables
English grammar_ Indefinite pronouns - Common Phrases
使用 RTCGA 临床数据进行生存分析
Network picture to local picture - default value or shortcut key
若依如何实现添加水印功能
若依集成minio实现分布式文件存储
2018-UperNet ECCV
ADDS:使用 PowerShell 创建 OU 结构
[dark horse morning post] Youxian responded to the dissolution every day, and many places have been unable to place orders; Li Bin said that Wei Lai will produce a mobile phone every year; Li Ka Shing