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. Realm vs. Sphinx vs. SQL.JS

System Properties Comparison CockroachDB vs. Realm vs. Sphinx vs. SQL.JS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonRealm  Xexclude from comparisonSphinx  Xexclude from comparisonSQL.JS  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 DBMS built for use on mobile devices that’s a fast, easy to use alternative to SQLite and Core DataOpen source search engine for searching in data from different sources, e.g. relational databasesPort of SQLite to JavaScript
Primary database modelRelational DBMSDocument storeSearch engineRelational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score7.60
Rank#52  Overall
#9  Document stores
Score5.98
Rank#56  Overall
#5  Search engines
Score0.53
Rank#252  Overall
#116  Relational DBMS
Websitewww.cockroachlabs.comrealm.iosphinxsearch.comsql.js.org
Technical documentationwww.cockroachlabs.com/­docsrealm.io/­docssphinxsearch.com/­docssql.js.org/­documentation/­index.html
DeveloperCockroach LabsRealm, acquired by MongoDB in May 2019Sphinx Technologies Inc.Alon Zakai infoenhancements implemented by others
Initial release2015201420012012
Current release23.1.1, May 20233.5.1, February 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen SourceOpen Source infoGPL version 2, commercial licence availableOpen Source
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++JavaScript
Server operating systemsLinux
macOS
Windows
Android
Backend: server-less
iOS
Windows
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
server-less, requires a JavaScript environment (browser, Node.js)
Data schemedynamic schemayesyesyes
Typing infopredefined data types such as float or dateyesyesnoyes
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 infofull-text index on all search fields
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoSQL-like query language (SphinxQL)yes infoSQL-92 is not fully supported
APIs and other access methodsJDBCProprietary protocolJavaScript API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Java infowith Android only
Objective-C
React Native
Swift
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
JavaScript
Server-side scripts infoStored proceduresnono inforuns within the applications so server-side scripts are unnecessarynono
Triggersnoyes infoChange Listenersnono
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 RAFTnoneSharding infoPartitioning is done manually, search queries against distributed index is supportednone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnonenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistencynone
Foreign keys infoReferential integrityyesnonoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyesyes infoThe original contents of fields are not stored in the Sphinx index.no infoexcept by serializing a db to a file
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoIn-Memory realmyes
User concepts infoAccess controlRole-based access controlyesnono

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
CockroachDBRealmSphinxSQL.JS
DB-Engines blog posts

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

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

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

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

provided by Google News

GDG North Jersey's February Meeting Covers Realm, A New Mobile Database
6 March 2016, njtechweekly.com

MongoDB aims to unify developer experience with launch of MongoDB Cloud
9 June 2020, diginomica

Danish CEO explains Silicon Valley learning curve for European entrepreneurs - San Francisco Business Times
6 October 2016, The Business Journals

Here are the winners of Nordic Startup Awards
31 May 2016, EU-Startups

Is Swift the Future of Server-side Development?
12 September 2017, Solutions Review

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

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

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

How to Build 600+ Links in One Month
4 September 2020, Search Engine Journal

provided by Google News

9 Best JavaScript and TypeScript ORMs for 2024 — SitePoint
22 March 2023, SitePoint

Execute millions of SQL statements in milliseconds in the browser with WebAssembly and Web Workers.
14 January 2017, hackernoon.com

SQLite On The Web: Absurd-sql
24 August 2021, Hackaday

In Praise Of SQLite
28 July 2022, iProgrammer

Running PostgreSQL Inside Your Browser
8 September 2022, iProgrammer

provided by Google News



Share this page

Featured Products

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.

AllegroGraph logo

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

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

Present your product here