yoshinorim / myslowtrancapture Goto Github PK
View Code? Open in Web Editor NEWA tool to print MySQL transactions that take more than <n> milliseconds
License: GNU General Public License v2.0
A tool to print MySQL transactions that take more than <n> milliseconds
License: GNU General Public License v2.0
Is it possible that this solution is not working against the mysql versions 5.7.21? I'm testing it locally (simulated long transaction) and it's not echoing any results. I'd be greatful for any suggestions.thanks
Is it possible that this solution is not working against the latest mysql versions? I'm testing it locally (simulated long transaction) and it's not echoing any results. I'd be greatful for any suggestions.
Hi,
Really this is a great stuff for which we are waiting from long time.
But while using MySlowTranCapture it is not logging the records.
Below are the steps I have executed:
Session 1:
/usr/local/bin/myslowtrancapture -i eth0 -t 1000
Monitoring eth0 interface..
Listening port 3306..
Logging transactions that take more than 1000 milliseconds..
Session 2:
mysql> begin;
mysql> select * from t1 where id = 2 for update;
Session 3:
mysql> begin;
mysql> update t1 set name = 'ccc' where id = 1;
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction
Session 1:
/usr/local/bin/myslowtrancapture -i eth0 -t 1000
Monitoring eth0 interface..
Listening port 3306..
Logging transactions that take more than 1000 milliseconds..
MySlowTranCapture does not prints any thing in session 1.
Please help in using this tool.
Thanks,
Laalesh
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.