Skip to content
Projects

XiaoMi/soar has 8,750 GitHub stars and 1,317 forks. GitHot measured -3 stars in 24 hours. Last checked 2026-11-05 23:12 UTC. Last push 2023-12-15.

How these counts are measured

SQL Optimizer And Rewriter

Measured star growth

in 24h
-3
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

SOAR

Gitter License Go Report Card Build Status GoDoc

Docs | FAQ | 中文

SOAR

SOAR (SQL Optimizer And Rewriter) is a tool, which can help SQL optimization and rewrite. It's developed and maintained by the DBA Team of Xiaomi AI&Cloud.

Features

  • Cross-platform support, such as Linux, Mac, and Windows
  • Support Heuristic Rules Suggestion
  • Support Complicate SQL Indexing Optimize
  • Support EXPLAIN analyze for query plan
  • Support SQL fingerprint, compress and built-in pretty print
  • Support merge multi ALTER query into one SQL
  • Support self-config rewrite rules from SQL Rewrite
  • Suggestions were written in Chinese. But SOAR also gives many tools, which can be used without understanding Chinese.

QuickStart

Communication

  • GitHub issues: bug reports, usage issues, feature requests
  • Gitter
  • IM QQ Group: 779359816

License

Apache License 2.0.

Explore related projects