sans-sense / queralyzer Goto Github PK
View Code? Open in Web Editor NEWMySQL access plan analysis tool
Home Page: http://sans-sense.github.io/queralyzer/
MySQL access plan analysis tool
Home Page: http://sans-sense.github.io/queralyzer/
remove hardcoded paths given in my.init
execution plan should be displayed properly like the one shown by repl
+----+-------------+---------+--------+---------------+---------------+---------+--------------------------+------+-------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+---------+--------+---------------+---------------+---------+--------------------------+------+-------+
| 1 | SIMPLE | history | index | idx_sc_date | idx_sc_date | 35 | NULL | 740 | |
| 1 | SIMPLE | stock | eq_ref | idx_stockcode | idx_stockcode | 32 | pfolio.history.stockcode | 1 | |
+----+-------------+---------+--------+---------------+---------------+---------+--------------------------+------+-------+
Should be able to provide table information to mysql for non existent tables
should be able to supply a sql and see its execution plan
Run mysql in embedded mode
Detailed documentation of how the execution plans with code snippets and resources for others to get a head start. This document should also cover what devs can do to get a better execution plan.
queralyzer should be able to take index information from a file. The repl should understand commands like
index@file://abc.index, which should contain index information in json format. The format should be same as
+-------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+-------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| stock | 0 | PRIMARY | 1 | id | A | 1153 | NULL | NULL | | BTREE | | |
| stock | 0 | idx_stockcode | 1 | stockcode | A | 1153 | NULL | NULL | | BTREE | | |
+-------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
which is used by "show indexes in tablename".
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.