Gaea
The facts below are what the maker publishes about Gaea, checked and dated. Our editors have not written about it yet.
The facts
Each one read from Gaea's own pages, with the date it was checked.
What it does
- 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.checked 9 Oct 2026
- 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.checked 9 Oct 2026
- Deployment
- The quick start says Gaea is written in Go and can be compiled into gaea and gaea-cc executables for local use.checked 9 Oct 2026
- Integrations
- The project documentation names etcd for configuration and Grafana for monitoring dashboards.checked 9 Oct 2026
- Intended users
- The README says Gaea is used across mobile, automotive, ecosystem-chain, finance, and internet businesses.checked 9 Oct 2026
- License
- The GitHub repository identifies the project as licensed under Apache-2.0.checked 9 Oct 2026
- Monitoring
- Its monitoring documentation describes Prometheus metrics and Grafana dashboards for proxy and tenant metrics.checked 9 Oct 2026
- Multi-tenancy
- Its listed basic features include multiple clusters and multiple tenants.checked 9 Oct 2026
- Product
- Gaea is a MySQL protocol database middleware and proxy developed by Xiaomi’s B2C development team.checked 9 Oct 2026
- Proxy features
- Listed features include multi-cluster and multi-tenant support, transparent SQL forwarding, connection pooling, and configuration hot reload.checked 9 Oct 2026
- Purpose
- It supports database and table sharding, SQL routing, and read/write separation.checked 9 Oct 2026
- 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.checked 9 Oct 2026
- Sharding
- Gaea supports database and table sharding, SQL routing, and read/write separation.checked 9 Oct 2026
- Sharding compatibility
- Its sharding approach supports Mycat database sharding and Kingshard table sharding, with aggregation functions and certain joins across shards.checked 9 Oct 2026
- SQL controls
- Gaea supports slow and error SQL fingerprints, custom SQL interception and filtering, and IP or CIDR allowlists.checked 9 Oct 2026
- SQL handling
- It supports transparent SQL forwarding, annotation-based routing, slow and error SQL fingerprints, and custom SQL interception and filtering.checked 9 Oct 2026
- SQL limitations
- For sharded tables, the compatibility guide says cross-shard joins, multi-shard batch inserts, and INSERT INTO SELECT are unsupported.checked 9 Oct 2026
- Traffic management
- It supports read/write separation with replica load balancing, connection pooling, and configuration hot reloading.checked 9 Oct 2026
- Transaction limitation
- Gaea supports single-shard transactions but has not implemented distributed transactions; cross-shard transactions return an error.checked 9 Oct 2026
The company
- Maker
- The repository says Gaea is developed by Xiaomi’s B2C development team.checked 9 Oct 2026
Alternatives to Gaea
- 1
OceanBase Database
Free planOpen sourceWebAPILinuxmacOS8.2$2.38 usage-based - 2

MySQL
Free planAPILinuxmacOSSelf-hosted7.9Free plan - 3
Supavisor
Free planOpen sourceAPILinuxSelf-hosted7.6From $25 a month - 4
Avidemux
Free planOpen sourceWebLinuxmacOSWindows7.3Free plan - 5
TiCDC
Free planOpen sourceAPILinuxmacOSSelf-hosted7.2Free plan - 6

Amazon RDS
Free planWebAPISelf-hosted7.1Free plan
