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. EJDB vs. Firebase Realtime Database vs. LokiJS

System Properties Comparison AlaSQL vs. CockroachDB vs. EJDB vs. Firebase Realtime Database vs. LokiJS

Editorial information provided by DB-Engines
NameAlaSQL  Xexclude from comparisonCockroachDB  Xexclude from comparisonEJDB  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonLokiJS  Xexclude from comparison
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.Embeddable document-store database library with JSON representation of queries (in MongoDB style)Cloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.In-memory JavaScript DBMS
Primary database modelDocument store
Relational DBMS
Relational DBMSDocument storeDocument storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.49
Rank#259  Overall
#40  Document stores
#120  Relational DBMS
Score6.10
Rank#58  Overall
#33  Relational DBMS
Score0.30
Rank#294  Overall
#44  Document stores
Score15.00
Rank#39  Overall
#6  Document stores
Score0.48
Rank#262  Overall
#42  Document stores
Websitealasql.orgwww.cockroachlabs.comgithub.com/­Softmotions/­ejdbfirebase.google.com/­products/­realtime-databasegithub.com/­techfort/­LokiJS
Technical documentationgithub.com/­AlaSQL/­alasqlwww.cockroachlabs.com/­docsgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mdfirebase.google.com/­docs/­databasetechfort.github.io/­LokiJS
DeveloperAndrey Gershun & Mathias R. WulffCockroach LabsSoftmotionsGoogle infoacquired by Google 2014
Initial release20142015201220122014
Current release23.1.1, May 2023
License infoCommercial or Open SourceOpen Source infoMIT-LicenseOpen Source infoApache 2.0, commercial license availableOpen Source infoGPLv2commercialOpen Source
Cloud-based only infoOnly available as a cloud servicenononoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaScriptGoCJavaScript
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)Linux
macOS
Windows
server-lesshostedserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freedynamic schemaschema-freeschema-freeschema-free
Typing infopredefined data types such as float or datenoyesyes infostring, integer, double, bool, date, object_idyesno
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 indexesnoyesnoyesyes infovia views
SQL infoSupport of SQLClose to SQL99, but no user access control, stored procedures and host language bindings.yes, wire compatible with PostgreSQLnonono
APIs and other access methodsJavaScript APIJDBCin-process shared libraryAndroid
iOS
JavaScript API
RESTful HTTP API
JavaScript API
Supported programming languagesJavaScriptC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Actionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
Java
JavaScript
Objective-C
JavaScript
Server-side scripts infoStored proceduresnononolimited functionality with using 'rules'View functions in JavaScript
TriggersyesnonoCallbacks are triggered when data changesyes
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 RAFTnonenone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication using RAFTnonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
none
Foreign keys infoReferential integrityyesyesno infotypically not needed, however similar functionality with collection joins possiblenono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infoonly for local storage and DOM-storageACIDnoyesno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyes infoRead/Write Lockingyes
Durability infoSupport for making data persistentyes infoby using IndexedDB, SQL.JS or proprietary FileStorageyesyesyesyes 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 controlnoyes, based on authentication and database rulesno

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
AlaSQLCockroachDBEJDBFirebase Realtime DatabaseLokiJS
DB-Engines blog posts

Cloud-based DBMS's popularity grows at high rates
12 December 2019, 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

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

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

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

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

provided by Google News

Realtime vs Cloud Firestore: Which Firebase Database to go?
8 March 2024, Appinventiv

Atos cybersecurity blog: Misconfigured Firebase: A real-time cyber threat
18 January 2024, Atos

Don't be like these 900+ websites and expose millions of passwords via Firebase
18 March 2024, The Register

Google Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

Hundreds of Google Firebase websites might have leaked data online
19 March 2024, TechRadar

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.

AllegroGraph logo

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

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.

Present your product here