# alibaba/AliSQL

AliSQL is a MySQL branch originated from Alibaba Group. Fetch document from Release Notes at bottom.

Repository: https://github.com/alibaba/AliSQL
Canonical: https://ross.abutalabs.com/products/alisql
Language: C++
License: NOASSERTION
License Family: other
Topics: database, mysql, alisql, duckdb, vector
Last push: 2026-07-18T05:33:44+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 69, longevity 100
- inputs: {"age_days": 3689, "days_push": 46, "days_rel": 47, "gap_med": 178, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5870, forks 903 (observed 2026-08-28T04:09:31.813688+00:00)

## What it is
AliSQL is Alibaba Cloud's open-source MySQL branch based on MySQL 8.0.44, adding a DuckDB columnar analytical storage engine and native HNSW vector indexes. It retains full MySQL client protocol compatibility while adding features like Native Flashback and binlog durability optimizations.

## Use cases
- run analytical OLAP queries on MySQL data with DuckDB columnar engine
- store and search vector embeddings with HNSW indexes in MySQL
- query historical table data with AS OF TIMESTAMP flashback
- reduce commit I/O for large transactions with binlog optimizations
- migrate existing MySQL apps to a database with vector search support

## When to choose
- you need MySQL compatibility plus analytical query acceleration
- you want vector similarity search without adding a separate vector database
- you need point-in-time flashback queries on InnoDB data

## When to avoid
- you need a fully upstream-supported vanilla MySQL with vendor support
- you require non-GPL licensing for your product
- you depend on MySQL features or plugins not present in this branch

## Facets
- artifact type: application
- maturity: active
- function: database, vector-database, search-engine
- domain: databases, analytics, large-language-models
- platform: self-hosted, cpp
- tags: mysql-branch, duckdb, hnsw, vector-search, flashback, olap, alibaba, search, linux

## Member repositories
- alibaba/AliSQL (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:31.813688+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-29T17:51:36.102253+00:00, confidence not recorded.
  - readme: https://github.com/alibaba/AliSQL (fetched 2026-08-28T04:09:31.813688+00:00, sha 7418ddc150e5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
