Back-End/DataBase

[DB] MySQL 스토리지 엔진 확인 방법

Young-Cow 2021. 9. 29. 15:16

MySQL 스토리지 엔진

mysql(mariadb)에서 사용 가능한 'Plug In' 방식의 스토리지 엔진은 아래와 같은 명령어로 확인 가능하다.

MariaDB > show engines;
+--------------------+---------+----------------------------------------------------------------------------------+--------------+------+------------+
| Engine             | Support | Comment                                                                          | Transactions | XA   | Savepoints |
+--------------------+---------+----------------------------------------------------------------------------------+--------------+------+------------+
| MRG_MyISAM         | YES     | Collection of identical MyISAM tables                                            | NO           | NO   | NO         |
| CSV                | YES     | Stores tables as CSV files                                                       | NO           | NO   | NO         |
| MEMORY             | YES     | Hash based, stored in memory, useful for temporary tables                        | NO           | NO   | NO         |
| MyISAM             | YES     | Non-transactional engine with good performance and small data footprint          | NO           | NO   | NO         |
| Aria               | YES     | Crash-safe tables with MyISAM heritage                                           | NO           | NO   | NO         |
| InnoDB             | DEFAULT | Supports transactions, row-level locking, foreign keys and encryption for tables | YES          | YES  | YES        |
| PERFORMANCE_SCHEMA | YES     | Performance Schema                                                               | NO           | NO   | NO         |
| SEQUENCE           | YES     | Generated tables filled with sequential values                                   | YES          | NO   | YES        |
+--------------------+---------+----------------------------------------------------------------------------------+--------------+------+------------+

마크다운 표로 다시 정리하면 아래와 같다.

Engine Support Comment Transactions XA Savepoints
MRG_MyISAM YES Collection of identical MyISAM tables NO NO NO
CSV YES Stores tables as CSV files NO NO NO
MEMORY YES Hash based, stored in memory, useful for temporary tables NO NO NO
MyISAM YES Non-transactional engine with good performance and small data footprint NO NO NO
Aria YES Crash-safe tables with MyISAM heritage NO NO NO
InnoDB DEFAULT Supports transactions, row-level locking, foreign keys and encryption for tables YES YES YES
PERFORMANCE_SCHEMA YES Performance Schema NO NO NO
SEQUENCE YES Generated tables filled with sequential values YES NO YES

참고 자료

728x90
반응형

'Back-End > DataBase' 카테고리의 다른 글

[mongoDB] 몽고DB 설치하기(4.4)  (0) 2022.01.30
[DB] mysqldump 사용법  (0) 2021.09.17