# actiontech/sqle

一个支持多种不同类型数据库，覆盖事前控制、事后监督、标准发布场景，帮助您建立质量规范的SQL全生命周期质量管理平台

Repository: https://github.com/actiontech/sqle
Canonical: https://ross.abutalabs.com/products/sqle
Language: Go
License: MPL-2.0
License Family: copyleft
Topics: mysql, sql-audit, sql, audit, mybatis, optimize, advisor, suggestion, pg, postgresql, oracle, mssql, jetbrains
Last push: 2026-08-26T07:32:58+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 91, longevity 100
- inputs: {"age_days": 2095, "days_push": 7, "days_rel": 61, "gap_med": 28.0, "n_releases_24m": 23}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1499, forks 215 (observed 2026-08-28T04:04:54.073625+00:00)

## What it is
SQLE is a self-hosted SQL quality management platform that audits, monitors, and governs SQL across its full lifecycle, from development-time review to production change control. It supports many databases (MySQL, PostgreSQL, Oracle, SQL Server, and Chinese databases like OceanBase and DM) with 1000+ built-in audit rules, rollback generation, and CI/CD and IDE integrations.

## Use cases
- audit SQL before deploying to production
- find and optimize slow queries
- enforce SQL coding standards across teams
- generate rollback statements for database changes
- integrate SQL review into CI/CD pipelines
- check SQL quality from IDE or MyBatis code
- track and approve database change workflows
- analyze execution plans and index recommendations

## When to choose
- your team needs automated SQL review gates before release
- you manage MySQL, PostgreSQL, Oracle, or domestic Chinese databases and want unified SQL governance
- you want slow query collection, execution plan analysis, and index advice in one platform
- you need approval workflows with DingTalk/Feishu/WeCom notifications for DB changes

## When to avoid
- you only need a lightweight linter without a server or approval workflows
- your database is not among the supported engines
- you want a fully managed SaaS rather than self-hosted deployment

## Facets
- artifact type: application
- maturity: active
- function: database, monitoring, analytics, workflow-automation, ci-cd
- domain: databases, developer-tools, backend
- platform: self-hosted, go, editor-plugin
- tags: sql-audit, sql-quality, database-ops, sql-optimization, mysql, postgresql, oracle, sql-review, change-management, slow-query-analysis, devops, linux, docker, web-server

## Member repositories
- actiontech/sqle (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:54.073625+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:33:01.979546+00:00, confidence not recorded.
  - readme: https://github.com/actiontech/sqle (fetched 2026-08-28T04:04:54.073625+00:00, sha 4f81f8c4b57b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
