MySQL Proxy: Query Stats
In one of the last commits I added a SQL Tokenizer which understands the basic tokens of (My)SQL:
- Strings
- Literals
- Numbers
- Comments
- Operators
With this basic understanding we can normalize Queries and build statistics over similar queries.
The idea is simple and already implemented in mysqldumpslow
:
/* login.php:37 ...