Getting MySQL-- architecture articles

Preface: 

Last article we introduced the basic concepts of MySQL entry, after reading the article, I believe you should understand MySQL Past and Present of the bar. This article will take you from system architecture to learn MySQL. I think that learning MySQL architecture system should be mandatory entry stage, although it may look quite understand, for the time being less than, but our hearts have these concepts, understand the structure of the system for subsequent learning is helpful.

MySQL logical architecture introduced

The following figure shows the logical architecture of MySQL :( Source: Lin Xiaobin "45 MySQL combat stress")

0d2070e8f84c4801adbfa03bda1f98d9.png<br /> MySQL the logic chart (Source: "MySQL actual stresses 45")
the MySQL logic architecture is divided into three layers:

  1. First layer: client connection handling, authentication, authorization, and so on, each client will have a connecting thread on the server, each connection initiated queries will be executed in a separate thread corresponding.
  2. Second layer: MySQL core services layer functions, including query parsing, analysis, query cache, built-in functions, stored procedures, triggers, views, etc., select the operation will first check whether the query cache hit, hit it simply returns the cached data, or resolve queries and create corresponding parse tree.
  3. The third layer: storage engine, is responsible for data storage and retrieval, MySQL server storage engine via the API communication, shielding the differences between various engines, there is a common storage engine: InnoDB, MyISAM.

First write about it, because this week is busy, writing content is relatively small, there is more time to write the follow-up. This article is Lin Xiaobin teacher after reading the "MySQL real" curriculum written in here to recommend this course, this course produced by the geeks time, is full of dry column, read absolutely rewarding. We can look at the directory, needy students can scan two-dimensional code recognition picture buy Oh!

linxiaobin.jpg

Identifying the two-dimensional code figure can later:
45.jpeg

Guess you like

Origin blog.51cto.com/10814168/2425789