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. Heroic vs. LokiJS vs. YugabyteDB

System Properties Comparison CockroachDB vs. Heroic vs. LokiJS vs. YugabyteDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonHeroic  Xexclude from comparisonLokiJS  Xexclude from comparisonYugabyteDB  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.Time Series DBMS built at Spotify based on Cassandra or Google Cloud Bigtable, and ElasticSearchIn-memory JavaScript DBMSHigh-performance distributed SQL database for global, internet-scale applications. Wire and feature compatible with PostgreSQL.
Primary database modelRelational DBMSTime Series DBMSDocument storeRelational DBMS
Secondary database modelsDocument store
Wide column store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.10
Rank#58  Overall
#33  Relational DBMS
Score0.57
Rank#250  Overall
#21  Time Series DBMS
Score0.48
Rank#262  Overall
#42  Document stores
Score3.11
Rank#99  Overall
#51  Relational DBMS
Websitewww.cockroachlabs.comgithub.com/­spotify/­heroicgithub.com/­techfort/­LokiJSwww.yugabyte.com
Technical documentationwww.cockroachlabs.com/­docsspotify.github.io/­heroictechfort.github.io/­LokiJSdocs.yugabyte.com
github.com/­yugabyte/­yugabyte-db
DeveloperCockroach LabsSpotifyYugabyte Inc.
Initial release2015201420142017
Current release23.1.1, May 20232.19, September 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open SourceOpen Source infoApache 2.0
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.
YugabyteDB Managed is the fully managed database-as-a-service offering of YugabyteDB. Get started quickly, and effortlessly ensure continuous availability and limitless scale of your cloud native applications.
Implementation languageGoJavaJavaScriptC and C++
Server operating systemsLinux
macOS
Windows
server-less, requires a JavaScript environment (browser, Node.js)Linux
OS X
Data schemedynamic schemaschema-freeschema-freedepending on used data model
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.nononono
Secondary indexesyesyes infovia Elasticsearchyes infovia viewsyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonoyes, PostgreSQL compatible
APIs and other access methodsJDBCHQL (Heroic Query Language, a JSON-based language)
HTTP API
JavaScript APIJDBC
YCQL, an SQL-based flexible-schema API with its roots in Cassandra Query Language
YSQL - a fully relational SQL API that is wire compatible with the SQL language in PostgreSQL
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
JavaScriptC
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Scala
Server-side scripts infoStored proceduresnonoView functions in JavaScriptyes infosql, plpgsql, C
Triggersnonoyesyes
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 RAFTShardingnoneHash and Range Sharding, row-level geo-partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyesnoneBased on Raft distributed consensus protocol, minimum 3 replicas for continuous availability
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency
noneStrong consistency on writes and tunable consistency on reads
Foreign keys infoReferential integrityyesnonoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnono infoatomic operations within a single collection possibleDistributed ACID with Serializable & Snapshot Isolation. Inspired by Google Spanner architecture.
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes infobased on RocksDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyesno
User concepts infoAccess controlRole-based access controlnoyes
More information provided by the system vendor
CockroachDBHeroicLokiJSYugabyteDB
Specific characteristicsYugabyteDB is an open source distributed SQL database for cloud native transactional...
» more
Competitive advantagesPostgreSQL compatible: Get instantly productive with a PostgreSQL compatible RDBMS....
» more
Typical application scenariosSystems of record and engagement for cloud native applications that require resilience,...
» more
Market metrics2 Million+ lifetime clusters deployed, 6.5K+ GitHub stars, 7K YugabyteDB Community...
» more
Licensing and pricing modelsApache 2.0 license for the database
» 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
CockroachDBHeroicLokiJSYugabyteDB
DB-Engines blog posts

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 Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, Yahoo Finance

provided by Google News

Review: Google Bigtable scales with ease
7 September 2016, InfoWorld

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

Yugabyte Achieves PCI DSS Level 1 Compliance, Validating Secure and Scalable Distributed PostgreSQL for ...
14 March 2024, businesswire.com

Yugabyte Embraces 'No Downtime, No Limits,' as the Theme of the Upcoming Distributed SQL Summit Asia
17 April 2024, Yahoo Finance

Yugabyte announced details and theme for Distributed SQL Summit Asia
18 April 2024, Martechcube

YugabyteDB Becomes First Distributed SQL Database Vendor to Complete CIS Benchmark
1 February 2024, Datanami

The surprising link between Formula One and enterprise PostgreSQL optimisation
28 March 2024, The Stack

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it 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

Present your product here