DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > CockroachDB vs. Elasticsearch vs. mSQL vs. Sphinx

System Properties Comparison CockroachDB vs. Elasticsearch vs. mSQL vs. Sphinx

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonElasticsearch  Xexclude from comparisonmSQL infoMini SQL  Xexclude from comparisonSphinx  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.A distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricmSQL (Mini SQL) is a simple and lightweight RDBMSOpen source search engine for searching in data from different sources, e.g. relational databases
Primary database modelRelational DBMSSearch engineRelational DBMSSearch engine
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score128.79
Rank#8  Overall
#1  Search engines
Score1.26
Rank#163  Overall
#74  Relational DBMS
Score5.97
Rank#56  Overall
#5  Search engines
Websitewww.cockroachlabs.comwww.elastic.co/­elasticsearchhughestech.com.au/­products/­msqlsphinxsearch.com
Technical documentationwww.cockroachlabs.com/­docswww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlsphinxsearch.com/­docs
DeveloperCockroach LabsElasticHughes TechnologiesSphinx Technologies Inc.
Initial release2015201019942001
Current release24.1.0, May 20248.6, January 20234.4, October 20213.5.1, February 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoElastic Licensecommercial infofree licenses can be providedOpen Source infoGPL version 2, commercial licence 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 languageGoJavaCC++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMAIX
HP-UX
Linux
OS X
Solaris SPARC/x86
Windows
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Data schemedynamic schemaschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesyes
Typing infopredefined data types such as float or dateyesyesyesno
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 infoAll search fields are automatically indexedyesyes infofull-text index on all search fields
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query languageA subset of ANSI SQL is implemented infono subqueries, aggregate functions, views, foreign keys, triggersSQL-like query language (SphinxQL)
APIs and other access methodsJDBCJava API
RESTful HTTP/JSON API
JDBC
ODBC
Proprietary protocol
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
C
C++
Delphi
Java
Perl
PHP
Tcl
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
Server-side scripts infoStored proceduresnoyesnono
Triggersnoyes infoby using the 'percolation' featurenono
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 RAFTShardingnoneSharding infoPartitioning is done manually, search queries against distributed index is supported
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyesnonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoES-Hadoop Connectornono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allnone
Foreign keys infoReferential integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnonono
Concurrency infoSupport for concurrent manipulation of datayesyesnoyes
Durability infoSupport for making data persistentyesyesyesyes infoThe original contents of fields are not stored in the Sphinx index.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noMemcached and Redis integrationno
User concepts infoAccess controlRole-based access controlnono

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
CockroachDBElasticsearchmSQL infoMini SQLSphinx
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

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

show all

Recent citations in the news

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

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

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

provided by Google News

Elasticsearch will be open source again as CTO declares changed landscape
2 September 2024, DevClass

Unsecured Elasticsearch cluster exposes over 3M vehicle records
18 September 2024, SC Media

The Elasticsearch cloud now subject to open-source licence
3 September 2024, TechHQ

Elasticsearch Open Inference API Extends Support for Hugging Face Models with Semantic Text
12 September 2024, Yahoo Finance

Elastic Announces Open Source License for Elasticsearch and Kibana Source Code
29 August 2024, Business Wire

provided by Google News

A Brief History of PHP - Programming PHP, 3rd Edition [Book]
22 September 2018, O'Reilly Media

provided by Google News

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

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

Beyond the Concert Hall: 5 Organizations Making a Difference in Classical Music in 2018
22 December 2018, WQXR Radio

The Pirate Bay was recently down for over a week due to a DDoS attack
29 October 2019, The Hacker News

Leading Local Search Engine (Just) Dials Open Source for a Growth Call!
1 September 2010, Open Source For You

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

RaimaDB logo

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

Neo4j logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here