??????????

?泣?若??????

荐???ゃ??腆肴?

mysql> show variables;

腟沿????宴??????

?鴻???若?祉???????若?????違?????с???

?ョ??倶???∈茯?

$ mysqladmin -p extended-status | grep -E 'Max|Threads'
Enter password:
| Max_used_connections              | 51             |
| Threads_cached                    | 4              |
| Threads_connected                 | 21             |
| Threads_created                   | 18015          |
| Threads_running                   | 11             |

???若?帥?泣?ゃ?冴??????<?≪??????????

???若????┃荐???SQL????眼??

???ャ?若???潟?

篏睡???<?≪??????

???<?ゃ?????若???恰?違????

蕭?莢??激????????札筝????潟???潟????絎?茵?

$ mysqladmin -u root -p extended-status | grep Open
Enter password: 
| Open_files                        | 515        |
| Open_streams                      | 0          |
| Open_tables                       | 256        |
| Opened_tables                     | 45281      |

Open_files, Open_tables???違??紊????翫??? /etc/my.cnf ??札筝???茯炊?眼??open_files???ゃ????鴻??able_cache???ゃ??紊с????????????Error in accept: Too many open files???????若???榊??????MySQL??罘??巡??????ャ?????ц?羈????

[mysqld]
open_files=2048
table_cache=512

筝?荐????違??紜????????????????若?吟?????????<?ゃ?????c?鴻???????炊?違??????羈????綽?荀?????紜???????

????????

I/O?????

InnoDB?劫??

my.cnf

MyISAM/InnoDB?演??

MyISAM?∫?

InnoDB?∫?

???若?帥???<?ゃ??????

???ャ?若???潟?違??????

???若?????х軒

myisampack

???若?

Maatkit

mytop

MySQL Activity Report

mysqlreport

茲??医?茵?


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS