Relational Databases

CockroachDB vs MariaDB

Compare CockroachDB and MariaDB side-by-side. See feature differences and pricing in the Relational Databases category.

CockroachDB
CockroachDB

by Cockroach Labs

No reviews yet

Pricing: Usage-based, metered by the minute: Standard $0.092 per vCPU-hour (about $203/mo at 2 vCPU), Mission Critical $0.162 per vCPU-hour; self-hosted Enterprise by quote.

CockroachDB is a distributed SQL database, PostgreSQL compatible, run as a usage-billed cloud service or self-hosted, for apps that must stay up across regions.

14 /18 features Full profile
No reviews yet

Pricing: Cloud Foundation tier free; Cloud Power from $0.16 an hour and PowerPlus from $0.21 an hour, pay as you go; Enterprise Platform tiers by quote; Community Server free under GPLv2.

MariaDB is an open-source relational database under GPLv2 with MySQL and Oracle compatibility, run self-managed or as the managed MariaDB Cloud service.

12 /18 features Full profile

Feature Comparison

Relational Databases features side-by-side

CockroachDB
CockroachDB 14/18 features
ACID transactions with row-level locking
Yes
Declarative table partitioning
Yes
Native JSON column type with indexing
Yes
Built-in full-text search indexes
Yes
Streaming physical replication to standbys
Yes
Logical replication of selected tables
Yes
Synchronous multi-replica commit
Yes
Automatic failover to a standby
Yes
Point-in-time recovery from archived logs
Yes
Online schema changes without table locks
Yes
Columnstore indexes for analytics
No
Row-level security policies
Yes
Transparent data encryption at rest
Yes
Stored procedures in multiple languages
No
Extension or plugin architecture
No
Query store or plan history
Yes
In-place major version upgrade tooling
Yes
Open source core under a permissive license
No
No reviews yet
MariaDB
MariaDB 12/18 features
ACID transactions with row-level locking
Yes
Declarative table partitioning
Yes
Native JSON column type with indexing
No
Built-in full-text search indexes
Yes
Streaming physical replication to standbys
No
Logical replication of selected tables
No
Synchronous multi-replica commit
Yes
Automatic failover to a standby
Yes
Point-in-time recovery from archived logs
Yes
Online schema changes without table locks
Yes
Columnstore indexes for analytics
Yes
Row-level security policies
No
Transparent data encryption at rest
Yes
Stored procedures in multiple languages
No
Extension or plugin architecture
Yes
Query store or plan history
No
In-place major version upgrade tooling
Yes
Open source core under a permissive license
Yes
No reviews yet

Pricing

CockroachDB

Usage-based, metered by the minute: Standard $0.092 per vCPU-hour (about $203/mo at 2 vCPU), Mission Critical $0.162 per vCPU-hour; self-hosted Enterprise by quote.

MariaDB

Cloud Foundation tier free; Cloud Power from $0.16 an hour and PowerPlus from $0.21 an hour, pay as you go; Enterprise Platform tiers by quote; Community Server free under GPLv2.

Explore Each Product

Looking for more options?

Browse all Relational Databases