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

DBMS > CockroachDB vs. Tarantool vs. TypeDB

System Properties Comparison CockroachDB vs. Tarantool vs. TypeDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonTarantool  Xexclude from comparisonTypeDB infoformerly named Grakn  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.In-memory computing platform with a flexible data schema for efficiently building high-performance applicationsTypeDB is a strongly-typed database with a rich and logical type system and TypeQL as its query language
Primary database modelRelational DBMSDocument store
Key-value store
Relational DBMS
Graph DBMS
Relational DBMS infoOften described as a 'hyper-relational' database, since it implements the 'Entity-Relationship Paradigm' to manage complex data structures and ontologies.
Secondary database modelsSpatial DBMS infowith Tarantool/GIS extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score1.72
Rank#144  Overall
#25  Document stores
#25  Key-value stores
#66  Relational DBMS
Score0.65
Rank#234  Overall
#20  Graph DBMS
#107  Relational DBMS
Websitewww.cockroachlabs.comwww.tarantool.iotypedb.com
Technical documentationwww.cockroachlabs.com/­docswww.tarantool.io/­en/­doctypedb.com/­docs
DeveloperCockroach LabsVKVaticle
Initial release201520082016
Current release23.1.1, May 20232.10.0, May 20222.26.3, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoBSD-2, source-available extensions (modules), commercial licenses for Tarantool EnterpriseOpen Source infoGPL Version 3, commercial licenses available
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC and C++Java
Server operating systemsLinux
macOS
Windows
BSD
Linux
macOS
Linux
OS X
Windows
Data schemedynamic schemaFlexible data schema: relational definition for tables with ability to store json-like documents in columnsyes
Typing infopredefined data types such as float or dateyesstring, double, decimal, uuid, integer, blob, boolean, datetimeyes
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 indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLFull-featured ANSI SQL supportno
APIs and other access methodsJDBCOpen binary protocolgRPC protocol
TypeDB Console (shell)
TypeDB Studio (Visualisation software- previously TypeDB Workbase)
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
C#
C++
Erlang
Go
Java
JavaScript
Lua
Perl
PHP
Python
Rust
All JVM based languages
Groovy
Java
JavaScript (Node.js)
Python
Scala
Server-side scripts infoStored proceduresnoLua, C and SQL stored proceduresno
Triggersnoyes, before/after data modification events, on replication events, client session eventsno
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 RAFTSharding, partitioned with virtual buckets by user defined affinity key. Live resharding for scale up and scale down without maintenance downtime.Sharding infoby using Cassandra
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTAsynchronous replication with multi-master option
Configurable replication topology (full-mesh, chain, star)
Synchronous quorum replication (with Raft)
Multi-source replication infoby using Cassandra
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infoby using Apache Kafka and Apache Zookeeper
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyCasual consistency across sharding partitions
Eventual consistency within replicaset partition infowhen using asyncronous replication
Immediate Consistency within single instance
Sequential consistency including linearizable read within replicaset partition infowhen using Raft
Immediate Consistency
Foreign keys infoReferential integrityyesyesno infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID, with serializable isolation and linearizable read (within partition); Configurable MVCC (within partition); No cross-shard distributed transactionsACID
Concurrency infoSupport for concurrent manipulation of datayesyes, cooperative multitaskingyes
Durability infoSupport for making data persistentyesyes, write ahead loggingyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes, full featured in-memory storage engine with persistenceno
User concepts infoAccess controlRole-based access controlAccess Control Lists
Mutual TLS authentication for Tarantol Enterprise
Password based authentication
Role-based access control (RBAC) and LDAP for Tarantol Enterprise
Users and Roles
yes infoat REST API level; other APIs in progress
More information provided by the system vendor
CockroachDBTarantoolTypeDB infoformerly named Grakn
Specific characteristicsTypeDB is a polymorphic database with a conceptual data model, a strong subtyping...
» more
Competitive advantagesTypeDB provides a new level of expressivity, extensibility, interoperability, and...
» more
Typical application scenariosLife sciences : TypeDB makes working with biological data much easier and accelerates...
» more
Licensing and pricing modelsApache f or language drivers, and AGPL and Commercial for the database server. The...
» more

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
CockroachDBTarantoolTypeDB infoformerly named Grakn
DB-Engines blog posts

Data processing speed and reliability: in-memory synchronous replication
9 November 2021,  Vladimir Perepelytsya, Tarantool (sponsor) 

show all

Recent citations in the news

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

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

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

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

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

provided by Google News

In-Memory Showdown: Redis vs. Tarantool
4 April 2023, Хабр

TaranHouse: New Big Data Warehouse Announced by Tarantool
4 April 2018, Newswire

Deploying Tarantool Cartridge applications with zero effort (Part 1)
16 December 2019, Хабр

Deploying Tarantool Cartridge applications with zero effort (Part 2)
13 April 2020, Хабр

Тarantool Cartridge: Sharding Lua Backend in Three Lines
9 October 2019, Хабр

provided by Google News

An Enterprise Data Stack Using TypeDB | by Daniel Crowe
2 September 2021, Towards Data Science

Speedb Goes Open Source With Its Speedb Data Engine, A Drop-in Replacement for RocksDB
9 November 2022, businesswire.com

How Roche Discovered Novel Potential Gene Targets with TypeDB
8 June 2021, Towards Data Science

195 Data Science Libraries You Should Reconsider Using | by Dimitris Effrosynidis
2 February 2024, DataDrivenInvestor

Modelling Biomedical Data for a Drug Discovery Knowledge Graph
6 October 2020, Towards Data Science

provided by Google News



Share this page

Featured Products

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Milvus logo

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

Neo4j logo

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

Present your product here