상위로 이동
로그인
오마이사이트

지식나눔

MySQL 튜닝 예제

아래는 회원수 70,000 이상 일 방문자수 2,000명 이상의 서버 mysql 설정입니다.
서버 상황에 따라 설정은 달라질 수 있으니 동일하게 하실 필요는 없습니다.


skip-locking
key_buffer = 16M
max_allowed_packet=4000000
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
log-slow-queries
skip-name-resolve
old-passwords
bulk_insert_buffer_size=16M
wait_timeout=30
long_query_time=3
table_cache=1024
max_connections=2048
max_user_connections=100
max_connect_errors=10000
query_cache_size = 200M
key_buffer_size = 100M
sort_buffer = 200M

공유하기
등록자

이주한

등록일
2009-06-01 06:46
조회
17,102