Skip to content

Commit 71976c9

Browse files
committed
Update the MySQL version in the book.
1 parent 554f19f commit 71976c9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Chapter2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The following figure illustrates the throughput over time during long-term testi
104104

105105
Figure 2-7. Performance degradation exposed during BenchmarkSQL testing of MySQL 8.0.27.
106106

107-
This problem was identified during testing using BenchmarkSQL and may not necessarily occur with other TPC-C testing tools. As of the current version, MySQL 8.0.39, the problem of rapid throughput decline has not been fully solved. Subsequent chapters will delve into detailed explanations of the underlying causes of this problem.
107+
This problem was identified during testing using BenchmarkSQL and may not necessarily occur with other TPC-C testing tools. As of the current version, MySQL 8.0.40, the problem of rapid throughput decline has not been fully solved. Subsequent chapters will delve into detailed explanations of the underlying causes of this problem.
108108

109109
## 2.5 Repeatable Read Surprisingly Outperforms Read Committed
110110

Chapter8.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ The MySQL 8.0.27 release version already had this problem, whereas the earlier M
3232
commit 9a13c1c6971f4bd56d143179ecfb34cca8ecc018
3333
Author: Steinar H. Gunderson <[email protected]>
3434
Date: Tue Jun 8 15:14:35 2021 +0200
35-
35+
3636
Bug #32976857: REMOVE QEP_TAB_STANDALONE [range optimizer, noclose]
37-
37+
3838
Remove the QEP_TAB dependency from test_quick_select() (ie., the range
3939
optimizer).
40-
40+
4141
Change-Id: Ie0fcce71dfc813920711c43c3d62635dae0d7d20
4242
```
4343
@@ -145,7 +145,7 @@ From the figure, it is evident that after applying the patch, the rate of throug
145145

146146
Addressing this problem directly presents considerable challenges, particularly for MySQL developers unfamiliar with query execution plans. Using logical reasoning and a systematic approach to identify and address code differences before and after the problem arose is a more elegant problem-solving method, though it is complex.
147147

148-
It is noteworthy that no regression testing problems were encountered after applying the patch, demonstrating high stability and providing a solid foundation for future performance improvements. Currently, MySQL 8.0.39 still hasn't solved this problem, suggesting potential shortcomings in MySQL's testing system. Given the complexity of MySQL databases, users should exercise caution when upgrading and consider using tools like TCPCopy [60] to avoid potential regression testing problems.
148+
It is noteworthy that no regression testing problems were encountered after applying the patch, demonstrating high stability and providing a solid foundation for future performance improvements. Currently, MySQL 8.0.40 still hasn't solved this problem, suggesting potential shortcomings in MySQL's testing system. Given the complexity of MySQL databases, users should exercise caution when upgrading and consider using tools like TCPCopy [60] to avoid potential regression testing problems.
149149

150150
### 8.1.2 Improving Binlog Group Commit Scalability
151151

@@ -614,8 +614,8 @@ To address scalability problems, traditional approaches use thread pools to rest
614614

615615
In general, a thread pool in traditional MySQL serves two main purposes:
616616

617-
1. **Mitigating Short Connection Storms**: By managing and reusing threads, the thread pool helps prevent system overload during sudden spikes in short-lived connections.
618-
2. **Enhancing Scalability**: Thread pools improve scalability, particularly in high-contention scenarios, by enabling MySQL to more effectively utilize available CPU cores.
617+
1. **Mitigating Short Connection Storms**: By managing and reusing threads, the thread pool helps prevent system overload during sudden spikes in short-lived connections.
618+
2. **Enhancing Scalability**: Thread pools improve scalability, particularly in high-contention scenarios, by enabling MySQL to more effectively utilize available CPU cores.
619619

620620
Using Percona's thread pool as a case study, let's examine the cost-effectiveness of thread pools in improving MySQL scalability. The following figure compares throughput and concurrency before and after implementing a thread pool with the improved version of MySQL.
621621

@@ -661,7 +661,7 @@ From the figure, it can be seen that throughput is more stable. This stability i
661661

662662
However, transaction throttling is not a panacea and has its limitations:
663663

664-
- When the maximum number of transactions are executing concurrently, new transactions must wait until existing transactions are completed. If all concurrent transactions consist of long-running queries, it may appear as if the MySQL system is stalled [31].
664+
- When the maximum number of transactions are executing concurrently, new transactions must wait until existing transactions are completed. If all concurrent transactions consist of long-running queries, it may appear as if the MySQL system is stalled [31].
665665

666666
It's worth noting that the specifics of how transaction throttling is implemented, and its flexibility, are areas where AI can demonstrate its usefulness.
667667

0 commit comments

Comments
 (0)