当前位置:网站首页>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-
边栏推荐
- Method of cocos2d-x sprite moving
- NUMA architecture CPU API change summary
- MySQL million level data migration practice notes
- 2022cuda summer training camp day3 practice
- 若依集成minio实现分布式文件存储
- Modulenotfounderror: no module named 'pywt' solution
- Why use markdown to write?
- 【日志框架】
- SkiaSharp 之 WPF 自绘 弹动小球(案例版)
- A tour of grp:04 - GRP unary call unary call
猜你喜欢

云服务大厂高管大变阵:技术派让位销售派

转转push的演化之路

Is there any charge for PDF processing? impossible

Vim到底可以配置得多漂亮?

【论文阅读】I-BERT: Integer-only BERT Quantization

Print out the "hourglass" and the remaining number according to the given number of characters and characters

跟着田老师学实用英语语法(持续更新)

MySQL 8 of relational database -- deepening and comprehensive learning from the inside out

Easy to understand and explain the gradient descent method!

After eating Alibaba's core notes of highly concurrent programming, the backhand rose 5K
随机推荐
Data office system
12th generation core processor +2.8k OLED ASUS good screen, lingyao 142022 shadow cyan glaze business thin book
Review of the 16th issue of HMS core discovery | play with the new "sound" state of AI with tiger pier
Print out the "hourglass" and the remaining number according to the given number of characters and characters
使用R包skimr汇总统计量的优美展示
[untitled]
SkiaSharp 之 WPF 自绘 弹动小球(案例版)
Knowledge points of common interview questions: distributed lock
【黑马早报】每日优鲜回应解散,多地已无法下单;李斌称蔚来将每年出一部手机;李嘉诚欲抄底恒大香港总部大楼;今年国庆休7天上7天...
服务器
Oracle advanced (XIV) explanation of escape characters
mosquitto_sub -F 参数使用
Understanding of Arduino circuit
R 语言 BRCA.mRNA数据集 分析
ECCV 2022 | CMU提出在视觉Transformer上进行递归,不增参数,计算量还少
Two MySQL tables with different codes (utf8, utf8mb4) are joined, resulting in index failure
云服务大厂高管大变阵:技术派让位销售派
remap_ Use of table in impdp
Where are those test / development programmers in their 30s? a man should be independent at the age of thirty......
[jetson][reprint]pycharm installed on Jetson