当前位置:网站首页>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-
边栏推荐
- factoextra:多元统计的可视化
- How big is the bandwidth of the Tiktok server for hundreds of millions of people to brush at the same time?
- Only simple function test? One article takes you to advanced interface automatic testing technology in 6 steps
- Are you familiar with the redis cluster principle of high paid programmers & interview questions series 122? How to ensure the high availability of redis (Part 2): cluster mechanism and principle, clu
- Object storage
- 根据给定字符数和字符,打印输出“沙漏”和剩余数
- Several common design methods of test cases [easy to understand]
- “为机器立心”:朱松纯团队搭建人与机器人的价值双向对齐系统,解决人机协作领域的重大挑战
- GPO:在 Start/Logon 中使用 PowerShell 脚本
- [HFCTF 2021 Final]easyflask
猜你喜欢

After eating Alibaba's core notes of highly concurrent programming, the backhand rose 5K

若依集成minio实现分布式文件存储

基于SSM实现高校后勤报修系统

Hanyuan high tech Gigabit 2-optical 6-conductor rail managed Industrial Ethernet switch supports X-ring redundant ring network one key ring network switch

Static resource mapping

remap_ Use of table in impdp

NUMA architecture CPU API change summary

Talk about multithreaded concurrent programming from a different perspective without heap concept

静态资源映射

mosquitto_ Sub -f parameter use
随机推荐
How to integrate Google APIs with Google's application system (3) -- call the restful service of Google discovery API
TMS320C6000_ Tms320f28035 Chinese data manual
Knowledge points of common interview questions: distributed lock
ADB shell WM command and usage:
NUMA architecture CPU API change summary
2022cuda summer training camp Day1 practice
What is "enterprise level" low code? Five abilities that must be possessed to become enterprise level low code
Docker安装Redis、配置及远程连接
SAP Fiori @OData. Analysis of the working principle of publish annotation
Comprehensive and detailed SQL learning guide (MySQL direction)
Tell you from my accident: Mastering asynchrony is key
Object storage
敏捷开发如何消减协作中的认知偏差?| 敏捷之道
跟着田老师学实用英语语法(持续更新)
Mitsubishi PLC and Siemens PLC
Notes for Resume Writing
使用 RTCGA 临床数据进行生存分析
[HFCTF 2021 Final]easyflask
关系型数据库之MySQL8——由内而外的深化全面学习
【日志框架】