#1
An open-source column-oriented database management system built for real-time analytical reports, available to self-host or as the managed ClickHouse Cloud service.
- GitHub stars
- 51k
- Last commit
- today
- Latest release
- v26.10.2.103-stable
- Licence
- Apache-2.0
- Self-hosted
- Yes
- Hosted version
- Available
clickhouse.com
ClickHouse is an open-source database management system built to generate analytical reports in real time. Its column-oriented storage makes scans and aggregations over very large tables efficient, which is why it is widely used for event data, logs, metrics and product analytics. It is written in C++ and queried with SQL.
The project's topics describe it as an OLAP, massively parallel and distributed system, and it is used for big data workloads where query latency matters. You can install it on Linux, macOS or FreeBSD, follow a tutorial that sets up a small cluster, or skip installation by trying ClickHouse Cloud, a managed service built by its creators. Releases arrive monthly, with a community call for each one, and there are Slack and Telegram channels for help.
ClickHouse is Apache-2.0 licensed. It is a good fit for analytics engineers and platform teams who need fast aggregations over billions of rows and are comfortable operating a database, or who prefer to hand that operation to the vendor's cloud.
Key features
- Column-oriented storage for analytics
- SQL queries over large datasets
- Distributed, massively parallel processing
- Real-time analytical reporting
- Install on Linux, macOS or FreeBSD
- Managed ClickHouse Cloud option
Pricing: The open-source distribution is free. ClickHouse Cloud is usage-based, with plans from $53 (Basic), $437 (Scale) and $571 (Enterprise) per month and a 30-day trial with $300 in credits.
#2
PostgreSQL is an object-relational database management system supporting SQL features such as transactions, foreign keys and triggers.
- GitHub stars
- 23k
- Last commit
- yesterday
- Self-hosted
- Yes
postgresql.org
PostgreSQL is a feature-rich object-relational database management system covering a large part of the SQL standard. Its feature set includes transactions, foreign keys, subqueries, triggers, and user-defined types and functions, and the distribution also contains C language bindings. This GitHub repository is only a mirror of the official git repository, written in C, and the metadata lists the license as Other.
The project does not use GitHub pull requests; contributors submit patches through the process described on the PostgreSQL wiki. Copyright and license terms are in the COPYRIGHT file, general documentation for each version is published on the project site, and build instructions explain how to compile the server from source. The latest releases of the software and related software are available from the PostgreSQL website. Many hosting providers offer managed PostgreSQL, but the project itself is software you install and operate.
Key features
- Object-relational database with SQL support
- Transactions and foreign keys
- Subqueries and triggers
- User-defined types and functions
- C language bindings
- Documentation for building from source
Pricing: Free and open source; the repository lists the license as Other, so see the COPYRIGHT file for terms.
#3
An open-source, MySQL-compatible distributed SQL database with horizontal scaling, ACID transactions, Raft-based high availability and support for analytics and vector search.
- GitHub stars
- 41k
- Last commit
- today
- Latest release
- v7.5.8
- Licence
- Apache-2.0
- Self-hosted
- Yes
- Hosted version
- Available
tidb.io
TiDB is a cloud-native, open-source distributed SQL database from PingCAP. The name's Ti stands for titanium, and it is built for high availability, strong consistency and the ability to scale out as data and traffic grow, while staying compatible with MySQL so existing applications and tools can connect with little change.
Distributed transactions use a two-phase commit protocol to keep ACID guarantees even across nodes, through network partitions or node failures. It scales horizontally by adding nodes or vertically by adding resources, without downtime, and its architecture separates compute from storage so each can be adjusted independently. Built-in Raft consensus keeps multiple replicas in sync and handles automated failover. Topics also mention HTAP workloads, analytics and native vector search.
TiDB is written in Go under the Apache-2.0 license. It can be deployed on your own infrastructure or consumed as a managed cloud service, and it suits teams that have outgrown a single MySQL server and want horizontal scale without sharding by hand.
Key features
- MySQL-compatible distributed SQL
- Distributed ACID transactions
- Horizontal and vertical scaling without downtime
- Separated compute and storage layers
- Raft-based replication and automated failover
- Analytics and vector search support
Pricing: TiDB Community is free and Cloud Starter has a monthly free quota. Cloud Premium starts from $1800 per month and Dedicated from $0.22 per hour; Self-Managed is priced on request.
#4
MariaDB Server is an open-source relational database that began as a fork of MySQL, with vector search, pluggable storage engines and Galera clustering.
- GitHub stars
- 8.6k
- Last commit
- today
- Latest release
- mariadb-13.0.2
- Licence
- GPL-2.0
- Self-hosted
- Yes
mariadb.org
MariaDB Server is an open-source relational database built by a global community with the MariaDB Foundation and MariaDB plc. It started out as a MySQL fork driven by the people who created MySQL, keeps a high degree of MySQL compatibility, and is described as a straightforward migration target for existing MySQL deployments.
Since then it has gained its own capabilities. A native VECTOR data type with approximate nearest-neighbour HNSW indexing has been available since version 11.8. Pluggable storage engines include InnoDB, Aria and MyRocks, plus ColumnStore (analytics), Spider (sharding) and S3 (archiving). Replication options include async, semi-sync and parallel modes using global transaction IDs, and Galera provides synchronous multi-primary clustering. On the SQL side it offers common table expressions, window functions, temporal tables with system versioning, sequences and a range of JSON functions.
It also offers an Oracle SQL mode with PL/SQL-style routines, GIS data types and full-text indexing, and security features such as role-based access control, pluggable authentication, data-at-rest encryption and TLS. MariaDB is written in C++ and licensed under GPL-2.0, and you run it on your own servers or in the cloud.
Key features
- Native vector search with HNSW indexing
- Pluggable storage engines including InnoDB
- Galera synchronous multi-primary clustering
- Temporal tables and window functions
- MySQL and Oracle compatibility modes
- Spatial and full-text indexing
- Role-based access and data-at-rest encryption
Pricing: Free and open source under the GPL-2.0 licence.
#5
A distributed SQL query engine for big data analytics that runs fast queries across many data sources, formerly known as PrestoSQL.
- GitHub stars
- 14k
- Last commit
- today
- Latest release
- 484
- Licence
- Apache-2.0
- Self-hosted
- Yes
trino.io
Trino is a distributed SQL query engine built for analytics on large data sets. It was formerly called PrestoSQL, and it lets analysts and engineers run interactive SQL against data wherever it lives rather than first moving it into a single warehouse.
The project's topics point to its role in the data lake ecosystem, with connectors and integrations for systems such as Hive, Hadoop, Iceberg and Delta Lake, and a JDBC driver for applications. Trino is a Maven project written in Java, and its repository covers development guidelines, plugin implementors, a security policy and reproducible builds. It runs as a cluster of servers and has a web UI.
Trino is released under the Apache-2.0 licence and is deployed and operated by the user, with deployment instructions and end-user documentation in the project's user manual. It is a fit for data platform teams that need fast, standards-based SQL over many sources, rather than for individual analysts looking for a point-and-click tool.
Key features
- Distributed SQL query engine
- Fast analytics on big data
- Connectors for data lake formats like Iceberg
- JDBC access for applications
- Plugin architecture for custom connectors
- Reproducible builds since version 449
Pricing: Free and open source under the Apache-2.0 licence.
#6
Vitess is a cloud-native database system that adds sharding, connection pooling and schema management on top of MySQL.
- GitHub stars
- 21k
- Last commit
- yesterday
- Latest release
- v24.0.5
- Licence
- Apache-2.0
- Self-hosted
- Yes
vitess.io
Vitess is a MySQL-compatible, cloud-native database system. Its built-in sharding lets a database grow without adding sharding logic to the application, and the sharding schemes are described as transparent to the application.
For performance it rewrites queries, caches and pools connections, so the number of concurrent client connections can scale far beyond traditional MySQL. It detects and repairs primary failures automatically, and data migrations and resharding are done with near-zero downtime.
Schema changes happen in the background without disrupting running workloads, and materialized views and messaging work across shards. Vitess is a graduated project of the Cloud Native Computing Foundation, with quickstarts for Kubernetes and local installs.
Key features
- Built-in sharding
- Query rewriting, caching and connection pooling
- Automatic detection and repair of primary failures
- Live resharding with minimal read-only downtime
- Background schema changes
- Materialized views and messaging across shards
#7
A high-throughput C++ NoSQL database on the Seastar framework that speaks the Apache Cassandra and Amazon DynamoDB APIs.
- GitHub stars
- 16k
- Last commit
- today
- Self-hosted
- Yes
- Hosted version
- Available
scylladb.com
ScyllaDB is a NoSQL database that implements the Apache Cassandra and Amazon DynamoDB APIs, so existing applications and drivers for those systems can talk to it. It is written in C++ on the Seastar framework and is aimed at real-time big data workloads that need high throughput and predictable latency.
The project describes a shared-nothing approach in which each CPU core manages its own slice of data, which it says increases throughput and storage capacity per machine and cuts hardware costs. Building the database is demanding: it needs a very recent C++23 compiler and many up-to-date libraries, so the project offers a frozen toolchain as a pre-configured Docker image that includes everything required. You then only need Docker or Podman to compile it.
The repository's license is listed as 'Other' on GitHub, so confirm the current terms before using it commercially. You can run ScyllaDB on your own servers or consume it as a managed cloud service from the company. It suits teams that have outgrown Cassandra's resource footprint or want a DynamoDB-compatible database they can run themselves.
Key features
- Compatible with the Cassandra API
- Compatible with the DynamoDB API
- Shared-nothing architecture on Seastar
- C++ implementation for high throughput
- Frozen Docker toolchain for building
- Self-hosted or managed cloud
Pricing: ScyllaDB Cloud comes in Standard, Professional and Premium tiers with no list prices on the page; Standard is costed with an online calculator and the other two by quote. A self-managed edition is also listed.
#8
Source repository of the MySQL relational database server, covering the open-source Community edition and the clustered MySQL Cluster variant.
- GitHub stars
- 13k
- Last commit
- 16 days ago
- Self-hosted
- Yes
- Hosted version
- Available
mysql.com
MySQL is a widely used open-source relational database. This repository contains the MySQL Server source code along with MySQL Cluster, which the description presents as a real-time, open-source transactional database. Applications talk to it using SQL, and it is a common choice for web applications and embedded products.
The MySQL website describes several offerings built around the server: the Community Edition, with a published governance model and early access builds; MySQL Enterprise Edition for advanced features, management tools and technical support; MySQL HeatWave, a cloud service that combines transactions with analytics and machine learning; and MySQL Cluster CGE. A program for OEM and ISV vendors covers embedding the database in other products.
The server is written in C++ and distributed under licenses detailed in the repository. Organizations can run the Community Edition on their own infrastructure, buy a commercial edition from Oracle, which owns the project, or use a managed cloud offering. Documentation, downloads and a developer zone are available on mysql.com.
Key features
- Open-source relational database server
- SQL query interface
- MySQL Cluster for transactional workloads
- Community and Enterprise editions
- HeatWave managed cloud option
- Documentation and developer resources
Pricing: Community Edition is open source; Enterprise Edition and the HeatWave cloud service are commercial offerings.
#9
A PostgreSQL extension that turns Postgres into a distributed database by sharding tables across a cluster of nodes for scale-out performance.
- GitHub stars
- 13k
- Last commit
- 3 days ago
- Latest release
- v14.3.0
- Licence
- AGPL-3.0
- Self-hosted
- Yes
citusdata.com
Citus is an extension that transforms PostgreSQL into a distributed database so it can keep performing as data and traffic grow. Instead of replacing Postgres, it adds capabilities to it, and because it is an extension it works with recent PostgreSQL versions and the tools and extensions people already use.
Distributed tables are sharded across a cluster of nodes to pool CPU, memory, storage and I/O, while reference tables are replicated to every node for joins and foreign keys. A distributed query engine routes work to the right shards and runs SELECT, DML and other statements in parallel, columnar storage compresses data and speeds up scans, and queries can be sent to any node. More worker nodes can be added and shards rebalanced as data grows.
Typical uses include multi-tenant applications, real-time analytics, high-throughput transactional workloads and time-series or IoT data. Citus is written in C, licensed under AGPL-3.0 and described by its authors as fully open source, and it can start as a single node and scale out later. The project links a SIGMOD paper describing how it works.
Key features
- Distributed tables sharded across nodes
- Reference tables replicated to all nodes
- Distributed query engine with parallel execution
- Columnar storage with compression
- Query from any node in the cluster
- Shard rebalancing when adding workers
Pricing: The Citus extension is free and open source. The managed Azure Cosmos DB for PostgreSQL service starts at about $0.27 per hour, with reserved capacity pricing available.
#10
A distributed relational database developed by Ant Group, MySQL-compatible and built on Paxos, supporting transactional, analytical and vector workloads.
- GitHub stars
- 10k
- Last commit
- yesterday
- Latest release
- v4.6.0_CE_BP1
- Licence
- Apache-2.0
- Self-hosted
- Yes
en.oceanbase.com
OceanBase is a distributed relational database developed by Ant Group. It runs on a cluster of commodity servers and uses the Paxos protocol and a distributed architecture to provide high availability and scalability, without depending on a specific hardware architecture.
It is compatible with MySQL, which eases migration from MySQL databases, and supports hybrid transactional and analytical processing, so one engine can serve both OLTP and OLAP workloads. The project now describes itself as a unified, multi-model database for the AI era, with topics that include vector search and full-text search. Cloud-native operation is supported through a Kubernetes operator.
You can try it by deploying a stand-alone instance with an all-in-one package on Linux, starting a Docker container from images on Docker Hub, quay.io or ghcr.io, or running it on Kubernetes with ob-operator. OceanBase is written in C++ and licensed under Apache-2.0, with a developer guide for compiling the observer yourself.
Key features
- Distributed architecture on Paxos
- Compatible with MySQL applications
- Hybrid transactional and analytical processing
- Vector and full-text search
- Docker and Kubernetes deployment
- All-in-one stand-alone installer
Pricing: Free and open source under the Apache-2.0 licence.
CockroachDB alternatives: questions
- What is the best open-source alternative to CockroachDB?
- ClickHouse is the top-ranked open-source alternative to CockroachDB on Enlisted: An open-source column-oriented database management system built for real-time analytical reports, available to self-host or as the managed ClickHouse Cloud service. Other strong options are PostgreSQL, TiDB, MariaDB and Trino.
- What are the best commercial alternatives to CockroachDB?
- Azure SQL Database, Oracle Autonomous Database, Amazon RDS, Azure Cosmos DB and AlloyDB for PostgreSQL are among the hosted, closed-source alternatives to CockroachDB listed on Enlisted, which lists 25 in total. Compare their pricing and features on each tool page.
- Are these CockroachDB alternatives free?
- All 14 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 4 also offer a paid or managed cloud version if you'd rather not host it yourself.
- How is this list of CockroachDB alternatives ranked?
- By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 14 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.