Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiaomi/soar
SQL Optimizer And Rewriter
https://github.com/xiaomi/soar
advisor auditor command-line database indexing mysql optimizer rewrite sql suggestion syntax
Last synced: 1 day ago
JSON representation
SQL Optimizer And Rewriter
- Host: GitHub
- URL: https://github.com/xiaomi/soar
- Owner: XiaoMi
- License: apache-2.0
- Created: 2018-10-08T10:05:29.000Z (about 6 years ago)
- Default Branch: dev
- Last Pushed: 2023-12-15T09:13:07.000Z (11 months ago)
- Last Synced: 2024-10-29T14:56:04.626Z (22 days ago)
- Topics: advisor, auditor, command-line, database, indexing, mysql, optimizer, rewrite, sql, suggestion, syntax
- Language: Go
- Homepage:
- Size: 12.4 MB
- Stars: 8,671
- Watchers: 280
- Forks: 1,321
- Open Issues: 73
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ![SOAR](https://raw.githubusercontent.com/XiaoMi/soar/master/doc/images/logo.png)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/xiaomi-dba/soar)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](http://github.com/XiaoMi/soar/blob/master/LICENSE)
[![Go Report Card](https://goreportcard.com/badge/github.com/XiaoMi/soar)](https://goreportcard.com/report/github.com/XiaoMi/soar)
[![Build Status](https://travis-ci.org/XiaoMi/soar.svg?branch=master)](https://travis-ci.org/XiaoMi/soar)
[![GoDoc](https://godoc.org/github.com/XiaoMi/soar?status.svg)](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) 推荐![xiaomi_sa](https://raw.githubusercontent.com/XiaoMi/soar/master/doc/images/xiaomi_sa.png)
## License
[Apache License 2.0](https://github.com/XiaoMi/soar/blob/master/LICENSE).