요즘 facebook, 카톡,라인,등등 많은 회사에서 MySQL 쓰고 있는데
아직도 많은 분이 오해 하시고 잘못 알고 계시는게 있어서..
실제로 제가 테스트 한 결과를 토대로 직접 수치 비교를 해드기 위해서
글 남깁니다.
테스트는 5400rpm 짜리 SATA2 하드디스크가 장착된 노트북에서 진행
되었습니다. sysbench라는 부하 테스트 툴을 사용했습니다.
결론을 먼저 남기면 더이상 InnoDB는 느리지 않으며, 5.1 그리고 5.5 버전에서는 MyISAM
엔진보다 더 나은 퍼포먼스를 제공 합니다.
MySQL 5.1
MyISAM |
OLTP test statistics: queries performed: read: 419776 write: 0 other: 59968 total: 479744 transactions: 29984 (499.63 per sec.) deadlocks: 0 (0.00 per sec.) read/write requests: 419776 (6994.78 per sec.) other operations: 59968 (999.25 per sec.) |
InnoDB |
OLTP test statistics: queries performed: read: 451752 write: 0 other: 64536 total: 516288 transactions: 32268 (537.69 per sec.) deadlocks: 0 (0.00 per sec.) read/write requests: 451752 (7527.64 per sec.) other operations: 64536 (1075.38 per sec.) |
MySQL 5.5
MyISAM |
OLTP test statistics: queries performed: read: 404474 write: 0 other: 57782 total: 462256 transactions: 28891 (481.46 per sec.) deadlocks: 0 (0.00 per sec.) read/write requests: 404474 (6740.46 per sec.) other operations: 57782 (962.92 per sec.) |
InnoDB |
OLTP test statistics: queries performed: read: 456050 write: 0 other: 65150 total: 521200 transactions: 32575 (542.81 per sec.) deadlocks: 0 (0.00 per sec.) read/write requests: 456050 (7599.34 per sec.) other operations: 65150 (1085.62 per sec.) |
댓글 3개
MyISAM은 오히려 5.1이 좀 더 빠른거 같구요.
리눅스에서 340% 향상이 됬다고 하네요 놋북으로 테스트 한거라 편차가 좀 있었던것도 같아요^^;;
게시판 목록
팁게시판
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5827 | 9년 전 | 354 | ||
| 5826 | 9년 전 | 342 | ||
| 5825 | 9년 전 | 307 | ||
| 5824 | 9년 전 | 476 | ||
| 5823 | 9년 전 | 475 | ||
| 5822 | 9년 전 | 261 | ||
| 5821 | 9년 전 | 574 | ||
| 5820 | 9년 전 | 884 | ||
| 5819 | 9년 전 | 414 | ||
| 5818 | 9년 전 | 563 | ||
| 5817 |
|
9년 전 | 1359 | |
| 5816 | 9년 전 | 390 | ||
| 5815 | 9년 전 | 366 | ||
| 5814 | 9년 전 | 343 | ||
| 5813 |
|
9년 전 | 1128 | |
| 5812 | 9년 전 | 441 | ||
| 5811 | 9년 전 | 225 | ||
| 5810 | 9년 전 | 256 | ||
| 5809 | 9년 전 | 458 | ||
| 5808 | 9년 전 | 305 | ||
| 5807 | 9년 전 | 271 | ||
| 5806 | 9년 전 | 258 | ||
| 5805 | 9년 전 | 275 | ||
| 5804 | 9년 전 | 276 | ||
| 5803 | 9년 전 | 265 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기