Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Calculate per query statistics #263
More specifically, for a given select query:
I have implemented EXPLAIN command that works with any SELECT queries
shard_local says if query was executed on a local server or through remote call
It can already give some interesting data - like how come empty shard has appeared or that LIMIT clause works per shard...
To an extent this depends on work I did for #294
At the moment it is collecting data from QueryEngine, but I am not sure if data for other engines that participate in SELECT query could be useful
Do you think I should continue with this?
Yeah, looks great. Not sure we need the other engines to produce stats. As long as we see the same metrics regardless of query, which I think it will because at some point it goes through the engine?
Can you push to a branch and submit a PR so we can have a look?