Home Database Mysql Tutorial MYSQL 逻辑架构_MySQL

MYSQL 逻辑架构_MySQL

Jun 01, 2016 pm 01:49 PM
storage mind Mapping

bitsCN.com

 

  思维导图 

  前言 》 Mysql并非尽善尽美,但足够灵活,能适应高要求环境,如Web应用。》 Mysql在众多平台上运行良好,支持多种数据类型,但不支持对象类型(Mongodb支持)》 Mysql的存储引擎可以基于表建立,以满足对数据存储,性能,特征及其他特性的各种需要。  架构逻辑视图 

每个虚线框为一层,总共三层。

第一层,服务层(为客户端服务):为请求做连接处理,授权认证,安全等。

第二层,核心层:查询解析,分析,优化,缓存,提供内建函数;存储过程,触发器,视图。

第三层,存储引擎层,不光做存储和提取数据,而且针对特殊数据引擎还要做事务处理。

  连接管理与安全性(第一层 服务层)  > 处理流程

 Δ 每个连接的查询都在一个进程中的线程完成。

 Δ 服务器负责缓存线程,所以服务层不需要为每个连接新建线程。

> 认证流程  

 

 优化与执行

 

 >  在解析查询之前,服务器会“询问”是否进行了查询缓存(只能缓存SELECT语句和相应结果)。缓存过的直接返回结果,未缓存的就需要进行解析查询,优化,重新执行返回结果。 > 解析查询时会创建一个内部数据结构(树),然后对其进行各种优化。 > 优化:重写查询,决定查询的读表顺序,选择需使用的索引。  参考文献《高性能Mysql》 bitsCN.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to use word to make a mind map - How to use word to make a mind map How to use word to make a mind map - How to use word to make a mind map Mar 05, 2024 pm 08:22 PM

Many friends still don’t know how to use word to make mind maps, so the editor below will explain how to use word to make mind maps. If you are in need, please take a look. I believe it will be helpful to everyone. . Step 1: First open Word, click Insert in the menu bar (as shown in the picture). Step 2: Click the shape icon (as shown in the picture). Step 3: Click on the rounded rectangle (as shown in the picture). Step 4: Draw a suitable rounded rectangle in the document (as shown in the picture). Step 5: In the shape, click to select the curve connector icon (as shown in the picture). Step 6: Use curve connectors to connect the rounded rectangles (as shown in the picture). Step 7: Click to select the rounded rectangle, enter text, and a mind map will be drawn (such as

Huawei will launch innovative MED storage products next year: rack capacity exceeds 10 PB and power consumption is less than 2 kW Huawei will launch innovative MED storage products next year: rack capacity exceeds 10 PB and power consumption is less than 2 kW Mar 07, 2024 pm 10:43 PM

This website reported on March 7 that Dr. Zhou Yuefeng, President of Huawei's Data Storage Product Line, recently attended the MWC2024 conference and specifically demonstrated the new generation OceanStorArctic magnetoelectric storage solution designed for warm data (WarmData) and cold data (ColdData). Zhou Yuefeng, President of Huawei's data storage product line, released a series of innovative solutions. Image source: Huawei's official press release attached to this site is as follows: The cost of this solution is 20% lower than that of magnetic tape, and its power consumption is 90% lower than that of hard disks. According to foreign technology media blocksandfiles, a Huawei spokesperson also revealed information about the magnetoelectric storage solution: Huawei's magnetoelectronic disk (MED) is a major innovation in magnetic storage media. First generation ME

Vue3+TS+Vite development skills: how to encrypt and store data Vue3+TS+Vite development skills: how to encrypt and store data Sep 10, 2023 pm 04:51 PM

Vue3+TS+Vite development tips: How to encrypt and store data. With the rapid development of Internet technology, data security and privacy protection are becoming more and more important. In the Vue3+TS+Vite development environment, how to encrypt and store data is a problem that every developer needs to face. This article will introduce some common data encryption and storage techniques to help developers improve application security and user experience. 1. Data Encryption Front-end Data Encryption Front-end encryption is an important part of protecting data security. Commonly used

How to clear cache on Windows 11: Detailed tutorial with pictures How to clear cache on Windows 11: Detailed tutorial with pictures Apr 24, 2023 pm 09:37 PM

What is cache? A cache (pronounced ka·shay) is a specialized, high-speed hardware or software component used to store frequently requested data and instructions, which in turn can be used to load websites, applications, services, and other aspects of the system faster part. Caching makes the most frequently accessed data readily available. Cache files are not the same as cache memory. Cache files refer to frequently needed files such as PNGs, icons, logos, shaders, etc., which may be required by multiple programs. These files are stored in your physical drive space and are usually hidden. Cache memory, on the other hand, is a type of memory that is faster than main memory and/or RAM. It greatly reduces data access time since it is closer to the CPU and faster compared to RAM

How to draw a mind map How to draw a mind map using WPS software How to draw a mind map How to draw a mind map using WPS software Feb 22, 2024 pm 03:04 PM

Find the insert in the WPS software and click on the mind map to draw it. Analysis 1. Open the WPS mobile software and go to the homepage, click Insert above, and then click Mind Map. 2. The panel will pop up, and then click the New Blank Mind Map option above. 33Finally, draw the mind map on the page and click Insert to display it. Supplement: What is a mind map tool? 1 Mind map, also known as mind map, is an effective graphical innovative thinking tool for expressing divergent thinking. It is simple but very effective and at the same time very efficient. It is an application innovative thinking tools. Summary/Notes When creating a mind map, the connection between core themes and core graphics is crucial. The close connection between them helps promote the fluency and logic of thinking

Git installation process on Ubuntu Git installation process on Ubuntu Mar 20, 2024 pm 04:51 PM

Git is a fast, reliable, and adaptable distributed version control system. It is designed to support distributed, non-linear workflows, making it ideal for software development teams of all sizes. Each Git working directory is an independent repository with a complete history of all changes and the ability to track versions even without network access or a central server. GitHub is a Git repository hosted on the cloud that provides all the features of distributed revision control. GitHub is a Git repository hosted on the cloud. Unlike Git which is a CLI tool, GitHub has a web-based graphical user interface. It is used for version control, which involves collaborating with other developers and tracking changes to scripts and

How to use Vue and jsmind to create a powerful mind mapping application? How to use Vue and jsmind to create a powerful mind mapping application? Aug 15, 2023 pm 08:49 PM

How to use Vue and jsmind to create a powerful mind mapping application? Introduction: Mind mapping is a very useful tool that can help us organize and organize our thinking, making complex problems clear. In modern web applications, Vue and jsmind are two very popular tools that can help us quickly build a powerful mind mapping application. This article will introduce how to use Vue and jsmind to create a feature-rich mind mapping application, and provide relevant code examples. step one:

Mind map of Python syntax: in-depth understanding of code structure Mind map of Python syntax: in-depth understanding of code structure Feb 21, 2024 am 09:00 AM

Python is widely used in a wide range of fields with its simple and easy-to-read syntax. It is crucial to master the basic structure of Python syntax, both to improve programming efficiency and to gain a deep understanding of how the code works. To this end, this article provides a comprehensive mind map detailing various aspects of Python syntax. Variables and Data Types Variables are containers used to store data in Python. The mind map shows common Python data types, including integers, floating point numbers, strings, Boolean values, and lists. Each data type has its own characteristics and operation methods. Operators Operators are used to perform various operations on data types. The mind map covers the different operator types in Python, such as arithmetic operators, ratio

See all articles