mysqlãã¡ã¢ãªãå§è¿«ããå ´åã«ã¯ã
ã«ã¦mysqlãã¤ã³ã¹ãã¼ã«ããã¨ããã
ã¡ã¢ãªããã«é£ãï¼500M)ãã¦ãã
Â
Â
å¶éãè¨å®ããæ¹æ³ã¯ä¸è¨ã®éãã
Â
fujita$ Â Â mysql --help | grep my.cnf
         order of preference, my.cnf, $MYSQL_TCP_PORT,
/etc/my.cnf /etc/mysql/my.cnf /usr/local/etc/my.cnf ~/.my.cnf
Â
Â
å·¦ããé ã«è¨å®ãã¡ã¤ã«ãèªãã§ããã®ã§ããã§ã«ãã¡ã¤ã«ãããã°è¿½è¨
Â
ãªããã°ãã¡ã¤ã«ãä½ããã
ã¤ã³ã¹ãã¼ã«ãã¦ããã°ãããã©ã®è¨å®ãã¡ã¤ã«ãããã¯ããªã®ã§ã¾ãã¯ããã
è¦ã¤ãã¦ããã
Â
fujita$ Â sudo find /usr/ -name "my-default*"
Â
ãããã³ãã¼ã㦠/etc/my.cnfããä½ãã
Â
Â
/etc/my.cnfã«ä¸è¨ã追è¨ããã
Â
table_definition_cache=400
Â
â»ã¡ãªã¿ã«æå°å¤ã400ãªã®ã§ããã以ä¸ã«ã¯ããªãããã«ã
Â
ããããã£ãã 80Mãããã«ä½¿ç¨ã¡ã¢ãªãæ¸ãã¾ããã
Â
OKã£ã¨ã