# Apache ShardingSphere

> Distributed SQL layer for sharding, read/write splitting and encryption on top of existing databases

Source: https://talira.ai/catalog/apache-shardingsphere-dsprwqkp
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Infrastructure
- Categories: [databases / sharding](https://talira.ai/categories/databases/sharding), [databases / mysql / sharding](https://talira.ai/categories/databases/mysql/sharding)
- Platforms: linux, docker, kubernetes[^3]
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Plugins: yes[^2]
- Backed by: [Apache Software Foundation](https://talira.ai/orgs/apache-software-foundation.md)
- Funding: non-profit[^4]

Apache ShardingSphere is a layer on top of existing databases (MySQL, PostgreSQL, SQL Server, Oracle, MariaDB and other SQL-92 databases) that makes many of them work like one, without creating a new database. It shards data across databases to scale computing and storage horizontally, splits reads and writes with load balancing across replicas, runs distributed transactions with XA and BASE engines, encrypts and masks data transparently, federates queries across data sources and migrates data while sharding it. Applications reach it two ways, alone or together: ShardingSphere-JDBC, an enhanced JDBC driver for Java applications, and ShardingSphere-Proxy, a database proxy deployed as a separate server that speaks the MySQL and PostgreSQL protocols to any client. Its micro-kernel architecture is pluggable, and ShardingSphere-on-Cloud deploys it on Kubernetes. It's an Apache Software Foundation project, written in Java.

## Links

- Website: https://shardingsphere.apache.org/
- GitHub: https://github.com/apache/shardingsphere
- Docs: https://shardingsphere.apache.org/document/current/en/overview/

## Problems it solves

- shard my MySQL or PostgreSQL tables across several servers without rewriting my app
- split reads to replicas and writes to the primary automatically
- encrypt sensitive columns in my existing database without changing application code

## Features

- data sharding across databases
- read/write splitting with load balancing
- distributed transactions (XA and BASE)
- transparent data encryption and masking
- query federation across data sources
- data migration while sharding
- ShardingSphere-JDBC driver for Java
- ShardingSphere-Proxy speaking MySQL and PostgreSQL protocols
- Kubernetes deployment with ShardingSphere-on-Cloud

## Capabilities

- Takes plugins: plan not known

## Trust

Overall: 0.79 out of 1.
Signals: maintenance 1.00, adoption 0.86, momentum 0.67, community 1.00, backing 0.55, extensibility 0.20.

- last commit today
- 732 commits in the last 90 days
- latest release 5.5.3 8 months ago
- 20.8k GitHub stars
- 791 contributors
- backed by Apache Software Foundation
- funding: non-profit
- has a plugin system

## Alternatives

- [Vitess](https://talira.ai/catalog/vitess-75jdggh8.md): Scalable. Reliable. MySQL-compatible. Cloud-native. Database.

## Sources

[^1]: https://github.com/apache/shardingsphere/blob/master/LICENSE (checked 23 Nov 2026)
[^2]: https://github.com/apache/shardingsphere (checked 23 Nov 2026)
[^3]: https://shardingsphere.apache.org/ (checked 23 Nov 2026)
[^4]: https://www.apache.org/foundation/ (checked 20 Nov 2026)
