Tag

sysbench

0 views collected around this technical thread.

Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 4, 2025 · Databases

Using Cgroups for MySQL Resource Isolation: CPU, Memory, IO, and Network Limits

This article presents a comprehensive guide on applying Linux Cgroups to isolate MySQL resources, covering CPU, memory, I/O, and network bandwidth controls, detailed configuration steps, performance testing with sysbench, and practical observations to ensure stable and predictable database behavior.

LinuxMySQLPerformance Tuning
0 likes · 47 min read
Using Cgroups for MySQL Resource Isolation: CPU, Memory, IO, and Network Limits
Aikesheng Open Source Community
Aikesheng Open Source Community
May 6, 2025 · Databases

Using GDB to Adjust MySQL max_connections Without Restart

This article explains how to troubleshoot and resolve the MySQL "Too many connections" error by using GDB to modify the max_connections parameter on a running MySQL 5.7 instance without restarting, including step‑by‑step commands, sysbench load testing, and two practical methods.

Database TuningGDBMySQL
0 likes · 9 min read
Using GDB to Adjust MySQL max_connections Without Restart
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 26, 2024 · Databases

MySQL 8.2 Community vs Enterprise: Performance Comparison and Findings

An extensive benchmark compares MySQL 8.2 Community and Enterprise editions using sysbench and TPC‑C on identical EC2 instances, revealing that, under default configurations, the Enterprise edition offers no consistent performance advantage over the Community edition, with only occasional gains from optional plugins.

Community vs EnterpriseDatabase ConfigurationMySQL
0 likes · 10 min read
MySQL 8.2 Community vs Enterprise: Performance Comparison and Findings
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 9, 2023 · Databases

Using MySQL Offline Mode to Disconnect Client Connections

This article explains how MySQL's offline_mode variable and the pt‑kill tool can be used by DBAs to place a server in maintenance mode, instantly dropping non‑privileged client connections, preventing new ones, and providing a safe way to perform maintenance or backups.

Database MaintenanceMySQLOFFLINE_MODE
0 likes · 8 min read
Using MySQL Offline Mode to Disconnect Client Connections
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 27, 2022 · Databases

Diagnosing MySQL Disk I/O Pressure with Linux System Tools

This article walks through generating a heavy‑load MySQL workload, using top, iostat, and iotop to pinpoint high disk I/O, mapping OS thread IDs back to MySQL sessions, and safely killing the offending query to relieve pressure.

Disk I/OLinuxMySQL
0 likes · 20 min read
Diagnosing MySQL Disk I/O Pressure with Linux System Tools
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 13, 2021 · Databases

Why MySQL Performance Benchmark Shows Low TPS on High-End Hardware

This article examines why MySQL benchmark results often show low transactions per second on seemingly powerful servers, exploring hidden factors such as network bottlenecks, SSL overhead, and inappropriate sort_buffer_size settings, and provides practical troubleshooting steps and configuration tweaks to achieve optimal performance.

Database TuningMySQLNetwork Bottleneck
0 likes · 10 min read
Why MySQL Performance Benchmark Shows Low TPS on High-End Hardware
360 Tech Engineering
360 Tech Engineering
Sep 2, 2021 · Cloud Computing

Performance Comparison and CPU Pinning Techniques for Enterprise‑Level Virtual Machine Instances

The article analyzes the instability of shared‑type virtual machines, introduces enterprise‑level instances with fixed CPU scheduling and NUMA topology, details the applied technologies such as CPU pinning, PCI‑Passthrough and multi‑queue NICs, and presents extensive sysbench and STREAM benchmark results that demonstrate superior isolation, stability and performance of enterprise instances over shared ones.

CPU pinningNUMAVirtualization
0 likes · 12 min read
Performance Comparison and CPU Pinning Techniques for Enterprise‑Level Virtual Machine Instances
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 14, 2021 · Databases

Recovering a Deleted InnoDB .ibd File and Detecting Missing Tablespace in MySQL

This article demonstrates how to simulate accidental deletion of a MySQL InnoDB .ibd file, observe the impact on queries, recover the file using the file descriptor in /proc, restart MySQL, and verify that various DDL operations can detect the missing tablespace.

Database TroubleshootingInnoDBMySQL
0 likes · 12 min read
Recovering a Deleted InnoDB .ibd File and Detecting Missing Tablespace in MySQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 30, 2021 · Databases

Why mysqlslap Shows Smoother Results Than sysbench for SQL Performance Testing

The article explains that mysqlslap appears to produce smoother latency results than sysbench because mysqlslap reports metrics per test round rather than per individual SQL statement, leading to mis‑interpretation of Max/Avg/Min values, while sysbench can reveal per‑statement latency variations.

BenchmarkingMySQLSQL latency
0 likes · 4 min read
Why mysqlslap Shows Smoother Results Than sysbench for SQL Performance Testing
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 8, 2021 · Databases

Analyzing MySQL OOM During High-Concurrency Sysbench Load and the Role of vm.overcommit_memory

This article investigates why MySQL encounters out‑of‑memory errors during sysbench stress testing with high concurrency, examines system memory metrics, explains Linux vm.overcommit_memory settings, and provides a practical solution to prevent OOM by adjusting kernel parameters.

LinuxMemory ManagementMySQL
0 likes · 11 min read
Analyzing MySQL OOM During High-Concurrency Sysbench Load and the Role of vm.overcommit_memory
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 19, 2021 · Databases

Performance Evaluation of DTLE under Varying Network Latency and Bandwidth Conditions

This article presents a systematic performance test of the DTLE data replication tool, using sysbench, tc, and iperf3 to simulate different network latency and bandwidth scenarios, and compares DTLE's replication delay and bandwidth usage against native MySQL replication across three test cases.

BandwidthDTLEdatabase replication
0 likes · 7 min read
Performance Evaluation of DTLE under Varying Network Latency and Bandwidth Conditions
Architecture Digest
Architecture Digest
Feb 14, 2021 · Databases

Performance Comparison of MySQL 5.7 and MySQL 8.0 under Various Workloads Using Sysbench

This article presents a systematic benchmark of MySQL 5.7.22 and MySQL 8.0.15 using sysbench to measure TPS and QPS across read‑write, read‑only, and write‑only modes under two persistence configurations, analyzes the results, and provides a Bash script for reproducing the tests.

DatabaseMySQLbenchmark
0 likes · 9 min read
Performance Comparison of MySQL 5.7 and MySQL 8.0 under Various Workloads Using Sysbench
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2021 · Databases

Using MySQL’s mysqlslap and Sysbench for Database Stress Testing

This article explains how to perform MySQL performance benchmarking with the built‑in mysqlslap tool and the third‑party sysbench utility, covering configuration changes, command‑line options, data preparation, execution steps, and interpretation of the resulting metrics.

MySQLStress Testingbenchmark
0 likes · 15 min read
Using MySQL’s mysqlslap and Sysbench for Database Stress Testing
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 19, 2020 · Databases

Performance Impact of Enabling Binlog Compression in MySQL 8.0

The article evaluates how turning on binlog transaction compression in MySQL 8.0 (both 8.0.19 and 8.0.20) affects throughput and resource usage under a sysbench workload of 120 tables with 240 concurrent threads, showing roughly a 1% performance drop and a similar increase in CPU consumption.

MySQLbinlogcompression
0 likes · 5 min read
Performance Impact of Enabling Binlog Compression in MySQL 8.0
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 17, 2020 · Databases

How Many innodb_buffer_pool_instances Do You Need in MySQL 8?

Using sysbench oltp_read_write benchmarks on a 100 GB database with a 25 GB buffer pool, this article evaluates the impact of varying innodb_buffer_pool_instances (1, 2, 4, 8, 16, 32, 64) on throughput and variability, concluding that 64 instances yields the highest performance.

MySQLPerformance Tuningbenchmark
0 likes · 7 min read
How Many innodb_buffer_pool_instances Do You Need in MySQL 8?
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 10, 2020 · Databases

Observing the Performance Impact of innodb_buffer_pool_instances in MySQL

This article demonstrates a step‑by‑step experiment using sysbench and performance_schema to measure how different values of innodb_buffer_pool_instances affect buffer‑pool lock latency, analyzes the collected data, and discusses the observed trends and limitations.

MySQLPerformance Schemainnodb_buffer_pool_instances
0 likes · 5 min read
Observing the Performance Impact of innodb_buffer_pool_instances in MySQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 7, 2019 · Databases

Performance Impact of Charset and Collation Settings on MySQL 5.7 vs 8.0

A sysbench benchmark comparing MySQL 5.7.25 and MySQL 8.0.15 shows that latin1 charset favors 5.7, while utf8mb4 dramatically improves 8.0 performance, and that collations such as utf8mb4_unicode_ci can further affect query speed.

CharsetCollationDatabase Benchmark
0 likes · 4 min read
Performance Impact of Charset and Collation Settings on MySQL 5.7 vs 8.0
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 11, 2019 · Databases

MySQL Parameter Optimization Using sysbench oltp_read_write Benchmark

This article details a step‑by‑step MySQL performance tuning process—starting from hardware and software environment description, through parameter‑level optimization of InnoDB buffer pool and redo logs, to additional tweaks—demonstrating up to three‑fold throughput improvements based on sysbench oltp_read_write testing.

Database ConfigurationInnoDBMySQL
0 likes · 6 min read
MySQL Parameter Optimization Using sysbench oltp_read_write Benchmark
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 5, 2019 · Databases

Guide to MySQL Transportable Tablespaces and Multi‑Source Replication Using XtraBackup

This article explains how to use MySQL's transportable tablespaces together with Percona XtraBackup to efficiently initialize data for multi‑source replication, covering prerequisites, the basic export/import workflow, detailed command‑line steps, and the configuration of replication channels.

BackupMulti-Source ReplicationMySQL
0 likes · 11 min read
Guide to MySQL Transportable Tablespaces and Multi‑Source Replication Using XtraBackup
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 30, 2018 · Databases

MySQL Middleware Performance Testing I – Common Mistakes, Practical Methods, and Distributed Transactions

This presentation details how to correctly benchmark MySQL middleware performance, exposing common pitfalls, describing practical testing methodologies, emphasizing the need to observe both middleware and actual database pressure, and discussing distributed transaction considerations and metric selection for reliable results.

MySQLObservabilityUSE method
0 likes · 24 min read
MySQL Middleware Performance Testing I – Common Mistakes, Practical Methods, and Distributed Transactions