Open-Source Alternatives to Proprietary Databases
This guide lists 15 databases with OSI-approved licenses that our catalog names as substitutes for at least three proprietary or source-available databases. PostgreSQL (PostgreSQL License) is the most frequently listed, as an alternative to Oracle, SQL Server, Db2, Informix, SAP ASE, Firebird, Amazon Aurora and CockroachDB. An open-source core does not make every edition open source: many entries here keep clustering, management or cloud features in commercial editions, and the watch-out notes say which.
Last verified:
How we picked
We took every catalog profile with open_source set to false (proprietary, SSPL, BSL, other source-available or non-OSI licenses) and read its alternatives field, which lists true substitutes for the same primary use case. We then kept every alternative that has open_source set to true and is named by at least three such profiles. The alternative_to array on each entry lists those profiles. In our catalog, open source means an OSI-approved license; source-available licenses such as SSPL, BSL 1.1 and ELv2 do not qualify. License facts come from license and license_notes, last verified 2026-12-03. Entries are listed alphabetically by name. The order is not a ranking.
Comparison
| Database | License | License notes | Open source | Deployment | Wire compatibility | Latest version |
|---|---|---|---|---|---|---|
| Aerospike | AGPL-3.0-only | Community Edition server is AGPLv3; Enterprise and Federal editions are closed-source and add features such as multi-record transactions, durable deletes and cross-datacenter replication. | Yes | self-hosted, managed | 8.2.0 | |
| Apache Cassandra | Apache-2.0 | n/a | Yes | self-hosted, managed | cassandra-cql | 5.0.9 |
| Apache CouchDB | Apache-2.0 | n/a | Yes | self-hosted, managed | http-rest | 3.5.3 |
| ClickHouse | Apache-2.0 | Core engine is Apache-2.0. ClickHouse Cloud adds proprietary features such as the SharedMergeTree engine. | Yes | self-hosted, managed, serverless | http-rest, mysql, postgres, grpc, arrow-flight | 26.11 |
| Elasticsearch | AGPL-3.0-only OR SSPL-1.0 OR Elastic-2.0 | Source is offered under a choice of AGPLv3, SSPL 1.0 or Elastic License 2.0; the AGPL option was added in 2024 (around version 8.16), after the 2021 move from Apache 2.0 to SSPL/ELv2. Default binary distributions ship under ELv2, and many features require paid subscriptions. | Yes | self-hosted, managed, serverless | elasticsearch, http-rest | 9.5.7 |
| MySQL | GPL-2.0-only | Community Server is GPLv2; Oracle also sells commercial licenses (Enterprise Edition, OEM). In June 2026 Oracle moved MySQL to calendar versioning (YY.M): Innovation releases 26.7 and 26.10 follow the 9.7 LTS line, while existing LTS lines 8.4 and 9.7 keep their numbers. | Yes | self-hosted, managed | mysql | 26.10.0.1 |
| Neo4j | GPL-3.0-only | Community Edition is GPLv3. Enterprise Edition and other self-managed commercial editions are closed source under the Neo4j Software Agreement since the company moved to an open-core model in 2018. | Yes | self-hosted, managed, embedded | bolt, http-rest | 2026.10.2 |
| Neon | Apache-2.0 | The Neon storage engine and modified Postgres are open source under Apache-2.0; the hosted control plane is proprietary. Databricks agreed to acquire Neon in May 2025 for a reported amount of about 1 billion USD. | Yes | managed, serverless | postgres, http-rest | rolling |
| OceanBase | Apache-2.0 | The GitHub repository switched its LICENSE file from Mulan Public License v2 (MulanPubL-2.0) to Apache License 2.0 in March 2026. Oracle compatibility and some enterprise tooling are only in the commercial edition. | Yes | self-hosted, managed | mysql | 5.0.1 |
| OpenSearch | Apache-2.0 | Apache-2.0 throughout. Governance moved from AWS to the OpenSearch Software Foundation, a Linux Foundation project, in 2024. | Yes | self-hosted, managed, serverless | http-rest | 3.10.1 |
| PostgreSQL | PostgreSQL | PostgreSQL License, a permissive OSI-approved license similar to BSD/MIT. | Yes | self-hosted, managed | postgres | 19.0 |
| Supabase | Apache-2.0 | The platform repository is Apache-2.0; individual components carry their own open-source licenses (for example PostgreSQL under the PostgreSQL License and PostgREST under MIT). | Yes | self-hosted, managed | postgres, http-rest | rolling |
| TiDB | Apache-2.0 | TiDB, TiKV and TiFlash are Apache 2.0; PingCAP sells an Enterprise edition and the managed TiDB Cloud service. | Yes | self-hosted, managed, serverless | mysql | 8.5.8 |
| Weaviate | BSD-3-Clause | Core database is BSD 3-Clause. Weaviate Cloud is a commercial managed service. | Yes | self-hosted, managed | http-rest, grpc | 1.41.0 |
| YugabyteDB | Apache-2.0 | The core database is Apache-2.0. The YugabyteDB Anywhere management platform is under the Polyform Free Trial License 1.0.0 and requires a commercial license for production. Releases follow LTS and STS tracks. | Yes | self-hosted, managed | postgres, cassandra-cql | 2026.1.3.2 |
Values come from each database's profile; see the profile for its sources and verification date.
The options
Aerospike
The Aerospike Community Edition server is AGPL-3.0, a copyleft OSI license. It is a distributed key-value and document store that keeps indexes in RAM and records on SSD. Couchbase moved to BSL 1.1 with version 7.0, and ScyllaDB moved to its Source Available License in 2025.1, so Aerospike is one of the OSI-licensed options in this space.
- Best for
- Low-latency key-value workloads such as ad tech, fraud detection and real-time decisioning.
- Watch out for
- Enterprise and Federal editions are closed source and add multi-record transactions, durable deletes and cross-datacenter replication. Our profile lists no standard wire protocol, so migrating means rewriting the data access layer.
Apache Cassandra
Cassandra is Apache-2.0 under the Apache Software Foundation, a leaderless wide-column database queried with CQL. ScyllaDB and Azure Cosmos DB both list Cassandra CQL in their wire_compatibility, so CQL applications can move between them. Version 5.0 added storage-attached indexes and a vector type, and the latest release is 5.0.9 (2026-08-07).
- Best for
- Write-heavy, always-on workloads spread across data centers.
- Watch out for
- DynamoDB and Bigtable use different APIs (DynamoDB and gRPC in our profiles), so moving from them means rewriting the data access layer.
Apache CouchDB
CouchDB is Apache-2.0 and stores JSON documents behind an HTTP/REST API, with multi-master replication that lets offline clients such as PouchDB sync later. MongoDB Community Server has been under SSPL since 2018-10-16, and Couchbase under BSL 1.1 since 7.0, so neither is OSI-licensed. The latest CouchDB release is 3.5.3 (2026-10-12).
- Best for
- Document storage with offline-first sync between servers and clients.
- Watch out for
- It does not speak the MongoDB wire protocol, and it queries with Mango or JavaScript MapReduce views, so moving from MongoDB or Couchbase means rewriting queries.
ClickHouse
The ClickHouse core engine is Apache-2.0. It is a column-oriented SQL database for real-time analytics over event, log and observability data. It can run as a single binary or as a sharded, replicated cluster, and the latest release is 26.11 (2026-11-24).
- Best for
- Analytical and log workloads that would otherwise run on a commercial warehouse or log platform.
- Watch out for
- ClickHouse Cloud adds proprietary features such as the SharedMergeTree engine, so a self-hosted cluster does not match the cloud service feature for feature.
Elasticsearch
Since 2024 (around version 8.16), the Elasticsearch source has been offered under AGPL-3.0 as one option, alongside SSPL and ELv2. It moved away from Apache 2.0 in 2021. It covers full-text, vector and hybrid search plus log analytics, and the latest release is 9.5.7 (2026-11-23).
- Best for
- Teams that want the Elasticsearch API and feature set under an OSI license option.
- Watch out for
- The default binary distributions ship under ELv2, which is not open source, and many features need paid subscriptions. To stay on AGPL terms, check which distribution you install.
MySQL
MySQL Community Server is GPL-2.0, and its wire protocol is implemented by many compatible systems, including MariaDB, TiDB, OceanBase and Vitess in our catalog. Oracle moved MySQL to calendar versioning in June 2026, and the latest release is 26.10.0.1 (2026-11-24).
- Best for
- Web application backends moving off a commercial RDBMS.
- Watch out for
- Oracle owns MySQL and sells commercial Enterprise and OEM licenses. If you embed and distribute it, GPL-2.0 obligations apply.
Neo4j
Neo4j Community Edition is GPL-3.0 and is queried with Cypher over the Bolt protocol, which Amazon Neptune and Memgraph also list. ArangoDB moved its source to BSL 1.1 with 3.12, and Memgraph's community source is also BSL 1.1, so Neo4j Community is one of the OSI-licensed property-graph options. The latest release is 2026.10.2 (2026-11-06).
- Best for
- Property-graph workloads such as fraud detection, recommendations and knowledge graphs.
- Watch out for
- Enterprise Edition and other self-managed commercial editions have been closed source since the 2018 move to open core, so check which features you need are in Community. GraphDB is an RDF/SPARQL store, so moving from it to Neo4j also means changing the data model.
Neon
Neon's storage engine and modified Postgres are Apache-2.0, and their source is on GitHub. It separates Postgres compute from object-storage-backed storage to provide autoscaling, scale-to-zero and branching.
- Best for
- Teams that want the serverless Postgres architecture with the engine source open.
- Watch out for
- The hosted control plane is proprietary, and our profile lists only managed and serverless deployment, so self-hosting the full stack is not a documented path in our data. Databricks agreed to acquire Neon in May 2025.
OceanBase
OceanBase's repository switched from the Mulan Public License v2 to Apache-2.0 in March 2026. It is a distributed SQL database with MySQL compatibility that can serve transactions and analytics in one cluster. The latest release is 5.0.1 (2026-08-10).
- Best for
- Distributed transactional and HTAP workloads that use MySQL-compatible SQL.
- Watch out for
- The Oracle-compatible mode and some enterprise tooling are only in the commercial edition, and it speaks MySQL, not the Postgres protocol that CockroachDB and Spanner offer.
OpenSearch
OpenSearch is Apache-2.0 throughout. AWS forked it in 2021 from Elasticsearch 7.10.2 after Elastic's license change, and governance moved to the OpenSearch Software Foundation under the Linux Foundation in 2024. The latest release is 3.10.1 (2026-11-24).
- Best for
- Application search, log analytics and vector search under a permissive license with foundation governance.
- Watch out for
- Its API has diverged from Elasticsearch since the 2021 fork, and our profile lists HTTP/REST but not elasticsearch wire compatibility, so test clients carefully.
PostgreSQL
PostgreSQL uses the PostgreSQL License, a permissive OSI-approved license, and is developed by a community rather than a single vendor. Its wire protocol is implemented by many other databases, and extensions such as PostGIS and pgvector add spatial and vector features. The latest release is 19.0 (2026-11-19).
- Best for
- Replacing commercial relational databases for transactional applications.
- Watch out for
- Moving from Oracle, SQL Server, Db2 or SAP ASE involves converting procedural code and dialect-specific SQL. The license does not cover that work.
Supabase
The Supabase platform repository is Apache-2.0, and its components keep their own open-source licenses (PostgreSQL License for Postgres, MIT for PostgREST). It can be self-hosted with Docker, and it bundles APIs, auth, storage and realtime around Postgres.
- Best for
- Replacing Firebase-style backends with a self-hostable stack built on Postgres.
- Watch out for
- Firebase Realtime Database and Firestore are document stores, so moving to Supabase also means moving to a relational schema. Supabase announced on 2026-10-02 that it is acquiring Turso.
TiDB
TiDB, TiKV and TiFlash are all Apache-2.0. It is a MySQL-protocol distributed SQL database with Raft-replicated storage and columnar replicas for analytics. The latest release is 8.5.8 (2026-08-27).
- Best for
- Large MySQL workloads that have outgrown a single node, and mixed transactional-analytical use.
- Watch out for
- PingCAP sells an Enterprise edition and TiDB Cloud. TiDB speaks MySQL, while CockroachDB, Aurora DSQL and Spanner use Postgres-style interfaces, so migrating between them crosses SQL dialects.
Weaviate
Weaviate's core database is BSD-3-Clause. It is a vector database with HNSW and disk-based HFresh indexes, BM25 keyword search and metadata filtering. It runs self-hosted or on Weaviate Cloud, and the latest release is 1.41.0 (2026-11-23).
- Best for
- Self-hosted hybrid vector search, replacing a closed managed vector service.
- Watch out for
- Weaviate Cloud is commercial. Running it yourself means operating the cluster that Pinecone or turbopuffer would otherwise run for you.
YugabyteDB
The YugabyteDB core database is Apache-2.0. It reuses the PostgreSQL query layer on a Raft-replicated storage engine and also exposes a Cassandra-compatible API. The latest release is 2026.1.3.2 (2026-12-01).
- Best for
- Postgres-compatible distributed SQL under a permissive license, as an alternative to source-available CockroachDB or cloud-only Spanner and Aurora DSQL.
- Watch out for
- The YugabyteDB Anywhere management platform uses the Polyform Free Trial License and needs a commercial license for production use.
FAQ
- Is source-available the same as open source?
- No. In our catalog a database counts as open source only if its license is OSI-approved. SSPL (MongoDB), BSL 1.1 (Couchbase, ArangoDB, Memgraph, Materialize) and the ScyllaDB and CockroachDB licenses let you read the source but restrict use, so we mark them as not open source.
- What is the open-source alternative to Redis after its license change?
- Valkey is a BSD-3-Clause fork of Redis 7.2.4, created after Redis moved to RSALv2/SSPL in March 2024. Since Redis 8.0 (May 2025), Redis Open Source can also be used under AGPL-3.0, so our catalog marks both Redis and Valkey as open source. The difference is permissive (Valkey) versus copyleft (Redis AGPL) terms.
- Is Elasticsearch open source again?
- The source has been available under AGPL-3.0 as one option since 2024, alongside SSPL and ELv2, so our catalog marks it as open source. The default binary distributions ship under ELv2, and many features need a paid subscription. OpenSearch, the 2021 fork, is Apache-2.0 throughout.
- What is an open-source alternative to Oracle Database?
- The Oracle Database profile lists PostgreSQL, MySQL and MariaDB as alternatives, all OSI-licensed. PostgreSQL uses a permissive license, while MySQL and MariaDB are GPL-2.0. OceanBase's Oracle-compatible mode is commercial-only, so it is not an open-source route for Oracle compatibility.
- Which open-source databases changed or lost their license recently?
- OceanBase moved from MulanPubL-2.0 to Apache-2.0 in March 2026. Greenplum went closed source in May 2024, CockroachDB retired its Core edition in v24.3, and ScyllaDB ended AGPL releases after Open Source 6.2. StarRocks moved from ELv2 to Apache-2.0 in December 2022.
- Does an open-source license cover the vendor's cloud service?
- Usually not. Neon, Supabase, ClickHouse, Weaviate, TiDB and others publish their engines under open-source licenses but run commercial managed services with proprietary control planes or features. The license applies to the code you download, not to the hosted product.
Related guides
Sources
Last verified:
- aerospike.com/docs/database/release aerospike.com
- cassandra.apache.org/_/download.html cassandra.apache.org
- couchdb.apache.org couchdb.apache.org
- clickhouse.com/docs/whats-new/changelog clickhouse.com
- elastic.co/docs/release-notes/elasticsearch elastic.co
- dev.mysql.com/doc/relnotes/mysql/26.10/en/index.html dev.mysql.com
- neo4j.com/release-notes/database/neo4j-2026-10-2 neo4j.com
- neon.com/docs/introduction neon.com
- github.com/oceanbase/oceanbase github.com
- opensearch.org/releases opensearch.org
- postgresql.org/about postgresql.org
- github.com/supabase/supabase github.com
- docs.pingcap.com/tidb/v8.5/release-8.5.8 docs.pingcap.com
- github.com/weaviate/weaviate github.com
- docs.yugabyte.com/stable/releases/ybdb-releases docs.yugabyte.com
Found an error? See how to report a correction.