
ShardingSphere-Proxy
ShardingSphere-Proxy is a free, self-hosted database proxy that presents a database server over a binary protocol, so clients built with different programmin…
What ShardingSphere-Proxy is
ShardingSphere-Proxy is a free, self-hosted database proxy that presents a database server over a binary protocol, so clients built with different programming languages can connect. It distributes storage and computing across underlying databases through sharding, supporting horizontal scaling. The project also provides distributed transactions through a hybrid XA and BASE engine, plus read/write splitting that balances reads using SQL semantics and database topology. Other capabilities include data migration with sharding, federated queries, transparent encryption and data masking. Its quick start describes theoretical client protocol support for MySQL, PostgreSQL, openGauss and Firebird. It can be deployed as a binary distribution, Docker image or Helm deployment. The binary needs Java JRE 8 or higher; Docker needs no additional dependency. For a MySQL backend, users must add mysql-connector-j-8.4.0.jar to the Proxy ext-lib directory. Support for system databases and tables such as information_schema and pg_catalog is limited, and some graphical database clients may show errors. The free plan costs nothing.
Good
- Free plan costs nothing.
- Supports binary, Docker and Helm deployment.
- Includes sharding and distributed transaction capabilities.
- Read balancing uses SQL semantics and database topology.
- Supports migration and federated queries.
Watch out
- Binary distribution requires Java JRE 8 or higher.
- MySQL backends require adding a connector JAR.
- System database and table support is limited.
- Some graphical clients may show errors.
Who it suits
ShardingSphere-Proxy suits teams seeking a self-hosted proxy for database sharding, transaction handling or read/write splitting. It is also relevant to users needing migration, federation or encryption capabilities across supported database protocols.
Verdict
ShardingSphere-Proxy combines database proxying with sharding, transaction, routing and migration features in a free self-hosted package. Check its runtime requirements and limited support for system databases before choosing a deployment.
Plans and prices
From ShardingSphere-Proxy's own pricing page, checked 30 Sep 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Apache ShardingSphere-Proxy | Free | Open-source binary distribution · Docker and Helm deployment |
The facts
Each one read from ShardingSphere-Proxy's own pages, with the date it was checked.
What it does
- Data protection
- The encryption module is designed to provide transparent data encryption, and ShardingSphere also lists data masking as a feature area.checked 30 Sep 2026
- Deployment
- ShardingSphere-Proxy is available as a binary distribution, Docker image and Helm deployment.checked 30 Sep 2026
- Distributed transactions
- The project provides distributed transaction capabilities using a hybrid engine based on XA and BASE transactions.checked 30 Sep 2026
- Known limitation
- Support for system databases and tables such as information_schema and pg_catalog is limited, and some graphical database clients may show errors.checked 30 Sep 2026
- Migration and federation
- Features include data migration with sharding and federated queries across data sources.checked 30 Sep 2026
- MySQL dependency
- For a MySQL backend, the quick start instructs users to add mysql-connector-j-8.4.0.jar to the Proxy ext-lib directory.checked 30 Sep 2026
- Purpose
- ShardingSphere-Proxy is a transparent database proxy that provides a database server using a binary protocol for heterogeneous programming languages.checked 30 Sep 2026
- Read/write splitting
- Read/write splitting supports load balancing for reads based on SQL semantics and awareness of the underlying database topology.checked 30 Sep 2026
- Release integrity
- The downloads page recommends verifying release files with GPG or SHA-512 signatures.checked 30 Sep 2026
- Runtime requirement
- The binary distribution requires Java JRE 8 or higher, while running it with Docker requires no additional dependency.checked 30 Sep 2026
- Sharding
- Data sharding distributes storage and computing across underlying databases to scale horizontally.checked 30 Sep 2026
- Supported protocols
- The Proxy quick start says it theoretically supports client operations using MySQL, PostgreSQL, openGauss and Firebird protocols.checked 30 Sep 2026
The company
- Founded
- 2018checked 28 Sep 2026
The full review of ShardingSphere-Proxy
Overview
ShardingSphere-Proxy is self-hosted database middleware that lets applications connect to underlying databases through a familiar server protocol. It suits teams scaling or coordinating data across multiple databases; its breadth is compelling, but deployment and system-database limitations deserve attention.
Rather than replace a database, Proxy sits between clients and databases to route and manage their work. ShardingSphere dates to 2018, and Proxy can be deployed as a binary, Docker image or Helm deployment. That flexibility serves infrastructure teams, but it also means operating the service is the user's responsibility.
Key features
Sharding and transactions
Sharding distributes storage and computing across underlying databases, making Proxy relevant when a single database is no longer the desired scaling model. Distributed transactions use a hybrid engine based on XA and BASE. These capabilities are useful for workloads spanning data sources, though they position the product as specialized infrastructure rather than a general-purpose database.
Routing and availability
Read/write splitting balances reads using SQL semantics and awareness of database topology. Query routing, load balancing, connection pooling and automatic failover round out the proxy role, giving teams a way to coordinate connections and traffic across backends.
Migration, federation and protection
Data migration with sharding and federated queries across data sources extend its reach beyond routine request routing. The encryption module is designed for transparent data encryption, and data masking is another feature area. Together, these tools make the package useful for teams managing data across a distributed environment.
Protocols and deployment
The quick start describes theoretical support for client operations using MySQL, PostgreSQL, openGauss and Firebird protocols. The binary requires Java JRE 8 or higher; Docker requires no additional dependency. MySQL backends require mysql-connector-j-8.4.0.jar in Proxy's ext-lib directory. Release files should be verified with GPG or SHA-512 signatures.
One practical caveat is limited support for system databases and tables such as information_schema and pg_catalog. Some graphical database clients may therefore show errors, which can complicate workflows that rely on those views.
Pricing
Apache ShardingSphere-Proxy is free: its plan costs nothing and includes the open-source binary distribution plus Docker and Helm deployment. There is no trial to weigh against a paid tier, and the self-hosted model leaves deployment and operation with the adopting team. This is a strong fit for teams able to run their own infrastructure; it is not a hosted-service option.
Platforms
ShardingSphere-Proxy supports Linux, macOS and Windows, as well as self-hosted deployment. The binary, Docker and Helm options accommodate different deployment setups, with the Java requirement applying to the binary distribution.
Who it's for
Choose Proxy when you need a self-hosted layer for sharding, distributed transactions, SQL-aware read/write splitting or migration and federation across data sources. It is best suited to teams comfortable operating middleware and accommodating its runtime and backend setup requirements. Look elsewhere if system-database compatibility in graphical clients is central to your workflow, or if you need a managed service.
Pros and cons
Pros
- Free, open-source deployment choices include a binary, Docker and Helm, with no additional dependency required for Docker.
- Sharding, transaction support, routing, load balancing and automatic failover address several distributed-database needs in one proxy.
- Protocol support spans MySQL, PostgreSQL, openGauss and Firebird clients.
- Migration, federation and data-protection features extend its usefulness beyond connection routing.
Cons
- The binary requires Java JRE 8 or higher, and MySQL backends need a connector JAR installed in ext-lib.
- Limited support for system databases and tables can cause errors in some graphical database clients.
- Self-hosting means the adopting team must provide and operate the deployment.
Alternatives
Browse Database Proxy Software for more options in the category.
- ProxySQL is another free option, with a Linux and self-hosted Community plan that includes all ProxySQL Core Features and community support channels.
- TurbineProxy is a free open-source alternative with no per-query fees.
- PgDog offers free, open-source self-hosted software for Linux, macOS and Windows.
- Pgpool-II is free, open-source self-hosted middleware for Linux.
- Cloudflare Hyperdrive is a freemium web option with a free tier capped at 100,000 database queries per day and 10 configured databases per account.
- PgCat is a free, MIT-licensed self-hosted option for Linux.
- DBLE offers a free GPL-2.0-licensed open-source version, with enterprise support plans available.
- Heimdall Database Proxy is a freemium alternative.
Verdict
ShardingSphere-Proxy is a strong choice for infrastructure teams that want a free self-hosted proxy combining sharding with routing, transaction and migration capabilities. Its main advantage is that breadth in one package; its main reason to look elsewhere is the operational burden, compounded by runtime setup and limited system-database support.
Alternatives to ShardingSphere-Proxy
- 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
