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
Copy file name to clipboardExpand all lines: Preface.md
+35-35Lines changed: 35 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,30 +10,30 @@ This book uses MySQL challenges as case studies to explore problem analysis and
10
10
11
11
This book covers the following topics:
12
12
13
-
1.**Logical Reasoning for MySQL**: Techniques for analyzing complex MySQL problems using logical reasoning.
14
-
2.**Computer Science Fundamentals**: Fundamentals of computer science relevant to MySQL.
15
-
3.**MySQL Internals**: An introduction to the basics of MySQL core components.
16
-
4.**Performance Testing**: Methods for scientifically testing MySQL performance.
17
-
5.**MySQL 8.0 Improvements**: Key improvements in MySQL 8.0 compared to MySQL 5.7.
18
-
6.**MySQL Improvements**: Further optimizations in a standalone MySQL instance.
19
-
7.**Group Replication Advancements**: Notable enhancements in MySQL Group Replication.
20
-
8.**Secondary Replay improvements**: Optimizations in MySQL's secondary replay.
21
-
9.**Performance Optimization Techniques**: Strategies for optimizing MySQL applications.
13
+
1.**Logical Reasoning for MySQL**: Techniques for analyzing complex MySQL problems using logical reasoning.
14
+
2.**Computer Science Fundamentals**: Fundamentals of computer science relevant to MySQL.
15
+
3.**MySQL Internals**: An introduction to the basics of MySQL core components.
16
+
4.**Performance Testing**: Methods for scientifically testing MySQL performance.
17
+
5.**MySQL 8.0 Improvements**: Key improvements in MySQL 8.0 compared to MySQL 5.7.
18
+
6.**MySQL Improvements**: Further optimizations in a standalone MySQL instance.
19
+
7.**Group Replication Advancements**: Notable enhancements in MySQL Group Replication.
20
+
8.**Secondary Replay improvements**: Optimizations in MySQL's secondary replay.
21
+
9.**Performance Optimization Techniques**: Strategies for optimizing MySQL applications.
22
22
23
23
**Focus of the Book:**
24
24
25
25
Building on the goal of enhancing MySQL scalability, this book explores various optimization strategies to increase throughput, reduce response times, and ensure that MySQL secondaries closely match the performance of the primary server, thereby achieving high availability failover with very little delay in most scenarios.
26
26
27
27
**Target Audience:**
28
28
29
-
1.**Quality-Focused Developers**: Individuals committed to high-quality software development.
30
-
2.**Problem Solvers**: Those interested in tackling complex software problems.
31
-
3.**MySQL Enthusiasts**: Readers looking to understand MySQL from the ground up.
32
-
4.**Testing Practitioners**: Users keen on mastering effective testing techniques.
33
-
5.**Software Architects**: Those designing large-scale software systems.
34
-
6.**Performance Engineers**: Engineers struggling with performance optimization.
35
-
7.**Computer Science Students**: Learners aiming to strengthen their foundational knowledge.
36
-
8.**MySQL Researchers**: Researchers conducting studies based on MySQL.
29
+
1.**Quality-Focused Developers**: Individuals committed to high-quality software development.
30
+
2.**Problem Solvers**: Those interested in tackling complex software problems.
31
+
3.**MySQL Enthusiasts**: Readers looking to understand MySQL from the ground up.
32
+
4.**Testing Practitioners**: Users keen on mastering effective testing techniques.
33
+
5.**Software Architects**: Those designing large-scale software systems.
34
+
6.**Performance Engineers**: Engineers struggling with performance optimization.
35
+
7.**Computer Science Students**: Learners aiming to strengthen their foundational knowledge.
36
+
8.**MySQL Researchers**: Researchers conducting studies based on MySQL.
37
37
38
38
## Outline of This Book
39
39
@@ -53,31 +53,31 @@ This book focuses on analyzing and solving MySQL problems, so a certain level of
53
53
54
54
## Special Terminology Explanation
55
55
56
-
1.**Balanced Replay Speed**
56
+
1.**Balanced Replay Speed**
57
+
58
+
For MySQL secondary replay, this defines balanced replay speed where the MySQL secondary matches the primary under normal circumstances. When the speed is at or below the balanced replay speed, there is no significant lag in transaction replay progress on the secondary. However, if the speed exceeds this threshold, the secondary begins to lag behind the primary in transaction replay progress.
57
59
58
-
For MySQL secondary replay, this defines balanced replay speed where the MySQL secondary matches the primary under normal circumstances. When the speed is at or below the balanced replay speed, there is no significant lag in transaction replay progress on the secondary. However, if the speed exceeds this threshold, the secondary begins to lag behind the primary in transaction replay progress.
60
+
2.**Dual One**
61
+
62
+
Specifically refers to two major configurations in MySQL: *sync_binlog=1* and *innodb_flush_log_at_trx_commit=1*.
59
63
60
-
2.**Dual One**
61
-
62
-
Specifically refers to two major configurations in MySQL: *sync_binlog=1* and *innodb_flush_log_at_trx_commit=1*.
63
-
64
-
3.**MySQL Secondary Replay**
65
-
66
-
This term represents the common replay process for asynchronous replication, semisynchronous replication, and Group Replication. In this book, 'MySQL primary' is consistently used to represent the MySQL source, and 'MySQL secondary' to represent the MySQL replica.
64
+
3.**MySQL Secondary Replay**
65
+
66
+
This term represents the common replay process for asynchronous replication, semisynchronous replication, and Group Replication. In this book, 'MySQL primary' is consistently used to represent the MySQL source, and 'MySQL secondary' to represent the MySQL replica.
67
67
68
68
## Deployment Supplementary Explanation
69
69
70
70
When deploying MySQL for testing, it is preferable to match the test environment as closely as possible to the production environment, unless certain configurations significantly interfere with performance analysis. Below are specific declarations related to MySQL deployment during the testing process:
71
71
72
-
1. Mainstream servers used are all NUMA architecture servers.
73
-
2.Servers are generally x86 architecture.
74
-
3.SSD hardware disks are used.
75
-
4.All tests are conducted on the Linux operating system.
76
-
5.MySQL standalone tests typically use version 8.0.27, while MySQL cluster tests generally use version 8.0.32.
77
-
6.Improvements to MySQL are referred to as improved MySQL or modified MySQL.
78
-
7.The transaction isolation level in TPC-C tests is *Read Committed*.
79
-
8.The storage engine used for transactions is InnoDB.
80
-
9.The *binlog_format* parameter is set to row-based format.
72
+
1.The mainstream servers in use all have a 4-way NUMA architecture.
73
+
2. Servers are generally x86 architecture.
74
+
3. SSD hardware disks are used.
75
+
4. All tests are conducted on the Linux operating system.
76
+
5. MySQL standalone tests typically use version 8.0.27, while MySQL cluster tests generally use version 8.0.32.
77
+
6. Improvements to MySQL are referred to as improved MySQL or modified MySQL.
78
+
7. The transaction isolation level in TPC-C tests is *Read Committed*.
79
+
8. The storage engine used for transactions is InnoDB.
80
+
9. The *binlog_format* parameter is set to row-based format.
0 commit comments