# actiontech/dble

A High Scalability Middle-ware for MySQL Sharding

Repository: https://github.com/actiontech/dble
Canonical: https://ross.abutalabs.com/products/dble
Homepage: https://opensource.actionsky.com
Language: Java
License: GPL-2.0
License Family: copyleft
Topics: mysql, distributed-database, sharding, dble, mysql-sharding
Last push: 2026-07-02T04:25:26+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 8, longevity 100
- inputs: {"age_days": 3296, "days_push": 62, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1118, forks 315 (observed 2026-08-28T04:03:39.247909+00:00)

## What it is
DBLE is a highly scalable database middleware for MySQL sharding, originally forked from MyCat and maintained by ActionTech. It speaks the MySQL protocol so applications can use it as a drop-in replacement for a single MySQL instance while transparently distributing data across sharded backends.

## Use cases
- shard a large MySQL database across multiple nodes
- scale out MySQL horizontally as data grows beyond a single instance
- replace a single MySQL instance with a sharded setup without changing application code
- set up read-write splitting for MySQL
- run distributed transactions across sharded MySQL nodes with XA or two-phase commit
- deploy a highly available clustered MySQL proxy layer
- run complex SQL queries like joins and group by across sharded tables

## When to choose
- you need MySQL-compatible sharding middleware with no application code changes
- you want read-write splitting and transparent data sharding for OLTP workloads
- you need distributed transactions (XA or two-phase commit) across shards
- you want battle-tested middleware used in banking and other high-reliability environments
- you prefer a Java-based, actively maintained fork of MyCat focused purely on MySQL

## When to avoid
- you use databases other than MySQL, since dble dropped support for them
- you need a fully distributed SQL database rather than a proxy/middleware layer
- your dataset fits comfortably in a single MySQL instance and you don't need sharding
- you rely heavily on sub-queries or features still on dble's roadmap
- you want a cloud-managed sharding solution rather than self-hosted middleware

## Facets
- artifact type: service
- maturity: active
- function: database, middleware, routing, rpc
- domain: databases, microservices, backend, developer-tools
- platform: jvm, self-hosted
- tags: mysql-sharding, database-proxy, mysql-protocol, read-write-splitting, distributed-transactions, two-phase-commit, mycat-fork, oltp, linux, web-server

## Member repositories
- actiontech/dble (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:39.247909+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-30T06:41:27.597553+00:00, confidence not recorded.
  - readme: https://github.com/actiontech/dble (fetched 2026-08-28T04:03:39.247909+00:00, sha f37508915679)
  - homepage: https://opensource.actionsky.com (fetched 2026-08-29T12:45:35.481784+00:00, sha b1d37a2c585b)
  - site_page: https://opensource.actionsky.com/about_us (fetched 2026-08-29T12:45:35.484915+00:00, sha e7a7650c022a)
  - site_page: https://opensource.actionsky.com/202602-scale-new-features (fetched 2026-08-29T12:45:35.486808+00:00, sha 494e11a1a3d9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
