1、SQLAdvisor是什麼git
SQLAdvisor是由美團點評公司技術工程部DBA團隊(北京)開發維護的一個分析SQL給出索引優化建議的工具。它基於MySQL原生態詞法解析,結合分析SQL中的where條件、聚合條件、多表Join關係 給出索引優化建議。目前SQLAdvisor在美團點評內部普遍應用,公司內部對SQLAdvisor的開發全面轉到github上,開源和內部使用保持一致。github
主要功能:輸出SQL索引優化建議架構
開源地址:https://github.com/Meituan-Dianping/SQLAdvisor工具
2、SQLAdvisor詳細說明優化
SQLAdvisor快速入門教程 : https://github.com/Meituan-Dianping/SQLAdvisor/blob/master/doc/QUICK_START.md教程
SQLAdvisor架構和實踐: https://github.com/Meituan-Dianping/SQLAdvisor/blob/master/doc/THEORY_PRACTICES.md索引
SQLAdvisor release notes : https://github.com/Meituan-Dianping/SQLAdvisor/blob/master/doc/RELEASE_NOTES.md開發
SQLAdvisor開發規範: https://github.com/Meituan-Dianping/SQLAdvisor/blob/master/doc/DEVELOPMENT_NORM.md文檔
FAQ : https://github.com/Meituan-Dianping/SQLAdvisor/blob/master/doc/FAQ.mdget
3、結構流程圖(參考源碼文檔)