mysaim

MySQL 数据库 默认引擎
  不支持事务
  查询速度更快一些
  只支持 表锁

create table t1(id int) engine = myisam


innodb

  支持事务
  支持行锁 加 表锁

create table t1(id int) engine = innodb

 

配置文件中指定

/etc/my.cnf
[mysqld]
default-storage-engine=INNODB
innodb_file_per_table=1

 

相关文章:

  • 2021-11-23
  • 2021-11-23
  • 2022-01-01
  • 2022-01-08
  • 2021-12-26
猜你喜欢
  • 2021-12-02
相关资源
相似解决方案