Featured post
How to check MySQL performance? -
i have mysql used on production server php webshop application.
sometimes works slow. so, change indexes several tables.
but before that, have make kind of "snapshot" of current performances (several times per day). after that, change indexes, , create new "performance snapshot". made more changes in database, , made "performance snapshot".
how can make "performance snapshot"? possible use kind of tool, or ckeck logs, or...?
if can me how that.
thank in advance!
if want buy commercial product, there mysql query analyzer
otherwise, use sql profiler included mysql.
the sql profiler built database server , can dynamically enabled/disabled via mysql client utility. begin profiling 1 or more sql queries, issue following command:
mysql> set profiling=1;
thereafter, see duration of each of queries run them.
- Get link
- X
- Other Apps
Comments
Post a Comment