apache /shardingsphere
Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.
★ 20,831⑂ 6,909👁 954⑃ 28,110● 12,102▤ 59
+1
日增长
+14
周增长
+23
月增长
20,831
stars
6,909
forks
954
watchers
28,110
prs
12,102
issues
59
releases
README
Apache ShardingSphere - Enterprise Distributed Database Ecosystem
Building the standards and ecosystem on top of heterogeneous databases, empowering enterprise data architecture transformation
Official Website: https://shardingsphere.apache.org/
OVERVIEW
Apache ShardingSphere is positioned as Database Plus, a standard and ecosystem built on top of heterogeneous databases. As an operating system layer above databases, ShardingSphere does not create new databases but focuses on maximizing the computing capabilities of existing databases, providing unified data access and enhanced computing capabilities.
Database Plus Core Concept: By building a standardized and scalable enhancement layer above databases, it makes heterogeneous databases as simple to use as a single database, providing unified governance capabilities and distributed computing capabilities for enterprise data architectures.
Connect, Enhance, and Pluggable are the three core pillars of Apache ShardingSphere:
- Connect: Building database upper-layer standards, quickly connecting applications with multi-modal heterogeneous databases through flexible adaptation of database protocols, SQL dialects, and storage formats, providing unified data access experience;
- Enhance: As a database computing enhancement engine, transparently providing 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: Adopting a micro-kernel + 3-layer pluggable architecture to achieve complete decoupling of kernel, functional components, and ecosystem integration. Developers can flexibly customize unique data architecture solutions that meet enterprise needs, just like building with LEGO blocks.
Differentiation Advantages:
- vs Distributed Databases: More lightweight, protecting existing investments, avoiding vendor lock-in
- vs Traditional Middleware: Richer features, more complete ecosystem, more flexible architecture
- vs Cloud Vendor Solutions: Support multi-cloud deployment, avoid technology binding, autonomous and controllable
ShardingSphere became an Apache Top-Level Project on April 16, 2020, and has been adopted by 19,000+ projects worldwide.
DUAL-ACCESS ARCHITECTURE DESIGN
ShardingSphere adopts a unique dual-access architecture design, providing two access ends - JDBC and Proxy - that can be deployed independently or in hybrid deployment, meeting diverse requirements for different scenariosTop issues
#33565Unsupport using Etcd as the registry in shardingsphere proxy30 comments · 2024-11-06#37404Statement.cancel() in MySQL JDBC fails in a cluster environment.21 comments · 2025-12-16#35052Support running nativeTest under GraalVM Native Image on Windows 1118 comments · 2025-03-20#35123There are design-level issues in the integration between the latest version of ShardingJDBC's driver and Spring Boot!17 comments · 2025-04-01#37766ShardingSphere-JDBC 5.5.2 encounters the error under Oracle: Table or view 'all_sequences' does not exist15 comments · 2026-01-19#17204Consider supporting PostgreSQL/openGauss search path feature15 comments · 2022-04-29#24122How to handle Sleep Connection in ShardingSphere-Proxy12 comments · 2023-02-11#37081Sharding5.3.2:shadow rule error11 comments · 2025-11-12
Discussions
#40330Issue labeling0 comments · 2026-10-22#40193Anthropic OSS Scanner for ShardingSphere1 comments · 2026-10-14#34726How to shard by a string field on the table using yaml from shardingsphere-proxy0 comments · 2025-02-19#34446Why must multiple data sources have the same dataSourceType?0 comments · 2025-01-22#34408Shardingsphere-proxy 5.4.0 recursive query logic table times error:Table or view 'tmp' does not exist.0 comments · 2025-01-20#34351[DISCUSS] Release Plan of ShardingSphere 5.5.20 comments · 2025-01-14#34225After upgrading to springboot3.4, the No qualifying bean of type 'org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource' available problem appeared1 comments · 2025-01-02#34210🤔️ Can I write an article share experience to handling "Support parsing Doris sql" Issues for community newcomers?1 comments · 2024-12-30
Latest release
5.5.3 5.5.3 2026-02-28Release 5.5.3 CVE 1. Fix CVE-2025-55163, CVE-2025-58056, CVE-2025-58057 36758 1. Fix CVE-2025-48924 36085 1. Fix CVE-2024-7254 36153 1. Fix CVE-2015-5237, CVE-2024-7254, CVE-2022-3171, CVE-2021-22569, CVE-2021-22570 37888 1. Fix CVE-2024-12798, CVE-2024-12801, CVE-2025-11226 37936 1. Fix CVE-2023-39017 38039 1. Fix CVE-2024-22399, CVE-2021-32824, CVE-2025-5222, CVE-2016-1000027 38040 1. Fix CVE-2023-2976, CVE-2024-29131, CVE-2025-27821 38042 Metadata Storage Changes 1. Remove default_strategies prefix on sharding rule metadata persist - 34664 API Changes 1. Remove S