{"id":15024160,"url":"https://github.com/xiaomi/soar","last_synced_at":"2025-04-29T18:43:22.882Z","repository":{"id":37431354,"uuid":"152058245","full_name":"XiaoMi/soar","owner":"XiaoMi","description":"SQL Optimizer And Rewriter","archived":false,"fork":false,"pushed_at":"2023-12-15T09:13:07.000Z","size":13018,"stargazers_count":8671,"open_issues_count":73,"forks_count":1321,"subscribers_count":280,"default_branch":"dev","last_synced_at":"2024-10-29T14:56:04.626Z","etag":null,"topics":["advisor","auditor","command-line","database","indexing","mysql","optimizer","rewrite","sql","suggestion","syntax"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XiaoMi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-08T10:05:29.000Z","updated_at":"2024-10-29T09:01:40.000Z","dependencies_parsed_at":"2023-02-12T08:45:36.061Z","dependency_job_id":"09d879e0-6b49-416a-967b-f325648ecf33","html_url":"https://github.com/XiaoMi/soar","commit_stats":{"total_commits":363,"total_committers":21,"mean_commits":"17.285714285714285","dds":0.2286501377410468,"last_synced_commit":"fab04633b12ba1e4f35456112360150a6d0d1421"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XiaoMi%2Fsoar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XiaoMi%2Fsoar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XiaoMi%2Fsoar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XiaoMi%2Fsoar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XiaoMi","download_url":"https://codeload.github.com/XiaoMi/soar/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251561730,"owners_count":21609445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advisor","auditor","command-line","database","indexing","mysql","optimizer","rewrite","sql","suggestion","syntax"],"created_at":"2024-09-24T19:59:52.659Z","updated_at":"2025-04-29T18:43:22.835Z","avatar_url":"https://github.com/XiaoMi.png","language":"Go","readme":"# ![SOAR](https://raw.githubusercontent.com/XiaoMi/soar/master/doc/images/logo.png)\n\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/xiaomi-dba/soar)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](http://github.com/XiaoMi/soar/blob/master/LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/XiaoMi/soar)](https://goreportcard.com/report/github.com/XiaoMi/soar)\n[![Build Status](https://travis-ci.org/XiaoMi/soar.svg?branch=master)](https://travis-ci.org/XiaoMi/soar)\n[![GoDoc](https://godoc.org/github.com/XiaoMi/soar?status.svg)](https://godoc.org/github.com/XiaoMi/soar)\n\n[文档](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)\n\n## SOAR\n\nSOAR(SQL Optimizer And Rewriter) 是一个对 SQL 进行优化和改写的自动化工具。 由小米人工智能与云平台的数据库团队开发与维护。\n\n## 功能特点\n\n* 跨平台支持（支持 Linux, Mac 环境，Windows 环境理论上也支持，不过未全面测试）\n* 目前只支持 MySQL 语法族协议的 SQL 优化\n* 支持基于启发式算法的语句优化\n* 支持复杂查询的多列索引优化（UPDATE, INSERT, DELETE, SELECT）\n* 支持 EXPLAIN 信息丰富解读\n* 支持 SQL 指纹、压缩和美化\n* 支持同一张表多条 ALTER 请求合并\n* 支持自定义规则的 SQL 改写\n\n## 快速入门\n\n* [安装使用](http://github.com/XiaoMi/soar/blob/master/doc/install.md)\n* [体系架构](http://github.com/XiaoMi/soar/blob/master/doc/structure.md)\n* [配置文件](http://github.com/XiaoMi/soar/blob/master/doc/config.md)\n* [常用命令](http://github.com/XiaoMi/soar/blob/master/doc/cheatsheet.md)\n* [产品对比](http://github.com/XiaoMi/soar/blob/master/doc/comparison.md)\n* [路线图](http://github.com/XiaoMi/soar/blob/master/doc/roadmap.md)\n\n## 交流与反馈\n\n* 欢迎通过 Github Issues 提交问题报告与建议\n* QQ 群：779359816（未满） 758940447（已满）\n* [Gitter](https://gitter.im/xiaomi-dba/soar) 推荐\n\n ![xiaomi_sa](https://raw.githubusercontent.com/XiaoMi/soar/master/doc/images/xiaomi_sa.png)\n\n## License\n\n[Apache License 2.0](https://github.com/XiaoMi/soar/blob/master/LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaomi%2Fsoar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaomi%2Fsoar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaomi%2Fsoar/lists"}