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

DBMS > CockroachDB vs. KeyDB vs. LokiJS vs. SingleStore vs. TempoIQ

System Properties Comparison CockroachDB vs. KeyDB vs. LokiJS vs. SingleStore vs. TempoIQ

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonKeyDB  Xexclude from comparisonLokiJS  Xexclude from comparisonSingleStore infoformer name was MemSQL  Xexclude from comparisonTempoIQ infoformerly TempoDB  Xexclude from comparison
TempoIQ seems to be decommissioned. It will be removed from the DB-Engines ranking.
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.An ultra-fast, open source Key-value store fully compatible with Redis API, modules, and protocolsIn-memory JavaScript DBMSMySQL wire-compliant distributed RDBMS that combines an in-memory row-oriented and a disc-based column-oriented storage with patented universal storage to handle transactional and analytical workloads in one single table typeScalable analytics DBMS for sensor data, provided as a service (SaaS)
Primary database modelRelational DBMSKey-value storeDocument storeRelational DBMSTime Series DBMS
Secondary database modelsDocument store
Spatial DBMS
Time Series DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score0.63
Rank#232  Overall
#32  Key-value stores
Score0.44
Rank#256  Overall
#40  Document stores
Score4.02
Rank#74  Overall
#39  Relational DBMS
Websitewww.cockroachlabs.comgithub.com/­Snapchat/­KeyDB
keydb.dev
github.com/­techfort/­LokiJSwww.singlestore.comtempoiq.com (offline)
Technical documentationwww.cockroachlabs.com/­docsdocs.keydb.devtechfort.github.io/­LokiJSdocs.singlestore.com
DeveloperCockroach LabsEQ Alpha Technology Ltd.SingleStore Inc.TempoIQ
Initial release20152019201420132012
Current release24.1.0, May 20248.5, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoBSD-3Open Sourcecommercial infofree developer edition availablecommercial
Cloud-based only infoOnly available as a cloud servicenonononoyes
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC++JavaScriptC++, Go
Server operating systemsLinux
macOS
Windows
Linuxserver-less, requires a JavaScript environment (browser, Node.js)Linux info64 bit version required
Data schemedynamic schemaschema-freeschema-freeyesschema-free
Typing infopredefined data types such as float or dateyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesnoyesyes
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.nonononono
Secondary indexesyesyes infoby using the Redis Search moduleyes infovia viewsyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonoyes infobut no triggers and foreign keysno
APIs and other access methodsJDBCProprietary protocol infoRESP - REdis Serialization ProtocoJavaScript APICluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
MongoDB API
ODBC
HTTP API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
JavaScriptBash
C
C#
Java
JavaScript (Node.js)
Python
C#
Java
JavaScript infoNode.js
Python
Ruby
Server-side scripts infoStored proceduresnoLuaView functions in JavaScriptyesno
Triggersnonoyesnoyes infoRealtime Alerts
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 infohash partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication
Source-replica replication
noneSource-replica replication infostores two copies of each physical data partition on two separate nodes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno infocan define user-defined aggregate functions for map-reduce-style calculationsno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Strong eventual consistency with CRDTs
noneImmediate Consistency
Foreign keys infoReferential integrityyesnononono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDOptimistic locking, atomic execution of commands blocks and scriptsno infoatomic operations within a single collection possibleACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes infoAll updates are persistent, including those to disk-based columnstores and memory-based row stores. Transaction commits are supported via write-ahead log.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesyesno
User concepts infoAccess controlRole-based access controlsimple password-based access control and ACLnoFine grained access control via users, groups and rolessimple authentication-based access control

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
CockroachDBKeyDBLokiJSSingleStore infoformer name was MemSQLTempoIQ infoformerly TempoDB
DB-Engines blog posts

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

show all

Turbocharge Your Application Development Using WebAssembly With SingleStoreDB
17 October 2022,  Akmal Chaudhri, SingleStore (sponsor) 

Cloud-Based Analytics With SingleStoreDB
9 June 2022,  Akmal Chaudhri, SingleStore (sponsor) 

SingleStore: The Increasing Momentum of Multi-Model Database Systems
14 February 2022,  Akmal Chaudhri, SingleStore (sponsor) 

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

Now CockroachDB Ditches Open-Source License
20 August 2024, It's FOSS News

provided by Google News

Snap snaps up database developer KeyDB to make its infrastructure more snappy
12 May 2022, TechCrunch

Introducing Garnet – an open-source, next-generation, faster cache-store for accelerating applications and services
18 March 2024, Microsoft

Microsoft open-sources unique “Garnet” cache-store; a Redis rival?
19 March 2024, The Stack

Dragonfly 0.13 Database Adds Experimental SSD-Based Data Tiering, More SIMD Work
2 January 2023, Phoronix

How to Use an API Key or Access Token to Connect to IBM Db2 on Cloud
14 January 2020, IBM

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

SingleStore Partners With Snowflake to Help Users Build Faster, More Efficient Real Time AI Applications
19 September 2024, Business Wire

Achieve near real-time analytics on Amazon DynamoDB with SingleStore
16 September 2024, AWS Blog

Third time was the charm for SingleStore in the cloud, CEO says
8 July 2024, The Register

SingleStore CEO sees little future for purpose-built vector databases
24 January 2024, VentureBeat

Building a Modern Database: Nikita Shamgunov on Postgres and Beyond
18 April 2024, Madrona Venture Group

provided by Google News



Share this page

Featured Products

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.

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.

Present your product here