码迷,mamicode.com
首页 > 数据库 > 详细

查询mysql的搜索引擎

时间:2018-08-07 16:50:08      阅读:449      评论:0      收藏:0      [点我收藏+]

标签:tran   span   and   class   arc   eve   support   nbsp   code   

在mysql中输入下面的命令

查询命令:

show engines;

查询结果:

+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+
| Engine             | Support | Comment                                                        | Transactions | XA   | Savepoints |
+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+
| FEDERATED          | NO      | Federated MySQL storage engine                                 | NULL         | NULL | NULL       |
| MRG_MYISAM         | YES     | Collection of identical MyISAM tables                          | NO           | NO   | NO         |
| MEMORY             | YES     | Hash based, stored in memory, useful for temporary tables      | NO           | NO   | NO         |
| BLACKHOLE          | YES     | /dev/null storage engine (anything you write to it disappears) | NO           | NO   | NO         |
| CSV                | YES     | CSV storage engine                                             | NO           | NO   | NO         |
| MyISAM             | YES     | MyISAM storage engine                                          | NO           | NO   | NO         |
| ARCHIVE            | YES     | Archive storage engine                                         | NO           | NO   | NO         |
| InnoDB             | DEFAULT | Supports transactions, row-level locking, and foreign keys     | YES          | YES  | YES        |
| PERFORMANCE_SCHEMA | YES     | Performance Schema                                             | NO           | NO   | NO         |
+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+

指定搜索引擎:

CREATE TABLE table_name(
        no int
)ENGINE=MyISAM;

修改搜索引擎:

ALTER TABLE table_name ENGINE=MyISAM;

查看表的搜索引擎:

show creat table table_name;

 

查询mysql的搜索引擎

标签:tran   span   and   class   arc   eve   support   nbsp   code   

原文地址:https://www.cnblogs.com/dssjustdoit/p/9437785.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!