存储引擎

一、什么是存储引擎?

存储引擎就是表的类型

二、查看MySQL支持的存储引擎

show engines;

三、指定表类型(即存储引擎)

create table t1(id int)engine='innodb';

create table t2(id int)engine=memory;

create table t3(id int)engine=blackhole;

create table t4(id int)engine=myisam;

 

insert into t1 value(1);

 

posted @ 2020-02-12 17:21  南啾  阅读(82)  评论(0编辑  收藏  举报