{"adoption": {"forks": 1319, "observed_at": "2026-08-28T04:10:25.575664+00:00", "stars": 8758}, "canonical_url": "https://ross.abutalabs.com/products/soar", "card": {"archived": false, "artifact_type": "cli-tool", "description": "SQL Optimizer And Rewriter", "domain": ["databases", "developer-tools", "performance"], "enriched": true, "function": ["database", "developer-tools", "cli"], "health_score": 20, "homepage": null, "language": "Go", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["XiaoMi/soar"], "name": "XiaoMi/soar", "platform": ["windows", "cli", "go"], "pushed_at": "2023-12-15T09:13:07+00:00", "repo": "XiaoMi/soar", "stars": 8758, "tags": ["sql-optimizer", "sql-rewriter", "mysql", "query-advisor", "index-optimization", "sql-audit", "linux", "macos"], "topics": ["sql", "advisor", "optimizer", "rewrite", "suggestion", "mysql", "syntax", "auditor", "indexing", "database", "command-line"], "urls": [], "use_cases": ["analyze and optimize slow MySQL queries", "get index recommendations for SELECT, UPDATE, INSERT, DELETE statements", "rewrite SQL with custom rules", "audit SQL syntax and suggest improvements", "merge multiple ALTER TABLE requests into one", "pretty-print and fingerprint SQL statements", "interpret EXPLAIN output in a readable way"], "what_it_is": "SOAR (SQL Optimizer And Rewriter) is a command-line tool from Xiaomi's database team that automatically optimizes and rewrites SQL statements for MySQL. It provides heuristic query optimization, multi-column index suggestions, EXPLAIN interpretation, and SQL fingerprinting/beautification.", "when_to_avoid": ["you use non-MySQL databases like PostgreSQL or SQL Server", "you need a GUI-based or always-on monitoring optimizer", "you require actively developed features, as the project is in maintenance with infrequent releases"], "when_to_choose": ["you work with MySQL-family databases and want automated query review", "you need index advice for complex multi-column queries", "you want a standalone cross-platform CLI for SQL auditing in CI or DBA workflows"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/soar", "repo": "XiaoMi/soar", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:25:15.522642+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68c", "fetched_at": "2026-08-28T04:10:25.575664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/XiaoMi/soar"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:25:15.522642+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68c", "fetched_at": "2026-08-28T04:10:25.575664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/XiaoMi/soar"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:25:15.522642+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68c", "fetched_at": "2026-08-28T04:10:25.575664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/XiaoMi/soar"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:25:15.522642+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68c", "fetched_at": "2026-08-28T04:10:25.575664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/XiaoMi/soar"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:25:15.522642+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68c", "fetched_at": "2026-08-28T04:10:25.575664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/XiaoMi/soar"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:25:15.522642+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68c", "fetched_at": "2026-08-28T04:10:25.575664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/XiaoMi/soar"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:25.575664+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:25:15.522642+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68c", "fetched_at": "2026-08-28T04:10:25.575664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/XiaoMi/soar"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:25:15.522642+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68c", "fetched_at": "2026-08-28T04:10:25.575664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/XiaoMi/soar"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:25:15.522642+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68c", "fetched_at": "2026-08-28T04:10:25.575664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/XiaoMi/soar"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:25:15.522642+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "712abf951624d4fd9e74525aa9f70e62f3bcc739c53bf142c210ffb4af84a68c", "fetched_at": "2026-08-28T04:10:25.575664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/XiaoMi/soar"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2886, "days_push": 992, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}