shardingsphere
Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.
What is shardingsphere?
Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.
Overview of shardingsphere
What it is
Apache ShardingSphere is an enterprise distributed database ecosystem positioned as Database Plus. It builds a standard and ecosystem on top of heterogeneous databases, acting as an operating system layer above databases. It does not create new databases but focuses on maximizing the computing capabilities of existing databases, providing unified data access and enhanced computing capabilities. ShardingSphere became an Apache Top-Level Project on April 16, 2020, and has been adopted by 19,000+ projects worldwide.
Key features
- Connect: Builds database upper-layer standards, quickly connecting applications with multi-modal heterogeneous databases through flexible adaptation of database protocols, SQL dialects, and storage formats.
- Enhance: Provides enterprise-grade capabilities including distributed computing (data sharding, readwrite-splitting, SQL federation), data security (encryption, masking, audit), traffic control (circuit breaker, rate limiting), and observability (monitoring, tracing, analysis).
- Pluggable: Adopts a micro-kernel + 3-layer pluggable architecture for complete decoupling of kernel, functional components, and ecosystem integration.
- Dual-access architecture: Offers two access ends – ShardingSphere-JDBC (lightweight Java framework, enhanced JDBC driver) and ShardingSphere-Proxy (transparent database proxy, independently deployed server-side) – which can be deployed independently or in hybrid deployment.
- Differentiation: More lightweight than distributed databases, richer features than traditional middleware, and supports multi-cloud deployment to avoid vendor lock-in.
Use cases
- High-performance Java applications requiring direct database connection with minimal overhead (ShardingSphere-JDBC).
- Heterogeneous language environments where applications need to connect via MySQL/PostgreSQL protocol (ShardingSphere-Proxy).
- Database operation and maintenance management with a unified access entry for DBA teams.
- Enterprise data architecture transformation needing distributed computing, data security, and traffic control without replacing existing databases.
Getting started
See the repository README for installation and quick-start instructions.
License and pricing
Apache-2.0 license, open source.
Based on the project's public README and repository metadata.