# CockroachDB vs MariaDB

**Leader by vioscaleAI score:** CockroachDB

| Attribute | CockroachDB | MariaDB |
|---|---|---|
| **vioscaleAI score** | 65 (65% (medium)) | 49.9 (42% (low)) |
| activity.commits_last_30d | 11 | 100 |
| adoption.dependent_repos | 235 | 0 |
| adoption.github_stars | 32,549 | 8,358 |
| content.faq | `[{"answer":"A distributed SQL database that runs across multiple cloud platforms and on-premises environments, providing automatic failover, strong consistency, and horizontal scaling without manual sharding. It is indexed under Relational Databases.","source":"https://www.cockroachlabs.com/pricing/legacy/","question":"What is CockroachDB?","confidence":0.6},{"answer":"CockroachDB offers a free tier, so you can start without paying. Paid plans start at $146 per month. Prices are published openly on the vendor's own pricing page. Pricing changes often, so verify at source before relying on it.","source":"https://www.cockroachlabs.com/pricing/legacy/","question":"Is CockroachDB free?","confidence":0.6},{"answer":"CockroachDB supports the web and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://www.cockroachlabs.com/pricing/legacy/","question":"What platforms does CockroachDB support?","confidence":0.6},{"answer":"Yes. CockroachDB can be deployed cloud / SaaS, hybrid, on-premise and self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://www.cockroachlabs.com/pricing/legacy/","question":"Can CockroachDB be self-hosted?","confidence":0.6},{"answer":"We have confirmed 16 integrations for CockroachDB, including Datadog, Splunk, Dynatrace, New Relic, Terraform, Vercel, HashiCorp and pgvector, plus 8 more. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://www.cockroachlabs.com/pricing/legacy/","question":"What does CockroachDB integrate with?","confidence":0.6},{"answer":"We have independently confirmed SOC 2, ISO 27001, HIPAA and GDPR for CockroachDB. Certifications we do not list are ones we have not been able to verify from public sources, which is not the same as CockroachDB not holding them. Always confirm compliance directly before you rely on it.","source":"https://www.cockroachlabs.com/trust-center/","question":"What security certifications does CockroachDB have?","confidence":0.7}]` | `[{"answer":"A widely deployed open source database that evolved from MySQL while maintaining compatibility, offering advanced SQL capabilities, native vector search, pluggable storage engines, and multi-primary clustering for production workloads. It is indexed under Relational Databases.","source":"https://mariadb.org","question":"What is MariaDB?","confidence":0.6},{"answer":"MariaDB is open source, so it can be self-hosted and used at no licence cost. It is released under the GPL-2.0 licence. Pricing changes often, so verify at source before relying on it.","source":"https://mariadb.org","question":"Is MariaDB free to use?","confidence":0.6},{"answer":"MariaDB supports Windows and Linux. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://mariadb.org","question":"What platforms does MariaDB support?","confidence":0.6},{"answer":"Yes. MariaDB can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://mariadb.org","question":"Can MariaDB be self-hosted?","confidence":0.6},{"answer":"We have confirmed 14 integrations for MariaDB, including MariaDB Connector/C, MariaDB Connector/Node.js, MariaDB Connector/ODBC, MariaDB Connector/J, MariaDB Connector/Python, MariaDB Connector/R2DBC, MySqlConnector for ADO.NET and ADO.NET Driver for MySQL, plus 6 more. This is what we could verify from public sources, so the vendor may support others we have not indexed.","source":"https://mariadb.org","question":"What does MariaDB integrate with?","confidence":0.6},{"answer":"We have independently confirmed GDPR for MariaDB. Certifications we do not list are ones we have not been able to verify from public sources, which is not the same as MariaDB not holding them. Always confirm compliance directly before you rely on it.","source":"https://mariadb.org/privacy-policy","question":"What security certifications does MariaDB have?","confidence":0.7},{"answer":"Yes. MariaDB is published under the GPL-2.0 licence, a copyleft licence, so check its terms before embedding it in a closed-source product. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/MariaDB/server","question":"Is MariaDB open source?","confidence":0.95}]` |
| deployment.options | `{"cloud":true,"hybrid":true,"on_prem":true,"self_hosted":true}` | `{"self_hosted":true}` |
| description.long | A cloud-native SQL database that scales automatically across machines without manual sharding, supporting ACID transactions and multi-region deployments. It survives node, zone, and regional failures with minimal disruption and is compatible with PostgreSQL applications. | A widely deployed open source database that evolved from MySQL while maintaining compatibility, offering advanced SQL capabilities, native vector search, pluggable storage engines, and multi-primary clustering for production workloads. |
| features.capabilities | `{"hosting":"both","free_tier":true,"isolation":"serializable","sql_model":"full_sql","data_model":"relational","deployment":"managed","serverless":true,"consistency":"strong","geo_spatial":"none","replication":"consensus","sql_support":true,"engine_family":"postgresql","extensibility":false,"json_document":false,"license_class":"source_available","managed_cloud":true,"pricing_model":"tiered_plus_usage","deployment_type":"independent_multi_cloud","horizontal_scale":"distributed_native","acid_transactions":"full","automatic_failover":true,"horizontal_scaling":true,"private_networking":true,"wire_compatibility":"postgres","self_host_alternative":true,"multi_region_replication":true}` | `{"sql_model":"full_sql","consistency":"tunable","geo_spatial":"native","replication":"sync","extensibility":true,"json_document":true,"license_class":"copyleft","horizontal_scale":"distributed_native","acid_transactions":"full","automatic_failover":true,"wire_compatibility":"mysql"}` |
| integrations.count | 6 | 17 |
| integrations.list | `[{"name":"Datadog"},{"name":"Splunk"},{"name":"Dynatrace"},{"name":"New Relic"},{"name":"Terraform"},{"name":"Vercel"},{"name":"HashiCorp"},{"name":"pgvector"},{"name":"AWS"},{"name":"GCP"},{"name":"Azure"},{"name":"Kubernetes"},{"name":"MOLT (Migration Tool)"},{"name":"PostgreSQL drivers"},{"name":"SQLAlchemy"},{"name":"Google Cloud","native":true,"category":"cloud"}]` | `[{"name":"MariaDB Connector/C"},{"name":"MariaDB Connector/Node.js"},{"name":"MariaDB Connector/ODBC"},{"name":"MariaDB Connector/J"},{"name":"MariaDB Connector/Python"},{"name":"MariaDB Connector/R2DBC"},{"name":"MariaDB Connector/C++"},{"name":"MySqlConnector for ADO.NET"},{"name":"ADO.NET Driver for MySQL"},{"name":"ODBC Driver for MySQL"},{"name":"JDBC Driver for MySQL"},{"name":"Node.js Driver for MySQL"},{"name":"C++ Driver for MySQL"},{"name":"C Driver for MySQL"},{"name":"C API for MySQL"},{"name":"PyMySQL"},{"name":"mysql-python"}]` |
| language.primary | Go | C++ |
| license.spdx | - | GPL-2.0 |
| market.availability | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true,"web":true}` | `{"linux":true,"windows":true}` |
| pricing | `{"type":"usage","plans":[{"free":false,"name":"Standard","summary":"From $0.057/vCPU-hr, 99.99% SLA","features":["99.99% availability SLA","Single- or multi-region on AWS and GCP","Row-level security","Column-level encryption","Private connectivity","CDC add-on available","1-hour P1 support response"],"components":[{"per":{"qty":1,"unit":"vCPU-hour"},"kind":"metered","amount":0.057,"currency":"USD"},{"per":{"qty":1,"unit":"GiB-month"},"kind":"metered","amount":0.155,"currency":"USD"}],"description":"For most applications, quick to start and less to manage.","contactSales":false},{"free":false,"name":"Mission Critical","summary":"$0.162/vCPU-hr, 99.999% SLA","features":["99.999% availability SLA with multi-region","Egress controls","CMEK","PCI DSS & HIPAA compliance","All add-ons available","30-minute P1 support response"],"components":[{"per":{"qty":1,"unit":"vCPU-hour"},"kind":"metered","amount":0.162,"currency":"USD"}],"description":"For production applications that need the highest availability and support.","contactSales":false}],"addOns":[{"name":"Change Data Capture (CDC)","components":[{"per":{"qty":1,"unit":"vCPU-hour"},"kind":"metered","amount":0.006,"currency":"USD"}]},{"name":"Physical Cluster Replication (PCR)","components":[{"per":{"qty":1,"unit":"vCPU-hour"},"kind":"metered","amount":0.023,"currency":"USD"}]}],"summary":"From $0.057/vCPU-hr. Free 30-day trial with $400 credit.","currency":"USD","freeTier":true,"sourceUrl":"https://www.cockroachlabs.com/pricing/","retrievedAt":"2026-10-05T10:08:18.278Z","freeTrialDays":30,"startingPrice":{"unit":"vCPU-hour","amount":0.057,"currency":"USD"},"billingPeriods":["month"]}` | `{"type":"open_source","sourceUrl":"https://mariadb.org","retrievedAt":"2026-09-10T21:05:20.008Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | freemium | open_source |
| pricing.price_level | low | free |
| pricing.starting_price | `{"amount":0.057,"currency":"USD"}` | - |
| pricing.transparent | yes | yes |
| release.history | - | `[{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.2","date":"2026-09-15T15:55:36Z","type":"stable","version":"mariadb-13.0.2"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.1.1","date":"2026-09-15T15:56:12Z","type":"prerelease","version":"mariadb-13.1.1"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.3","date":"2026-08-24T22:31:19Z","type":"stable","version":"mariadb-12.3.3"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.9","date":"2026-08-24T22:30:45Z","type":"stable","version":"mariadb-11.8.9"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.13","date":"2026-08-24T22:30:23Z","type":"stable","version":"mariadb-11.4.13"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.19","date":"2026-08-24T22:27:58Z","type":"stable","version":"mariadb-10.11.19"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.28","date":"2026-08-13T18:00:31Z","type":"stable","version":"mariadb-10.6.28"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-13.0.1","date":"2026-05-29T19:32:21Z","type":"prerelease","version":"mariadb-13.0.1"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.2","date":"2026-05-28T19:32:07Z","type":"stable","version":"mariadb-12.3.2"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.8","date":"2026-05-27T18:25:31Z","type":"stable","version":"mariadb-11.8.8"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.12","date":"2026-05-27T18:24:55Z","type":"stable","version":"mariadb-11.4.12"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.27","date":"2026-05-27T18:23:42Z","type":"stable","version":"mariadb-10.6.27"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.18","date":"2026-05-27T18:24:20Z","type":"stable","version":"mariadb-10.11.18"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.7b","date":"2026-05-18T16:20:36Z","type":"stable","version":"mariadb-11.8.7b"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.4.11b","date":"2026-05-18T16:19:48Z","type":"stable","version":"mariadb-11.4.11b"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.6.26","date":"2026-05-18T16:17:25Z","type":"stable","version":"mariadb-10.6.26"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-10.11.17","date":"2026-05-18T16:18:44Z","type":"stable","version":"mariadb-10.11.17"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.2.2","date":"2026-02-12T19:39:07Z","type":"stable","version":"mariadb-12.2.2"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-12.3.1","date":"2026-02-12T19:39:55Z","type":"prerelease","version":"mariadb-12.3.1"},{"url":"https://github.com/MariaDB/server/releases/tag/mariadb-11.8.6","date":"2026-02-04T22:03:31Z","type":"stable","version":"mariadb-11.8.6"}]` |
| reliability.sla_pct | 99.99 | - |
| security.certifications | `[{"name":"SOC 2 Type II","level":"Type II","status":"active","auditor":"AICPA"},{"name":"SOC 3","status":"active","auditor":"AICPA"},{"name":"ISO 27001","status":"active"},{"name":"ISO 27017","status":"active"},{"name":"ISO 27018","status":"active"},{"name":"ISO 42001","status":"in_progress"},{"name":"HIPAA","status":"active"},{"name":"PCI DSS","status":"active"}]` | - |
| security.disclosure_policy | yes | yes |
| security.gdpr | yes | yes |
| security.hipaa | yes | - |
| security.iso27001 | yes | - |
| security.pci | yes | - |
| security.scorecard | 5.1 | 4.7 |
| security.soc2 | yes | - |
| security.trust_center | https://www.cockroachlabs.com/trust-center/ | - |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=go&package_name=github.com%2Fcockroachdb%2Fcockroach&per_page=100","last_12m":0,"max_severity":null}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=helm&package_name=openinfradev%2Fmariadb&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (Relational Databases)

| Capability | CockroachDB | MariaDB |
|---|:--:|:--:|
| **Core** |  |  |
| SQL model | Full SQL | Full SQL |
| **Transactions** |  |  |
| ACID transactions | Full | Full |
| Highest isolation level | Serializable | - |
| **Consistency** |  |  |
| Consistency | Strong | Tunable |
| **Scale** |  |  |
| Horizontal scale | Natively distributed | Natively distributed |
| **Replication** |  |  |
| Replication | Consensus (Raft/Paxos) | Sync |
| **Availability** |  |  |
| Automatic failover / HA | ✓ | ✓ |
| **Deployment** |  |  |
| Deployment | Managed | - |
| Serverless / scale-to-zero | ✓ | - |
| **Compatibility** |  |  |
| Wire compatibility | Postgres protocol | MySQL protocol |
| **Extensibility** |  |  |
| Extensions / plugins / UDFs | ✗ | ✓ |
| **Licensing** |  |  |
| Licence class | Source-available (BSL/SSPL) | Copyleft |
| **Data types** |  |  |
| JSON / document support | ✗ | ✓ |
| Geo / spatial | None | Native |

*Source: vioscaleAI. Generated 2026-10-19T01:23:43.386Z. "-" = undocumented, not absent.*
