discover · compare · collections · requirements · contribute · feed · watching · stats · help with your tokens
XiaoMi/soar · source
Snapshot 0 · 2026-11-04T12:47:25Z · Go · Apache-2.0
Content fingerprint
712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68cGitHub description at capture
SQL Optimizer And Rewriter
README at capture
#  [](https://gitter.im/xiaomi-dba/soar) [](http://github.com/XiaoMi/soar/blob/master/LICENSE) [](https://goreportcard.com/report/github.com/XiaoMi/soar) [](https://travis-ci.org/XiaoMi/soar) [](https://godoc.org/github.com/XiaoMi/soar) [文档](http://github.com/XiaoMi/soar/tree/master/doc) | [FAQ](http://github.com/XiaoMi/soar/blob/master/doc/FAQ.md) | [变更记录](http://github.com/XiaoMi/soar/blob/master/CHANGES.md) | [路线图](http://github.com/XiaoMi/soar/blob/master/doc/roadmap.md) | [English](http://github.com/XiaoMi/soar/blob/master/README_EN.md) ## SOAR SOAR(SQL Optimizer And Rewriter) 是一个对 SQL 进行优化和改写的自动化工具。 由小米人工智能与云平台的数据库团队开发与维护。 ## 功能特点 * 跨平台支持(支持 Linux, Mac 环境,Windows 环境理论上也支持,不过未全面测试) * 目前只支持 MySQL 语法族协议的 SQL 优化 * 支持基于启发式算法的语句优化 * 支持复杂查询的多列索引优化(UPDATE, INSERT, DELETE, SELECT) * 支持 EXPLAIN 信息丰富解读 * 支持 SQL 指纹、压缩和美化 * 支持同一张表多条 ALTER 请求合并 * 支持自定义规则的 SQL 改写 ## 快速入门 * [安装使用](http://github.com/XiaoMi/soar/blob/master/doc/install.md) * [体系架构](http://github.com/XiaoMi/soar/blob/master/doc/structure.md) * [配置文件](http://github.com/XiaoMi/soar/blob/master/doc/config.md) * [常用命令](http://github.com/XiaoMi/soar/blob/master/doc/cheatsheet.md) * [产品对比](http://github.com/XiaoMi/soar/blob/master/doc/comparison.md) * [路线图](http://github.com/XiaoMi/soar/blob/master/doc/roadmap.md) ## 交流与反馈 * 欢迎通过 Github Issues 提交问题报告与建议 * QQ 群:779359816(未满) 758940447(已满) * [Gitter](https://gitter.im/xiaomi-dba/soar) 推荐  ## License [Apache License 2.0](https://github.com/XiaoMi/soar/blob/master/LICENSE).