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

mysql 数据库 引擎

时间:2014-09-28 17:25:43      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   io   使用   ar   for   数据   sp   

mysql> show engines;
+------------+---------+----------------------------------------------------------------+--------------+-----+------------+
| Engine     | Support | Comment                                                        | Transactions | XA  | Savepoints |
+------------+---------+----------------------------------------------------------------+--------------+-----+------------+
| MyISAM     | YES     | Default engine as of MySQL 3.23 with great performance         | NO           | NO  | NO         | 
| MRG_MYISAM | YES     | Collection of identical MyISAM 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         | 
| MEMORY     | YES     | Hash based, stored in memory, useful for temporary tables      | NO           | NO  | NO         | 
| InnoDB     | DEFAULT | Supports transactions, row-level locking, and foreign keys     | YES          | YES | YES        | 
| ARCHIVE    | YES     | Archive storage engine                                         | NO           | NO  | NO         | 
+------------+---------+----------------------------------------------------------------+--------------+-----+------------+
7 rows in set (0.00 sec)
查看数据库使用的引擎
mysql> show variables like %storage_engine%;
+----------------+--------+
| Variable_name  | Value  |
+----------------+--------+
| storage_engine | InnoDB | 
+----------------+--------+
1 row in set (0.00 sec)

 

mysql 数据库 引擎

标签:style   blog   color   io   使用   ar   for   数据   sp   

原文地址:http://www.cnblogs.com/xaf-dfg/p/3998211.html

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