博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Mysql (InnoDB&MyISAM )-如何在两种存储引擎中进行选择?
阅读量:3932 次
发布时间:2019-05-23

本文共 241 字,大约阅读时间需要 1 分钟。

一. InnoDB&MyISAM对比

现在最常用的存储引擎是InnoDB,它从Mysql5.5版本开始成为了默认的存储引擎

MyISAM专注性能,InnoDB专注事务。两者最大的区别就是InnoDB支持事务,和行锁。

在这里插入图片描述

二.如何在两种存储引擎中进行选择?

  1. 是否有事务操作?有,InnoDB。

  2. 是否存储并发修改?有,InnoDB。

  3. 是否追求快速查询,且数据修改较少?是,MyISAM。

总结一句话:

InnoDB适合需要有事务操作的时候,也就是写多读少,MyISAM适合做读多写少的情况

转载地址:http://juqgn.baihongyu.com/

你可能感兴趣的文章
perform_farthest_point_sampling_mesh
查看>>
perform_faces_reorientation
查看>>
compute_voronoi_triangulation_mesh
查看>>
differential forms
查看>>
QTCreator中字符编码问题以及WINDOWS API A/W两种版本的说明
查看>>
变量命名
查看>>
调整连字符号分隔字母的个数
查看>>
关于QT中奇数个汉字出现newline in constant的错误
查看>>
QT中文乱码深度剖析
查看>>
读书笔记
查看>>
papers to read
查看>>
3D slicer的教程网站
查看>>
Least-Squares Fitting of Two 3-D Point Sets
查看>>
Shape Correspondence and Functional Maps
查看>>
A Concise and Provably Informative Multi-Scale Signature Based on Heat Diffusion
查看>>
Function Maps: A Flexible Representation of Maps Between Shapes
查看>>
The Wave kernel Signature: A Quantum Mechanical Approach to shape Analysis
查看>>
map-based exploration of intrinsic shape differences and variability
查看>>
coupled quasi-harmonic bases
查看>>
Sparse Modeling of Intrinsic Correspondences
查看>>