Mysql DB 부하에 대한 질문입니다.
글쓴이: Fedora / 작성시간: 화, 2007/07/17 - 3:06오후
php 5.1 + mysql 5.0 + 제로보드 4.1을 사용하고 있습니다
test1
test2
이렇게 두개의 DB가 있습니다.
test1 DB에 동시접속이30명정도 되는데 DB에 부하가 걸려서 접속이 자꾸만 느려집니다.
그러다가 service httpd restart로 아파치 서버를 초기화하면 다시 빨라지고
15분정도 지나면 다시 느려집니다.
그런데 test1 DB에 부하가 걸려서 접속이 느려질때 test2 DB에 접속하면 빠르게 접속이 잘되더군요
만약에 Mysql에 부하가 걸리면 두개의 DB가 동시에 느려져야 되는걸로 알고있는데.
Mysql 옵션에서 각 DB별로 최대 접속자를 제한하는 옵션이 따로 있는건가요?
CPU 접유률은 낮습니다 10~20% 정도 되고 메모리도 전체 6GB 중에서 많이 사용해봤자 2GB 정도밖에 사용하지 않습니다.
Forums:
아파치 설정파일도 한번 보시고..
DB에 부하가걸리면 전체DB가.. 느려져야하는데..;;
아파치 설정파일도 한번 보시고요.. 디비 키버퍼라던지.. 프로세스 리스트도 모니터링 해보시면 좋을껏같네요.
-------------------------------------------------------------------------------------------
생각은 지나가던 개새끼도 하지.. 실천하는건?? 나도 할수있지...
-------------------------------------------------------------------------------------------
이놈의 IT 생활... 실증나고 짜증나고...
근데 왜 맨날 it관련 소식만 보고 ;;; 님휘
댓글 달기