FREEDOM251

Freedom251 › Database Proxy Software

ShardingSphere-Proxy

Free plan LinuxMacSelf-hostedWindows

Visit ShardingSphere-Proxy Alternatives Pricing

ShardingSphere-Proxy's own site

What ShardingSphere-Proxy is

ShardingSphere-Proxy is a free, self-hosted database proxy that exposes a database server through a binary protocol for clients written in different programming languages. It distributes storage and computing across underlying databases for horizontal scaling, and provides distributed transactions through a hybrid XA and BASE engine. Read/write splitting balances reads using SQL semantics and awareness of database topology. Other capabilities include data migration with sharding, federated queries, transparent data encryption, and data masking. The quick start describes theoretical client protocol support for MySQL, PostgreSQL, openGauss, and Firebird. Users can deploy a binary distribution, Docker image, or Helm deployment. The binary package requires Java JRE 8 or higher, while Docker requires no additional dependency. A MySQL backend requires adding 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, which may lead to errors in some graphical database clients. The downloads page recommends checking release files with GPG or SHA-512 signatures.

Who it suits

ShardingSphere-Proxy suits teams that self-host database infrastructure and need sharding, read/write splitting, or federated queries. It may fit installations using its described client protocols, provided they account for runtime and backend setup requirements.

What it does well

  • Free, self-hosted deployment.
  • Offers binary, Docker, and Helm deployment options.
  • Read balancing uses SQL semantics and database topology.
  • Includes distributed transactions and data migration.
  • Lists MySQL, PostgreSQL, openGauss, and Firebird protocols.

What to know first

  • Binary distribution requires Java JRE 8 or higher.
  • MySQL backend requires an added connector JAR.
  • System database and table support is limited.
  • Some graphical database clients may show errors.

Plans

PlanBilled and limitsPrice
Apache ShardingSphere-ProxyOpen-source binary distribution · Docker and Helm deploymentFree

As shardingsphere.apache.org lists them, read 30 Sept 2026. The maker's own page has the final word.

Getting started

  1. Open https://shardingsphere.apache.org/.
  2. Choose a binary distribution, Docker image, or Helm deployment.
  3. For the binary distribution, provide Java JRE 8 or higher; Docker needs no additional dependency.
  4. For a MySQL backend, add mysql-connector-j-8.4.0.jar to the Proxy ext-lib directory.
  5. Verify downloaded release files with GPG or SHA-512 signatures.

ShardingSphere-Proxy is self-hosted middleware that presents distributed databases through a database-server protocol, letting applications in different languages connect without changing their basic client model. It is best for infrastructure teams coordinating several database backends, not for users seeking a managed database service. Its broad routing, sharding and transaction toolkit is compelling, provided you can operate the runtime and accommodate its system-database limitations.

Overview

Proxy sits between applications and underlying databases rather than replacing them. ShardingSphere, founded in 2018, uses the proxy to coordinate storage, queries and connections across a distributed environment. Deployment is available as a binary distribution, Docker image or Helm deployment, all under a self-hosted model. That gives Linux, macOS and Windows users control over placement, but also leaves installation, upgrades and availability operations to their team.

The binary requires Java JRE 8 or newer. Docker avoids an additional dependency. MySQL backends require adding mysql-connector-j-8.4.0.jar to the Proxy ext-lib directory, an extra setup step that matters in repeatable deployments.

Key features

Sharding and distributed transactions

Sharding distributes storage and computing across underlying databases, making Proxy a fit when horizontal growth is more important than keeping all data on one server. Its transaction engine combines XA and BASE approaches for work spanning data sources. That is useful for distributed workloads, but it is specialized infrastructure rather than a simpler single-database choice.

Routing, pooling and failover

Read/write splitting balances reads using SQL semantics and awareness of database topology. Query routing, connection pooling, load balancing and automatic failover give operators controls for directing traffic and maintaining service across backends. These features are most valuable when a team already manages replicas or multiple database nodes.

Migration, federation and protection

Migration tools support moving data in sharded environments, while federated queries can combine data from different sources. Transparent encryption is provided through an encryption module, and data masking is included as a protection area. Together, these capabilities extend Proxy beyond traffic forwarding into data-movement and governance work.

Protocols and compatibility

The quick-start documentation says client operations are theoretically supported through MySQL, PostgreSQL, openGauss and Firebird protocols. Compatibility is therefore broad on paper, but support for system databases and tables such as information_schema and pg_catalog is limited. Some graphical database clients may consequently display errors, an important drawback for administrators who rely on those tools.

Pricing

Apache ShardingSphere-Proxy — free. The free plan includes the open-source binary distribution plus Docker and Helm deployment. It has no paid tier, trial period or stated usage cap, and the deployment model is self-hosted. This suits teams able to provide their own compute, storage, operations and support. It is less suitable if you expect a hosted service or vendor-managed updates.

Release files should be checked with GPG or SHA-512 signatures before deployment. That verification step is sensible for production supply-chain hygiene, particularly when installing binaries directly.

Platforms

ShardingSphere-Proxy supports Linux, macOS, Windows and self-hosted installations. Docker removes local runtime dependencies, while the binary route requires Java JRE 8 or higher. Supported backend protocols are MySQL, PostgreSQL, openGauss and Firebird.

Who it's for

Choose Proxy if you need one protocol-facing layer for sharding, read/write routing, distributed transactions, migration or federation across several databases. It fits platform and database teams comfortable running Java-based or containerized infrastructure and tuning their own topology.

Look elsewhere if you need a managed offering, a straightforward single-database deployment, or dependable graphical-client access to system catalogs. The connector requirement and catalog limitations add operational friction for otherwise simple environments.

Pros and cons

  • Pros: horizontal sharding spreads storage and compute; XA/BASE transactions address cross-database work; SQL-aware read/write splitting, pooling, load balancing and automatic failover cover core proxy duties; migration and federation support broader data operations; binary, Docker and Helm packaging gives deployment choice; free open-source distribution avoids license fees.
  • Cons: self-hosting means your team operates the service; Java JRE 8+ is required for binary deployment; MySQL needs a separately placed connector JAR; limited system-database support can produce errors in graphical clients; protocol support is described as theoretical, so compatibility should be validated for your workload.

Alternatives

For a general database platform with SQL and NoSQL applications plus replication and high-availability components, consider MySQL; its Community Edition price is custom pricing and it also has a free trial.

OceanBase Database is the better direction when you want an open-source distributed database with full kernel capabilities, with a free Community Edition and a custom-priced Enterprise plan.

Pick PgDog when an AGPL-3.0 PostgreSQL proxy with an open-source tier is the priority; its Enterprise plan adds a production control plane and insights.

For a focused self-hosted PostgreSQL connection pool, choose pgagroal. PgBouncer is another free self-hosted option for PostgreSQL pooling. PgDoorman offers free self-hosted PostgreSQL proxying with no paid plans or stated usage limits.

TiCDC is a free open-source choice for change-data capture. TurbineProxy suits teams wanting an Apache-2.0 open-source proxy with no per-query fees.

Browse the Database Proxy Software list for more options.

Verdict

ShardingSphere-Proxy is a strong choice for teams that need self-hosted coordination of sharded, replicated or federated databases and can manage the operational complexity. Its main reason to choose it is the breadth of distributed routing and transaction capabilities at no license cost. Look elsewhere when managed hosting, uncomplicated setup or full system-catalog compatibility matters more than that flexibility.

Verdict

ShardingSphere-Proxy provides database sharding, routing, transactions, and federation in a free self-hosted package. Check its runtime and MySQL connector requirements, as well as the noted limits for system databases and tables.

Questions

How much does ShardingSphere-Proxy cost?

The listed Apache ShardingSphere-Proxy plan is free.

Which deployment options are available?

It is available as a binary distribution, Docker image, and Helm deployment.

What runtime does it require?

The binary distribution requires Java JRE 8 or higher. Docker requires no additional dependency.

Which database protocols are supported?

The quick start describes theoretical client operations using MySQL, PostgreSQL, openGauss, and Firebird protocols.

Does a MySQL backend need an additional component?

Yes. The quick start instructs users to add mysql-connector-j-8.4.0.jar to the Proxy ext-lib directory.

Are there known limitations for system databases?

Support for system databases and tables such as information_schema and pg_catalog is limited, and some graphical database clients may show errors.

Facts from ShardingSphere-Proxy's own pages

Data protection
The encryption module is designed to provide transparent data encryption, and ShardingSphere also lists data masking as a feature area. · shardingsphere.apache.org, 30 Sept 2026
Deployment
ShardingSphere-Proxy is available as a binary distribution, Docker image and Helm deployment. · shardingsphere.apache.org, 30 Sept 2026
Distributed transactions
The project provides distributed transaction capabilities using a hybrid engine based on XA and BASE transactions. · shardingsphere.apache.org, 30 Sept 2026
Founded
2018 · shardingsphere.apache.org, 28 Sept 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. · shardingsphere.apache.org, 30 Sept 2026
Migration and federation
Features include data migration with sharding and federated queries across data sources. · shardingsphere.apache.org, 30 Sept 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. · shardingsphere.apache.org, 30 Sept 2026
Purpose
ShardingSphere-Proxy is a transparent database proxy that provides a database server using a binary protocol for heterogeneous programming languages. · shardingsphere.apache.org, 30 Sept 2026
Read/write splitting
Read/write splitting supports load balancing for reads based on SQL semantics and awareness of the underlying database topology. · shardingsphere.apache.org, 30 Sept 2026
Release integrity
The downloads page recommends verifying release files with GPG or SHA-512 signatures. · shardingsphere.apache.org, 30 Sept 2026
Runtime requirement
The binary distribution requires Java JRE 8 or higher, while running it with Docker requires no additional dependency. · shardingsphere.apache.org, 30 Sept 2026
Sharding
Data sharding distributes storage and computing across underlying databases to scale horizontally. · shardingsphere.apache.org, 30 Sept 2026
Supported protocols
The Proxy quick start says it theoretically supports client operations using MySQL, PostgreSQL, openGauss and Firebird protocols. · shardingsphere.apache.org, 30 Sept 2026

Where ShardingSphere-Proxy stands on Freedom251

Look at these too