MyCATApache/Mycat2
MySQL Proxy using Java NIO based on Sharding SQL,Calcite ,simple and fast observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3316
- days_rel: n/a
- days_push: 1114
- n_releases_24m: 0
Adoption not part of the score
1733 stars · 476 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Mycat2 is a distributed database middleware written in Java that acts as a MySQL-protocol-compatible proxy, providing transparent data sharding, distributed SQL queries, and read/write splitting across multiple backend databases. It uses a Calcite-based query optimizer and Java NIO/Vert.x for asynchronous, high-throughput connection handling.
Use cases
- shard a large MySQL table across multiple database nodes transparently
- scale out MySQL reads with read-write splitting behind a single endpoint
- run distributed SQL joins across sharded MySQL databases
- add a proxy layer in front of MySQL or MariaDB without changing client applications
- implement XA distributed transactions across multiple database slices
- migrate a monolithic MySQL database to a horizontally scaled cluster
When to choose
- you need MySQL-compatible sharding middleware in the Java ecosystem
- you want transparent horizontal scaling of MySQL without rewriting application SQL
- you need read/write splitting and load balancing across MySQL replicas
- you require distributed transactions (XA) across sharded backends
When to avoid
- you use a database other than MySQL/MariaDB as your primary backend
- you need a fully managed distributed SQL database rather than middleware
- your project requires active community development - releases have slowed since 2023
- you need non-Java 8 runtime support, which is not yet available
Facets
service · maturity maintenance
database proxy routing middleware databases microservices backend developer-tools jvm cross-platform self-hosted mysql-proxy database-sharding sql-middleware read-write-splitting calcite xa-transactions sql linux
2 sources
- readme: https://github.com/MyCATApache/Mycat2 · fetched 2026-08-28 · c97742393cd5
- homepage: http://www.mycat.org.cn/ · fetched 2026-08-29 · 7d81f2fe8a83
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MyCATApache/Mycat2 | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="MyCATApache/Mycat2")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem