RadarURL
데이터베이스

InnoDB vs MyISAM

by JaeSoo posted Jul 29, 2012
?

Shortcut

PrevPrev Article

NextNext Article

ESCClose

Larger Font Smaller Font Up Down Go comment Print

DB 관련 지식이 많이 부족한 지라..알아야 할 것 이 많은데 그중에서도 스토리지 엔진 종류.

MySQL 에는 몇가지 스토리지 엔진 이 존재한다. 대표적인 것이 MyISAM 과 InnoDB.

대부분 InnoDB를 사용 한 다는데 거기에는 이유가 있을 테지요.

그 이유는 무엇일까.

* 테이블의 엔진 종류 확인

mysql> show table status like '테이블이름';

Feature

MyISAM

InnoDB

Storage Limit

256TB

64TB

트랜잭션 지원

NO

YES

Locking Level

Table

Row

Geospatial Indexing Support

YES

NO

Full Text Search Indexes

YES

NO

Clustered Indexes

NO

YES

Data Caches

NO

YES

Compressed Data

YES(Read Only)

YES(Read / Write)

Foreign Key Support

No

YES

데이터 교체같은 중요한 업무가 많이 일어나면 InnoDB(트랜잭션 지원 되니까)
select 같은 단순한 작업 만 할 경우 (규모가 작을 경우) MyISAM.

 

출처 : http://blog.naver.com/bal0601/150134371002

Who's JaeSoo

profile

http://JaeSoo.com Administrator


Articles

1 2 3 4 5 6 7 8 9 10