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

DBMS > AlaSQL vs. EJDB vs. Firebase Realtime Database vs. Google Cloud Spanner vs. LokiJS

System Properties Comparison AlaSQL vs. EJDB vs. Firebase Realtime Database vs. Google Cloud Spanner vs. LokiJS

Editorial information provided by DB-Engines
NameAlaSQL  Xexclude from comparisonEJDB  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionJavaScript DBMS libraryEmbeddable 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.A horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.In-memory JavaScript DBMS
Primary database modelDocument store
Relational DBMS
Document storeDocument storeRelational DBMSDocument 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
Score0.27
Rank#297  Overall
#44  Document stores
Score14.29
Rank#39  Overall
#6  Document stores
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Websitealasql.orggithub.com/­Softmotions/­ejdbfirebase.google.com/­products/­realtime-databasecloud.google.com/­spannergithub.com/­techfort/­LokiJS
Technical documentationgithub.com/­AlaSQL/­alasqlgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mdfirebase.google.com/­docs/­databasecloud.google.com/­spanner/­docstechfort.github.io/­LokiJS
DeveloperAndrey Gershun & Mathias R. WulffSoftmotionsGoogle infoacquired by Google 2014Google
Initial release20142012201220172014
License infoCommercial or Open SourceOpen Source infoMIT-LicenseOpen Source infoGPLv2commercialcommercialOpen Source
Cloud-based only infoOnly available as a cloud servicenonoyesyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaScriptCJavaScript
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)server-lesshostedhostedserver-less, requires a JavaScript environment (browser, Node.js)
Data schemeschema-freeschema-freeschema-freeyesschema-free
Typing infopredefined data types such as float or datenoyes infostring, integer, double, bool, date, object_idyesyesno
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 indexesnonoyesyesyes infovia views
SQL infoSupport of SQLClose to SQL99, but no user access control, stored procedures and host language bindings.nonoyes infoQuery statements complying to ANSI 2011no
APIs and other access methodsJavaScript APIin-process shared libraryAndroid
iOS
JavaScript API
RESTful HTTP API
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
JavaScript API
Supported programming languagesJavaScriptActionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
Java
JavaScript
Objective-C
Go
Java
JavaScript (Node.js)
Python
JavaScript
Server-side scripts infoStored proceduresnonolimited functionality with using 'rules'noView functions in JavaScript
TriggersyesnoCallbacks are triggered when data changesnoyes
Partitioning methods infoMethods for storing different data on different nodesnonenoneShardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesnonenoneMulti-source replication with 3 replicas for regional instances.none
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infousing Google Cloud Dataflowyes
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Immediate Consistencynone
Foreign keys infoReferential integrityyesno infotypically not needed, however similar functionality with collection joins possiblenoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayes infoonly for local storage and DOM-storagenoyesACID infoStrict serializable isolationno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayes infoRead/Write Lockingyesyes
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 controlnonoyes, based on authentication and database rulesAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)no

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
AlaSQLEJDBFirebase Realtime DatabaseGoogle Cloud SpannerLokiJS
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

HarperDB - How and Why We Built It From The Ground Up on NodeJS
28 February 2021, hackernoon.com

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

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
8 May 2024, MSN

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

Misconfigured Firebase instances leaked 19 million plaintext passwords
19 March 2024, BleepingComputer

provided by Google News

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

Google Cloud Spanner Is Now Half the Cost of Amazon DynamoDB
13 October 2023, Datanami

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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

AllegroGraph logo

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

RaimaDB logo

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

Present your product here