웹서버랑 디비서버를 별도로 운영 한다면,
디비서버의 다음 설정을 확인해 봐야한다.
client에서 DB server로 접속시에 DNS Lookup 과정이 발생 하는데,
Webserver랑 DBserver가 같을 경우에는 상관 없지만,
IP로 접속 시에는 변경하는 과정으로 속도가 느려질 수 있다.
이럴 경우에는 my.cnf파일의 [mysqld]란에 다음을 추가해주면 된다.
“skip-name-resolve”
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment
Notify me of follow-up comments by email.
Notify me of new posts by email.
Leave a Reply