innodb 与 myisam 的区别
时间: 2024-04-28 12:25:00 浏览: 104
InnoDB和MyISAM是MySQL的两种存储引擎,它们在数据存储的结构和方式、事务支持、锁级别等方面有所不同。
首先,在数据存储方面,InnoDB采用聚簇索引来存储数据,而MyISAM采用非聚簇索引。聚簇索引意味着InnoDB的索引和数据是关联在一起的,存储在B树的根节点,而MyISAM的key-value存储的是key和地址指针,真正的数据文件存在于其他位置。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [InnoDB和MyISAM的区别](https://blog.csdn.net/weixin_44712778/article/details/126323844)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [InnoDB 和 MyISAM 的区别](https://blog.csdn.net/liyichuanZhengzhou/article/details/131352183)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文