DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Datomic vs. Derby vs. Faircom DB vs. RocksDB

System Properties Comparison CockroachDB vs. Datomic vs. Derby vs. Faircom DB vs. RocksDB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDatomic  Xexclude from comparisonDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonFaircom DB infoformerly c-treeACE  Xexclude from comparisonRocksDB  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.Datomic builds on immutable values, supports point-in-time queries and uses 3rd party systems for durabilityFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Native high-speed multi-model DBMS for relational and key-value store data simultaneously accessible through SQL and NoSQL APIs.Embeddable persistent key-value store optimized for fast storage (flash and RAM)
Primary database modelRelational DBMSRelational DBMSRelational DBMSKey-value store
Relational DBMS
Key-value store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.10
Rank#58  Overall
#33  Relational DBMS
Score1.76
Rank#145  Overall
#66  Relational DBMS
Score5.30
Rank#66  Overall
#36  Relational DBMS
Score0.24
Rank#311  Overall
#44  Key-value stores
#140  Relational DBMS
Score4.00
Rank#84  Overall
#11  Key-value stores
Websitewww.cockroachlabs.comwww.datomic.comdb.apache.org/­derbywww.faircom.com/­products/­faircom-dbrocksdb.org
Technical documentationwww.cockroachlabs.com/­docsdocs.datomic.comdb.apache.org/­derby/­manuals/­index.htmldocs.faircom.com/­docs/­en/­UUID-7446ae34-a1a7-c843-c894-d5322e395184.htmlgithub.com/­facebook/­rocksdb/­wiki
DeveloperCockroach LabsCognitectApache Software FoundationFairCom CorporationFacebook, Inc.
Initial release20152012199719792013
Current release23.1.1, May 20231.0.6735, June 202310.17.1.0, November 2023V12, November 20208.11.4, April 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infolimited edition freeOpen Source infoApache version 2commercial infoRestricted, free version availableOpen Source infoBSD
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoJava, ClojureJavaANSI C, C++C++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMAll OS with a Java VMAIX
FreeBSD
HP-UX
Linux
NetBSD
OS X
QNX
SCO
Solaris
VxWorks
Windows infoeasily portable to other OSs
Linux
Data schemedynamic schemayesyesschema free, schema optional, schema required, partial schema,schema-free
Typing infopredefined data types such as float or dateyesyesyesyes, ANSI SQL Types, JSON, typed binary structuresno
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nonoyesnono
Secondary indexesyesyesyesyesno
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoyesyes, ANSI SQL with proprietary extensionsno
APIs and other access methodsJDBCRESTful HTTP APIJDBCADO.NET
Direct SQL
JDBC
JPA
ODBC
RESTful HTTP/JSON API
RESTful MQTT/JSON API
RPC
C++ API
Java API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Clojure
Java
Java.Net
C
C#
C++
Java
JavaScript (Node.js and browser)
PHP
Python
Visual Basic
C
C++
Go
Java
Perl
Python
Ruby
Server-side scripts infoStored proceduresnoyes infoTransaction FunctionsJava Stored Proceduresyes info.Net, JavaScript, C/C++no
TriggersnoBy using transaction functionsyesyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTnone infoBut extensive use of caching in the application peersnoneFile partitioning, horizontal partitioning, sharding infoCustomizable business rules for table partitioninghorizontal partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnone infoBut extensive use of caching in the application peersSource-replica replicationyes, configurable to be parallel or serial, synchronous or asynchronous, uni-directional or bi-directional, ACID-consistent or eventually consistent (with custom conflict resolution).yes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyEventual Consistency
Immediate Consistency
Tunable consistency per server, database, table, and transaction
Foreign keys infoReferential integrityyesnoyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDtunable from ACID to Eventually Consistentyes
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyes infousing external storage systems (e.g. Cassandra, DynamoDB, PostgreSQL, Couchbase and others)yesYes, tunable from durable to delayed durability to in-memoryyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes inforecommended only for testing and developmentyesyesyes
User concepts infoAccess controlRole-based access controlnofine grained access rights according to SQL-standardFine grained access rights according to SQL-standard with additional protections for filesno

More information provided by the system vendor

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services
3rd partiesSpeedb: A high performance RocksDB-compliant key-value store optimized for write-intensive workloads.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
CockroachDBDatomicDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBFaircom DB infoformerly c-treeACERocksDB
Recent citations in the news

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

Cockroach Entices High-End Legacy Workloads with v23.2
18 January 2024, Datanami

provided by Google News

Stanchion Turns SQLite Into A Column Store
15 February 2024, iProgrammer

Nubank buys firm behind Clojure programming language
28 July 2020, Finextra

Zoona Case Study
16 December 2017, AWS Blog

Architecting Software for Leverage
13 November 2021, InfoQ.com

TerminusDB Takes on Data Collaboration with a git-Like Approach
1 December 2020, The New Stack

provided by Google News

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, TheServerSide.com

Installing Apache Hive 3.1.2 on Windows 10 | by Hadi Fadlallah
3 May 2020, Towards Data Science

The Arrival of Java 20
21 March 2023, Oracle

The Ultimate Open Source Database List Profiling 16 Software Tools
30 May 2019, Solutions Review

No, Citrix did not kill CloudStack
15 September 2014, InfoWorld

provided by Google News

FairCom kicks off new era of database technology USA - English
10 November 2020, PR Newswire

provided by Google News

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

Pliops Unveils Accelerated Key-Value Store That Boosts RocksDB Performance by 20x at OCP Global Summit
18 October 2022, GlobeNewswire

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Intel Linux Optimizations Help AMD EPYC "Genoa" Improve Scaling To 384 Threads
6 April 2023, Phoronix

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Present your product here