DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. EJDB vs. Fauna vs. SurrealDB vs. TerarkDB

System Properties Comparison CockroachDB vs. EJDB vs. Fauna vs. SurrealDB vs. TerarkDB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonEJDB  Xexclude from comparisonFauna infopreviously named FaunaDB  Xexclude from comparisonSurrealDB  Xexclude from comparisonTerarkDB  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.Embeddable document-store database library with JSON representation of queries (in MongoDB style)Fauna provides a web-native interface, with support for GraphQL and custom business logic that integrates seamlessly with the rest of the serverless ecosystem. The underlying globally distributed storage and compute platform is fast, consistent, and reliable, with a modern security infrastructure.A fully ACID transactional, developer-friendly, multi-model DBMSA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSDocument storeDocument store
Graph DBMS
Relational DBMS
Time Series DBMS
Document store
Graph DBMS
Key-value store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score0.31
Rank#296  Overall
#44  Document stores
Score1.55
Rank#151  Overall
#26  Document stores
#14  Graph DBMS
#71  Relational DBMS
#13  Time Series DBMS
Score1.02
Rank#190  Overall
#33  Document stores
#18  Graph DBMS
Score0.08
Rank#367  Overall
#56  Key-value stores
Websitewww.cockroachlabs.comgithub.com/­Softmotions/­ejdbfauna.comsurrealdb.comgithub.com/­bytedance/­terarkdb
Technical documentationwww.cockroachlabs.com/­docsgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mddocs.fauna.comsurrealdb.com/­docsbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperCockroach LabsSoftmotionsFauna, Inc.SurrealDB LtdByteDance, originally Terark
Initial release20152012201420222016
Current release24.1.0, May 2024v1.5.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoGPLv2commercialOpen Sourcecommercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud servicenonoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoCScalaRustC++
Server operating systemsLinux
macOS
Windows
server-lesshostedLinux
macOS
Windows
Data schemedynamic schemaschema-freeschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesyes infostring, integer, double, bool, date, object_idnoyesno
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.nonono
Secondary indexesyesnoyesno
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonoSQL-like query languageno
APIs and other access methodsJDBCin-process shared libraryRESTful HTTP APIGraphQL
RESTful HTTP API
WebSocket
C++ API
Java API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Actionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
C#
Go
Java
JavaScript
Python
Ruby
Scala
Swift
Deno
Go
JavaScript (Node.js)
Rust
C++
Java
Server-side scripts infoStored proceduresnonouser defined functionsno
Triggersnononono
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 RAFTnonehorizontal partitioning infoconsistent hashingnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnoneMulti-source replicationnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesno infotypically not needed, however similar functionality with collection joins possibleyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDACIDno
Concurrency infoSupport for concurrent manipulation of datayesyes infoRead/Write Lockingyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes
User concepts infoAccess controlRole-based access controlnoIdentity management, authentication, and access controlyes, based on authentication and database rulesno

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

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

More resources
CockroachDBEJDBFauna infopreviously named FaunaDBSurrealDBTerarkDB
Recent citations in the news

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

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

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

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

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

provided by Google News

Fauna Launches Distributed Document-Relational Database On Google Cloud Marketplace
21 March 2024, GlobeNewswire

Slicing the Gordian Knot: A leap to real-time systems of truth
3 February 2024, SiliconANGLE News

Fauna Adds Groundbreaking New Database Language and Seamless Developer Experience to Enterprise Proven ...
22 August 2023, Business Wire

CITES Trade Database surpasses 25 million trade transaction records
3 October 2023, Convention on International Trade in Endangered Species of Wild Fauna and Flora (CITES)

Fauna Query Language tamed to appeal to developers
22 August 2023, The Register

provided by Google News

SD Times Open-Source Project of the Week: SurrealDB
10 May 2024, SDTimes.com

Meet Tobie Morgan Hitchcock, CEO & Co-Founder Of SurrealDB
25 April 2024, TechRound

Cloud, privacy and AI: Trends defining the future of data and databases
27 September 2023, Sifted

SurrealDB raises $6M for its database-as-a-service offering
4 January 2023, TechCrunch

Introducing SurrealDB: A Quantum Leap in Database Technology
11 September 2023, TechRound

provided by Google News

A Chinese company is making the cloud 200x faster ยท TechNode
3 July 2017, TechNode

provided by Google News



Share this page

Featured Products

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

Neo4j logo

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

Milvus logo

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

Present your product here