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

DBMS > AlaSQL vs. CockroachDB vs. FoundationDB vs. LokiJS

System Properties Comparison AlaSQL vs. CockroachDB vs. FoundationDB vs. LokiJS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameAlaSQL  Xexclude from comparisonCockroachDB  Xexclude from comparisonFoundationDB  Xexclude from comparisonLokiJS  Xexclude from comparison
Created as commercial project in 2013, FoundationDB has been acquired by Apple in March 2015 and was withdrawn from the market. As a consequence, the product was removed from the DB-Engines ranking. In April 2018, Apple open-sourced FoundationDB and it therefore reappears in the ranking.
DescriptionJavaScript DBMS libraryCockroachDB 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.Ordered key-value store. Core features are complimented by layers.In-memory JavaScript DBMS
Primary database modelDocument store
Relational DBMS
Relational DBMSDocument store infosupported via specific layer
Key-value store
Relational DBMS infosupported via specific SQL-layer
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.46
Rank#260  Overall
#40  Document stores
#121  Relational DBMS
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score1.03
Rank#190  Overall
#31  Document stores
#28  Key-value stores
#89  Relational DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Websitealasql.orgwww.cockroachlabs.comgithub.com/­apple/­foundationdbgithub.com/­techfort/­LokiJS
Technical documentationgithub.com/­AlaSQL/­alasqlwww.cockroachlabs.com/­docsapple.github.io/­foundationdbtechfort.github.io/­LokiJS
DeveloperAndrey Gershun & Mathias R. WulffCockroach LabsFoundationDB
Initial release2014201520132014
Current release23.1.1, May 20236.2.28, November 2020
License infoCommercial or Open SourceOpen Source infoMIT-LicenseOpen Source infoApache 2.0, commercial license availableOpen Source infoApache 2.0Open 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 languageJavaScriptGoC++JavaScript
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)Linux
macOS
Windows
Linux
OS X
Windows
server-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freedynamic schemaschema-free infosome layers support schemasschema-free
Typing infopredefined data types such as float or datenoyesno infosome layers support typingno
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 indexesnoyesnoyes infovia views
SQL infoSupport of SQLClose to SQL99, but no user access control, stored procedures and host language bindings.yes, wire compatible with PostgreSQLsupported in specific SQL layer onlyno
APIs and other access methodsJavaScript APIJDBCJavaScript API
Supported programming languagesJavaScriptC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
C++
Go
Java
JavaScript infoNode.js
PHP
Python
Ruby
Swift
JavaScript
Server-side scripts infoStored proceduresnonoin SQL-layer onlyView functions in JavaScript
Triggersyesnonoyes
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal 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 RAFTShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication using RAFTyesnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyLinearizable consistencynone
Foreign keys infoReferential integrityyesyesin SQL-layer onlyno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infoonly for local storage and DOM-storageACIDACIDno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyes infoby using IndexedDB, SQL.JS or proprietary FileStorageyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnoyes
User concepts infoAccess controlnoRole-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
AlaSQLCockroachDBFoundationDBLokiJS
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

Create a Marvel Database with SQL and Javascript, the easy way
2 July 2019, Towards Data Science

Multi faceted data exploration in the browser using Leaflet and amCharts
3 May 2020, Towards Data Science

provided by Google News

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

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

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

provided by Google News

FoundationDB team's new venture, Antithesis, raises $47M to enhance software testing
13 February 2024, SiliconANGLE News

Stonebraker Seeks to Invert the Computing Paradigm with DBOS
12 March 2024, Datanami

Antithesis raises $47M to launch an automated testing platform for software
13 February 2024, TechCrunch

Deno adds scaleable messaging with new Queues feature, sparks debate about proprietary services • DEVCLASS
28 September 2023, DevClass

IBM Cloudant pulls plan to fund new foundational layer for CouchDB
15 March 2022, The Register

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

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.

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

RaimaDB logo

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

Present your product here