You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under equivalent conditions, disabling 'dual one' achieved a balanced replay speed of 810,000 tpmC for MySQL secondaries, while enabling 'dual one' reduced this speed to approximately 700,000 tpmC. Thus, disabling 'dual one' significantly improves the replay speed of MySQL secondaries.
183
183
184
+
Note that the above test results were obtained in a high-performance SSD environment, and differences in SSD hardware performance can lead to varying results.
185
+
184
186
### 11.5.2 Performance Effects of Disabling Binlog
185
187
186
188
With binary logging enabled, the server logs all statements that modify data to the binary log, which is utilized for backup and replication purposes. Disabling binlog can theoretically eliminate queue wait times, thereby improving throughput and reducing response times.
@@ -199,11 +201,11 @@ Contending threads must wait for a lock when it's unavailable. Several waiting p
199
201
200
202
**Advantages of Spinning:**
201
203
202
-
-In an unloaded system, spinning offers high performance with minimal overhead, as it avoids OS coordination and incurs only a few cache miss latencies per lock handoff. On chip multiprocessors with shared caches, lock acquisition and release latencies can be as low as 150 ns.
204
+
- In an unloaded system, spinning offers high performance with minimal overhead, as it avoids OS coordination and incurs only a few cache miss latencies per lock handoff. On chip multiprocessors with shared caches, lock acquisition and release latencies can be as low as 150 ns.
203
205
204
206
**Disadvantages of Spinning:**
205
207
206
-
-When the system is loaded, spinning can degrade performance as it reduces the number of processors available for useful work, leading to suboptimal performance when runnable threads exceed hardware contexts. Additionally, since spinning isn't coordinated with the OS, it doesn't account for lock holders or spinners in scheduling decisions.
208
+
- When the system is loaded, spinning can degrade performance as it reduces the number of processors available for useful work, leading to suboptimal performance when runnable threads exceed hardware contexts. Additionally, since spinning isn't coordinated with the OS, it doesn't account for lock holders or spinners in scheduling decisions.
207
209
208
210
The spin delay parameter helps address NUMA (Non-Uniform Memory Access) compatibility problems. Generally, better MySQL scalability reduces the impact of the spin delay parameter. Conversely, in cases of poor scalability, the spin delay parameter noticeably affects performance, although its effectiveness has an upper limit.
0 commit comments