YugabyteDB vs CockroachDB
YugabyteDB is the better choice for you if:
- You’re on PostgreSQL and are struggling with scale or resilience
- Your global applications need multi-region databases for data residency, resilience, or low latency access
- You’re modernizing your legacy Oracle, DB2, or SQL Server databases to a cloud native database
- You want to use a 100% open source database that doesn’t tie you down with a proprietary software license.
YugabyteDB Supports More Widely Used SQL Features
Feature | CockroachDB | YugabyteDB |
---|---|---|
PostgreSQL Runtime Compatibility | ||
Built-In Connection Pooling | ||
Bi-Modal Query Execution | ||
User-Defined Functions (UDFs) | ||
Stored Procedures (SQL, pl-pgsql) | ||
Cursors | ||
Triggers | ||
Row-Level Security | ||
Column-Level Locking | ||
xCluster Asynchronous Replication | ||
Foreign Data Wrappers | ||
Common table expressions |
Market Leaders Trust YugabyteDB
FAQ
YugabyteDB re-uses the upper half of PostgreSQL allowing us to offer advanced features and provide a seamless transition to distributed SQL. Below the API layer, Yugabyte has completely re architected a distributed, transactional storage layer to seamless handle spreading the database across numerous nodes. Think of YugabyteDB as PostgreSQL for the cloud native world.
YugabyteDB offers a range of deployment options to suit diverse infrastructure needs and preferences. You can deploy it as a fully managed DBaaS on your preferred cloud platform (AWS, Azure, or Google Cloud). You can also deploy it as a self-managed DBaaS on public clouds, on-premises, or in a hybrid setup. Additionally, YugabyteDB can be installed on VMs, containers, or bare-metal systems.
Yes, like PostgreSQL, the YugabyteDB database is 100% open source under the Apache 2.0 license and is available for download on Github. Our commercial DBaaS solutions include support and a powerful control plane for easy deployment and scalable management.