Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport configurable 'slow query' detection for vtgate #6177
Comments
|
This would be a nice addition. Could someone post a an implementation sketch (where to start)? |


Feature Description
MySQL has the ability to configure when to log slow queries with the
long_query_timeoption.This request is to add similar support for
vtgatethat will allow vitess admins to configure what they determine are slow queries to be flagged as 'slow'. MySQL uses theSERVER_QUERY_WAS_SLOWflag to indicate this and update statistics.Use Case(s)