Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mysql:tunning [2010/04/26 15:12] a |
mysql:tunning [2011/01/01 19:16] (current) a |
||
---|---|---|---|
Line 10: | Line 10: | ||
* **'' | * **'' | ||
* **'' | * **'' | ||
+ | |||
+ | ===== How to enable performance_schema in MySQL 5.5 ===== | ||
+ | One of the cool feature of MySQL 5.5 performance schema is not enabled by default to enable it in the my.cnf for linux add variable under mysqld | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | to check if the performance_schema | ||
+ | < | ||
+ | mysql> show databases; | ||
+ | +--------------------+ | ||
+ | | Database | ||
+ | +--------------------+ | ||
+ | | information_schema | | ||
+ | | mysql | | ||
+ | | performance_schema | | ||
+ | | test | | ||
+ | +--------------------+ | ||
+ | 4 rows in set (0.00 sec) | ||
+ | </ | ||
==== Tune MySQL parameters ==== | ==== Tune MySQL parameters ==== |