Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 348 Bytes

File metadata and controls

10 lines (6 loc) · 348 Bytes

sql_sysbench_proc

Slow Query Log parser for interact with Sysbench as an independent process throw a LUA script

Compiling

gcc sysbench_slow_proc.c pkg-config --libs glib-2.0 --cflags glib-2.0 -o sysbench_slow_proc

Transforming general log to slow query log

pt-query-digest --type genlog --no-report --output slowlog gen.log > slow.log