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: about 2 months 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 (12 months ago)
- Last Synced: 2024-10-15T04:22:47.807Z (about 2 months ago)
- Topics: advisor, auditor, command-line, database, indexing, mysql, optimizer, rewrite, sql, suggestion, syntax
- Language: Go
- Homepage:
- Size: 12.4 MB
- Stars: 8,667
- Watchers: 280
- Forks: 1,319
- Open Issues: 72
-
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
- awesome-modernization - Soar
- favorite-link - SQL 优化器和重写器。
- my-awesome - XiaoMi/soar - line,database,indexing,mysql,optimizer,rewrite,sql,suggestion,syntax pushed_at:2023-12 star:8.7k fork:1.3k SQL Optimizer And Rewriter (Go)
- awesome-ops - XiaoMi/soar - 2.0|8659|2018-10-08|2023-12-15 | 一个对 SQL 进行优化和改写的自动化工具,支持多平台 | (终端命令行工具)
- awesome-starts - XiaoMi/soar - SQL Optimizer And Rewriter (Go)
- go-awesome - SOAR - an automated tool for optimizing and rewriting SQL (Open source library / Database)
- jimsghstars - XiaoMi/soar - SQL Optimizer And Rewriter (Go)
- awesome-hacking-lists - XiaoMi/soar - SQL Optimizer And Rewriter (Go)
- StarryDivineSky - XiaoMi/soar
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).