查询mysql的搜索引擎
Posted 董大志
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了查询mysql的搜索引擎相关的知识,希望对你有一定的参考价值。
在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的搜索引擎的主要内容,如果未能解决你的问题,请参考以下文章