티스토리 뷰

DataBase

[MySQL] MyISAM

메성 2020. 2. 17. 00:29
반응형

MyISAM

  • MyISAM은 ISAM(Indexed Sequential Access Method)의 단점을 보완하기 위해 나온 버전으로, 이 엔진은 비-트랜젝션-세이프(non-transactional-safe) 테이블을 관리한다.
  • MySQL 5.5 이전까지 기본 스토리지 엔진이었다.

 

 

 

MyISAM 스토리지 엔진 기능

Feature Support
B-tree indexes Yes
Backup/point-in-time recovery (Implemented in the server, rather than in the storage engine.) Yes
Cluster database support No
Clustered indexes No
Compressed data Yes (Compressed MyISAM tables are supported only when using the compressed row format. Tables using the compressed row format with MyISAM are read only.)
Data caches No
Encrypted data Yes (Implemented in the server via encryption functions.)
Foreign key support No
Full-text search indexes Yes
Geospatial data type support Yes
Geospatial indexing support Yes
Hash indexes No
Index caches Yes
Locking granularity Table
MVCC No
Replication support (Implemented in the server, rather than in the storage engine.) Yes
Storage limits 256TB
T-tree indexes No
Transactions No
Update statistics for data dictionary Yes

 

MyISAM 테이블 사용

CREATE TABLE t (i INT) ENGINE = MYISAM;

 

 

MyISAM 테이블 특징

  1. MyISAM은 별다른 기능이 없어 데이터 모델 디자인이 단순하다는 장점을 가지고 있다.
  2. 특히 select 작업 속도가 매우 빨라 데이터를 읽는 작업에 매우 적합하다.
  3. Full-text 인덱싱이 가능해 검색하고 하는 내용에 대해 복합검색이 가능하다.
  4. index는 B-Tree, R-Tree, Full-text Index를 징
  5. table 단위로 lock을 지원하고, 백업 및 특정 시점으로 복구가 가능하다.
  6. index에 대해서만 MySQL 서버가 관리하고, data에 대해서는 직접 관리하지 않는다.
반응형

'DataBase' 카테고리의 다른 글

[MySQL] MyISAM vs InnoDB  (0) 2020.02.17
[MySQL] InnoDB  (0) 2020.02.17
[MySQL] MySQL 스토리지 엔진  (0) 2020.02.17
리두와 언두의 동작  (0) 2019.12.09
오라클의 대기와 락  (0) 2019.12.09
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함