DB-EnginesInfluxDB download bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Firebase Realtime Database vs. LokiJS vs. TiDB

System Properties Comparison Firebase Realtime Database vs. LokiJS vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonLokiJS  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionCloud-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 DBMSTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelDocument storeDocument storeRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score16.26
Rank#36  Overall
#6  Document stores
Score0.61
Rank#216  Overall
#32  Document stores
Score2.47
Rank#114  Overall
#56  Relational DBMS
Websitefirebase.google.com/­products/­realtime-databasegithub.com/­techfort/­LokiJSpingcap.com
Technical documentationfirebase.google.com/­docs/­databasetechfort.github.io/­LokiJSdocs.pingcap.com/­tidb/­stable
DeveloperGoogle infoacquired by Google 2014PingCAP, Inc.
Initial release201220142016
Current release4.0, July 2020
License infoCommercial or Open SourcecommercialOpen SourceOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaScriptGo, Rust
Server operating systemshostedserver-less, requires a JavaScript environment (browser, Node.js)Linux
Data schemeschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesnoyes
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 indexesyesyes infovia viewsyes
SQL infoSupport of SQLnonoyes
APIs and other access methodsAndroid
iOS
JavaScript API
RESTful HTTP API
JavaScript APIJDBC
ODBC
Proprietary protocol
Supported programming languagesJava
JavaScript
Objective-C
JavaScriptAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored procedureslimited functionality with using 'rules'View functions in JavaScriptno
TriggersCallbacks are triggered when data changesyesno
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
noneImmediate Consistency
Foreign keys infoReferential integritynonono infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesno infoatomic operations within a single collection possibleACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesno
User concepts infoAccess controlyes, based on authentication and database rulesnoUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
Firebase Realtime DatabaseLokiJSTiDB
Specific characteristicsTiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesIn the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosTiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersShopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing modelsOpen Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

TiCDC GA: Offering High-Availability Replication Services for Production Environments
15 October 2020

TiDB X Hacktoberfest 2020 - An Invitation to Open Source
14 October 2020

Lessons from TiDB's No. 1 Bug Hunters Who've Found 400+ Bugs in Popular DBMSs
6 October 2020

chaos-mesh-action: Integrate Chaos Engineering into Your CI
29 September 2020

Chaos Mesh 1.0: Chaos Engineering on Kubernetes Made Easier
25 September 2020

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
Firebase Realtime DatabaseLokiJSTiDB
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

Firebase: Google Cloud’s Evil Twin – Excerpt
7 October 2020, Security Boulevard

Introduction to the Firebase Database
9 March 2020, Database Journal

This Mobile App Developers Bundle is now 91% off - now just $29.99
17 October 2020, Neowin

Bing user data exposed – includes location, search terms, sites visited
22 September 2020, 9to5Mac

Unsecured Microsoft Bing Server Leaked Search Queries, Location Data
21 September 2020, Threatpost

provided by Google News

Fast, Lightweight Data Storage for Cordova Apps with LokiJS
26 January 2016, SitePoint

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

LinkedIn open-sources URL-Detector Java library, LokiJS 1.4, and Bulgaria's new open-source law—SD Times news digest: July 5, 2016
5 July 2016, SDTimes.com

NativeScript 6 Goes Webpack All The Way
22 July 2019, iProgrammer

AspectJS 2.0 Released
1 May 2015, iProgrammer

provided by Google News

Chaos Engineering on Kubernetes : Chaos Mesh Generally Available with v1.0
18 October 2020, InfoQ.com

PingCAP Announces TiDB Cloud, Bringing Fully-Managed TiDB Service to AWS and GCP
23 June 2020, PRNewswire

PingCAP launches TiDB Cloud, a fully-managed database as a service offering
25 June 2020, Help Net Security

TiDB developer PingCAP wants to expand in North America after raising $50M Series C
11 September 2018, TechCrunch

How TiDB combines OLTP and OLAP in a distributed database
17 October 2018, InfoWorld

provided by Google News

Job opportunities

Software Developer
Athlete Analytics, Atlanta, GA

Backend Engineer, Database Operations
Seam Social Labs, New York, NY

Account Manager
empirical path, Atlanta, GA

Senior Mobile Analytics Consultant
empirical path, Atlanta, GA

Technical Support Specialist
CaptiveAire, Raleigh, NC

SSBN/SSGN Missile Technician
BAE Systems, Washington, DC

Senior Software Engineer (Developer Velocity), Cash App
Cash App, New York, NY

jobs by Indeed




Share this page

Featured Products

Datastax Astra logo

Cassandra made easy in the cloud. Build cloud-native applications faster with CQL, REST and GraphQL APIs.
Try for Free.

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Vertica logo

The fastest unified analytical warehouse at extreme scale with in-database Machine Learning. Try Vertica for free with no time limit.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Present your product here