1. 程式人生 > >查詢mysql的搜索引擎

查詢mysql的搜索引擎

action ans evel -- isa store rman dev epo

在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的搜索引擎