Gaea
github.com
Spec sheet
- Purpose
- It supports database and table sharding, SQL routing, and read/write separation.Read 9 Oct 2026 · github.com
- Product
- Gaea is a MySQL protocol database middleware and proxy developed by Xiaomi’s B2C development team.Read 9 Oct 2026 · github.com
- Intended users
- The README says Gaea is used across mobile, automotive, ecosystem-chain, finance, and internet businesses.Read 9 Oct 2026 · github.com
- Deployment
- The quick start says Gaea is written in Go and can be compiled into gaea and gaea-cc executables for local use.Read 9 Oct 2026 · github.com
- Integrations
- The project documentation names etcd for configuration and Grafana for monitoring dashboards.Read 9 Oct 2026 · github.com
- License
- The GitHub repository identifies the project as licensed under Apache-2.0.Read 9 Oct 2026 · github.com
- Maker
- The repository says Gaea is developed by Xiaomi’s B2C development team.Read 9 Oct 2026 · github.com
- Compatibility limit
- For sharded tables, the project describes itself as lightweight and says it does not rewrite SQL semantics or calculate concatenated results from multiple result sets.Read 9 Oct 2026 · github.com
- Configuration
- Gaea supports file and etcd configuration; the documentation says file mode does not support hot reload and etcd is the only supported configuration center.Read 9 Oct 2026 · github.com
- Monitoring
- Its monitoring documentation describes Prometheus metrics and Grafana dashboards for proxy and tenant metrics.Read 9 Oct 2026 · github.com
- Multi-tenancy
- Its listed basic features include multiple clusters and multiple tenants.Read 9 Oct 2026 · github.com
- Proxy features
- Listed features include multi-cluster and multi-tenant support, transparent SQL forwarding, connection pooling, and configuration hot reload.Read 9 Oct 2026 · github.com
- Security controls
- Documented controls include client and backend user credentials, read-only and read/write permissions, IP allowlists, and optional encryption of sensitive namespace data.Read 9 Oct 2026 · github.com
- Sharding
- Gaea supports database and table sharding, SQL routing, and read/write separation.Read 9 Oct 2026 · github.com
- Sharding compatibility
- Its sharding approach supports Mycat database sharding and Kingshard table sharding, with aggregation functions and certain joins across shards.Read 9 Oct 2026 · github.com
- SQL controls
- Gaea supports slow and error SQL fingerprints, custom SQL interception and filtering, and IP or CIDR allowlists.Read 9 Oct 2026 · github.com
- SQL handling
- It supports transparent SQL forwarding, annotation-based routing, slow and error SQL fingerprints, and custom SQL interception and filtering.Read 9 Oct 2026 · github.com
- SQL limitations
- For sharded tables, the compatibility guide says cross-shard joins, multi-shard batch inserts, and INSERT INTO SELECT are unsupported.Read 9 Oct 2026 · github.com
- Traffic management
- It supports read/write separation with replica load balancing, connection pooling, and configuration hot reloading.Read 9 Oct 2026 · github.com
- Transaction limitation
- Gaea supports single-shard transactions but has not implemented distributed transactions; cross-shard transactions return an error.Read 9 Oct 2026 · github.com
Where Specifiction places it
- Database Proxy Software#25 of 317.2