MySQL has a nice feature: MySQL slow query log, which allows you to log all queries that exceed a predefined about of time to execute.
Go or define mysql slow query file path and run
mysqldumpslow -s c -t 10
Go or define mysql slow query file path and run
mysqldumpslow -s c -t 10
No comments:
Post a Comment