profiling - turn on mysql profiler globally -


i want profile mysql sessions using mysql profiler, how can turn on profiling globally?

thanks!

log mysql command line , use query logger or slow query logger. it's not same profiler, pretty performs same function. here starting tip.

mysql> set global log_output='table'; mysql> set global slow_query_log=1; ...wait... mysql> use mysql; mysql> select * slow_log order query_time desc; 

please remember turn off when you're done. remember logging table slower file, of course, more convenient.


Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

asp.net - call stack missing info on mono with apache and mod_mono -