当前位置:网站首页>The difference between MySQL clustered index and non clustered index
The difference between MySQL clustered index and non clustered index
2022-07-25 23:08:00 【fmamcn】
mysql The difference between clustered index and non clustered index
mysql Clustering Indexes He Fei Clustering Indexes Is the difference between the : about Clustering Indexes , Table data is stored in sequence , That is, the index order is consistent with the physical storage order of table records ; For nonclustered indexes , The order in which table data is stored is independent of the order of the indexes .
mysql Introduction to the differences between clustered index and non clustered index :
Cluster index :
Table data is stored in sequence , That is, the index order is consistent with the physical storage order of table records .
Cluster index Leaf nodes store data rows and B-Tree Indexes .
There can only be one clustered index in a table , Because there can only be one real physical storage order .
Clustered indexes are sparse indexes , The primary index storage on the data page is the page pointer , Non row pointer .
Nonclustered index :
The order in which table data is stored is independent of the order of the indexes .
For nonclustered indexes , The leaf node contains the row primary key value and the primary key value as the “ The pointer ”, Find through secondary index , two B-Tree lookup InnoDB Adaptive hash indexing can reduce such repetitive work .
Non clustered indexes are dense indexes , On the upper index page of the data page, it stores a record for each data row .
边栏推荐
- The small icon of notification setting shows a small square
- [tensorflow] about seed
- Opencv compile and call GPU version
- 理解的英文(言语理解)
- 栈与Stack类
- Single model common sense reasoning first surpasses human beings! HFL summit openbookqa challenge
- Longitude and latitude and its transformation with coordinate system
- General paging function
- [PTA] 7-24 minimum fraction (15 points)
- Shanghai Second Polytechnic University - Health Daily autocheck
猜你喜欢

5 ROS simulation modeling (3-rviz+gazebo+ control simulation robot)

Single model common sense reasoning first surpasses human beings! HFL summit openbookqa challenge

Design of Butterworth filter and drawing of amplitude frequency characteristic curve
![[paper notes] a meta reinforcement learning algorithm for causal discovery](/img/03/84462b38551c41173f7a9734cb0e99.png)
[paper notes] a meta reinforcement learning algorithm for causal discovery

Memory paging and tuning, kernel and user space

Recyclerview computehorizontalscrollextend computehorizontalscrollrange computehorizontalscroll for calculating the sliding distance

Notification(状态栏通知)详解

The third experiment OSPF

Learning notes of technical art hundred people plan (2) -- vector

Network Security Learning (11) scanning and blasting
随机推荐
QT string operation
Summary of my 2020 online summer camp
Tips for using (1)
Why is Google's internal tools not suitable for you?
Stack simulation queue
【论文笔记】A Meta-Reinforcement Learning Algorithm for Causal Discovery
Understanding of forward proxy and reverse proxy
5 ROS simulation modeling (3-rviz+gazebo+ control simulation robot)
Data filtering of MATLAB
Call Gaode map -- address is converted into longitude and latitude
Notification(状态栏通知)详解
What are the differences between FileInputStream and bufferedinputstream?
Basic knowledge of radar
Week 2: convolutional neural network
Vs2017 compilation encountered the error HResult e returned by the call of COM component_ FAIL
uvm_hdl——DPI在UVM中的实现(四)
技术美术百人计划学习笔记(1)--基础渲染管线
2020-09-17
PCL basic operation Encyclopedia
VisualBox启动虚拟机报错:The VM session was closed before any attempt to power it on.