ruiaylin / tidbslowsql

A Real time , High performance, Multi-dimension Slow Query Analysis System for TiDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TiDBSlowSQL

A Real time , High performance, Multi-dimension Slow Query Analysis System for TiDB

Modules

  • Slow Query Collection module

    • gathering the slow query in stream
    • structure the text string to a structured data
    • send the data to kafka system
  • SQL Message Processing module

    • consume messages from kafka
    • do sql parsing and gen the abstract SQL
    • computing the report and store it to MySQL
  • The Web End

    • show the real time slow query stream
    • show report data

About

A Real time , High performance, Multi-dimension Slow Query Analysis System for TiDB

License:MIT License


Languages

Language:Go 33.4%Language:JavaScript 29.8%Language:Python 26.1%Language:Lua 5.4%Language:CSS 2.9%Language:Makefile 1.0%Language:OCaml 0.8%Language:HTML 0.6%