Skip to content

pavlozt/py-mysql-slowlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMysqlSlowLog

reading mysql slow log with Pandas

Example of usage

import pandas as pd
import mysqlslowlog

df = mysqlslowlog.read('slowlog/mariadb-slow.log',save_sql=False)

print(df.head(5))
print(df.dtypes)

or View example jupter notebook

Other programs that will help in the analysis of slow mysql queries

pt-query-digest - it's a pretty old program. Unlike this module, it can group requests by similarity.

Releases

No releases published

Packages

No packages published