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

DBMS > CockroachDB vs. Sphinx vs. TerarkDB vs. TypeDB

System Properties Comparison CockroachDB vs. Sphinx vs. TerarkDB vs. TypeDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonSphinx  Xexclude from comparisonTerarkDB  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.Open source search engine for searching in data from different sources, e.g. relational databasesA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDBTypeDB is a strongly-typed database with a rich and logical type system and TypeQL as its query language
Primary database modelRelational DBMSSearch engineKey-value storeGraph DBMS
Relational DBMS infoOften described as a 'hyper-relational' database, since it implements the 'Entity-Relationship Paradigm' to manage complex data structures and ontologies.
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score5.95
Rank#55  Overall
#5  Search engines
Score0.08
Rank#367  Overall
#56  Key-value stores
Score0.70
Rank#230  Overall
#20  Graph DBMS
#106  Relational DBMS
Websitewww.cockroachlabs.comsphinxsearch.comgithub.com/­bytedance/­terarkdbtypedb.com
Technical documentationwww.cockroachlabs.com/­docssphinxsearch.com/­docsbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKctypedb.com/­docs
DeveloperCockroach LabsSphinx Technologies Inc.ByteDance, originally TerarkVaticle
Initial release2015200120162016
Current release24.1.0, May 20243.5.1, February 20232.26.3, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoGPL version 2, commercial licence availablecommercial inforestricted open source version availableOpen Source infoGPL Version 3, commercial licenses available
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC++C++Java
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Linux
OS X
Windows
Data schemedynamic schemayesschema-freeyes
Typing infopredefined data types such as float or dateyesnonoyes
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 indexesyesyes infofull-text index on all search fieldsnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query language (SphinxQL)nono
APIs and other access methodsJDBCProprietary protocolC++ API
Java API
gRPC 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++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
C++
Java
All JVM based languages
Groovy
Java
JavaScript (Node.js)
Python
Scala
Server-side scripts infoStored proceduresnononono
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 RAFTSharding infoPartitioning is done manually, search queries against distributed index is supportednoneSharding infoby using Cassandra
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnonenoneMulti-source replication infoby using Cassandra
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infoby using Apache Kafka and Apache Zookeeper
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnonono infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnonoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyes infoThe original contents of fields are not stored in the Sphinx index.yesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesno
User concepts infoAccess controlRole-based access controlnonoyes infoat REST API level; other APIs in progress
More information provided by the system vendor
CockroachDBSphinxTerarkDBTypeDB 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
CockroachDBSphinxTerarkDBTypeDB infoformerly named Grakn
DB-Engines blog posts

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

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

Switching From Sphinx to MkDocs Documentation — What Did I Gain and Lose
2 February 2024, Towards Data Science

5 Powerful Alternatives to Elasticsearch
25 April 2024, Insider Monkey

Manticore is a Faster Alternative to Elasticsearch in C++
25 July 2022, hackernoon.com

Royal Mail stamp prices could rise, warns Czech Sphinx
3 June 2024, Proactive Investors UK

Perplexity AI: From Its Use To Operation, Everything You Need To Know About Google's Newest Challenger
11 January 2024, Free Press Journal

provided by Google News

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

provided by Google News

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

Spacecraft Engineering Models: How to Migrate UML to TypeQL
8 September 2021, hackernoon.com

Speedb Goes Open Source With Its Speedb Data Engine, A Drop-in Replacement for RocksDB
9 November 2022, Business Wire

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

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

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

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