Article directory
- 1. Explanation:
- 2. Questions
-
- 1. Why does MySQL take a lot of trouble to do so many things when updating data, including buffer pool, redo log, undo log, binlog, transaction submission, and dirty data. A whole bunch of concepts are introduced, with complex processes and steps.
- 2. Why does he most critically modify the data in the disk and execute it from time to time through the IO thread?
- 3. Why doesn't he just execute the SQL statement every time and update the data in the disk directly?
- 3. Talk about atomicity in advance?
https://www.processon.com/view/link/6221ec060e3e7446608795d8
1. Explanation:
1. First of all, we usually use a SQL statement, and he will first request it through the database connection pool in our business system.