raid optimization for large myisam tables

대용량의 myisam 테이블을 디스크 어레이 (레이드)를 통해 적절한 튜닝을 위해서는
통상 128KB의 stripe size 설정이 효율적이다.
대용량의 기준은 1GB를 넘느냐 넘지 않느냐다..

belown are optimal raid array stripe size per related each myisam table size
the stripe size relate to how many large myisam table is using, and how much overall table size you have
this optimal value is construct for avoid table scan locking.
i'm recommand using ext3 fs and you should test ext3 journal mode

500 Under (32KB)
500~1GB (64KB)
1GB~2GB (128KB)
2GB~4GB (256KB)

benchmarking on adaptec asr2230 SGL  scsi u320 / raid 10 mode / 8 disks
you should make ext3 with raid stride option like this
mkfs.ext3 ~~~ -R stride=16  (16 means 64KB stripe size, value must divide 4 of your stripe size )

이러한 대용량 테이블의 갯수는 스트라이프 사이즈와 밀접한 관계를 가진다
또한 테이블락을 회피하기 위한 최적화 수치에 대한 언급이다.
이 수치는 제로보드의 테이블 구조를 기반으로 하여 벤치마킹 되었다.
어디까지나 제로보드가 가진 테이블 구조에서 가장 합리적이며 이상적인 query 문으로 바꾸었을때의 이야기다.
ext3 fs 를 권장하며, 저널링모드를 테스트해보길 권장한다.
중요한것은 write 딜레이로 인해 테이블락이 걸리지 않도록 하기 위함이다.
그리고 ext3 를 이용한다면 -R stride=xx 옵션을 주어 스트라이프 사이즈를 일치화시켜줘야한다.
-R stride=값은 자신의 스트라이프 사이즈 (KB)를 4로 나눈값을 입력하면된다.
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by LeCieL

2006/11/09 05:50 2006/11/09 05:50
, , , ,
Response
No Trackback , No Comment
RSS :
http://cl.dgtalx.net/rss/response/44

Trackback URL : http://cl.dgtalx.net/trackback/44

« Previous : 1 : ... 143 : 144 : 145 : 146 : 147 : 148 : 149 : 150 : 151 : ... 189 : Next »

Archives

Calendar

«   2012/02   »
      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