Test-Commander Eric was working on the log-replay task and as he is at my place right now, we have put our heads together to get a working prototype together.
--- -- log queries going throw the proxy on request and -- provide a commands to work on the logged queries -- -- * PROXY SET GLOBAL replay.log_queries = (true|false) -- log queries sequentially (used by SAVE) -- * PROXY SET GLOBAL replay.fake_mysqld = (true|false) -- return the logged resultset for known queries -- -- * QUERYLOG SAVE INTO "filename" -- dump the queries into a file and reset the log buffer -- * QUERYLOG LOAD FROM "filename" -- load logged queries back into the query_log (used by the -- fake_mysqld) -- * QUERYLOG SHOW
What is this useful for ? ... hmm ...
The first goal is creating a fake-mysqld allowing us to run proxy tests without have to have a mysqld on the box.
As a proof-of-concept we logged the SHOW GLOBAL STATUS going through the proxy …
[Read more]