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 > Couchbase vs. Google Cloud Firestore vs. H2 vs. LokiJS vs. TiDB

System Properties Comparison Couchbase vs. Google Cloud Firestore vs. H2 vs. LokiJS vs. TiDB

Editorial information provided by DB-Engines
NameCouchbase infoOriginally called Membase  Xexclude from comparisonGoogle Cloud Firestore  Xexclude from comparisonH2  Xexclude from comparisonLokiJS  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionA distributed document store with integrated cache, a powerful search engine, in-built operational and analytical capabilities, and an embedded mobile databaseCloud Firestore is an auto-scaling document database for storing, syncing, and querying data for mobile and web apps. It offers seamless integration with other Firebase and Google Cloud Platform products.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory JavaScript DBMSTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelDocument storeDocument storeRelational DBMSDocument storeRelational DBMS
Secondary database modelsKey-value store infooriginating from the former Membase product and supporting the Memcached protocol
Spatial DBMS infousing the Geocouch extension
Search engine
Time Series DBMS
Vector DBMS
Spatial DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score16.59
Rank#36  Overall
#5  Document stores
Score7.36
Rank#53  Overall
#9  Document stores
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score0.49
Rank#260  Overall
#42  Document stores
Score4.25
Rank#74  Overall
#40  Relational DBMS
Websitewww.couchbase.comfirebase.google.com/­products/­firestorewww.h2database.comgithub.com/­techfort/­LokiJSpingcap.com
Technical documentationdocs.couchbase.comfirebase.google.com/­docs/­firestorewww.h2database.com/­html/­main.htmltechfort.github.io/­LokiJSdocs.pingcap.com/­tidb/­stable
DeveloperCouchbase, Inc.GoogleThomas MuellerPingCAP, Inc.
Initial release20112017200520142016
Current releaseServer: 7.2, June 2023; Mobile: 3.1, March 2022; Couchbase Capella (DBaaS), June 20232.2.220, July 20238.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoBusiness Source License (BSL 1.1); Commercial licenses also availablecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open SourceOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenoyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC, C++, Go and ErlangJavaJavaScriptGo, Rust
Server operating systemsLinux
OS X
Windows
hostedAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)Linux
Data schemeschema-freeschema-freeyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesnoyes
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 indexesyesyesyesyes infovia viewsyes
SQL infoSupport of SQLSQL++, extends ANSI SQL to JSON for operational, transactional, and analytic use casesnoyesnoyes
APIs and other access methodsCLI Client
HTTP REST
Kafka Connector
Native language bindings for CRUD, Query, Search and Analytics APIs
Spark Connector
Spring Data
Android
gRPC (using protocol buffers) API
iOS
JavaScript API
RESTful HTTP API
JDBC
ODBC
JavaScript APIGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languages.Net
C
Go
Java
JavaScript infoNode.js
Kotlin
PHP
Python
Ruby
Scala
Go
Java
JavaScript
JavaScript (Node.js)
Objective-C
Python
JavaJavaScriptAda
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 proceduresFunctions and timers in JavaScript and UDFs in Java, Python, SQL++yes, Firebase Rules & Cloud FunctionsJava Stored Procedures and User-Defined FunctionsView functions in JavaScriptno
Triggersyes infovia the TAP protocolyes, with Cloud Functionsyesyesno
Partitioning methods infoMethods for storing different data on different nodesAutomatic ShardingShardingnonenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication infoincluding cross data center replication
Source-replica replication
Multi-source replicationWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesUsing Cloud Dataflownoyesyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infoselectable on a per-operation basis
Immediate ConsistencyImmediate ConsistencynoneImmediate Consistency
Foreign keys infoReferential integritynonoyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyesACIDno infoatomic operations within a single collection possibleACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyesyesyes 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.yes infoEphemeral bucketsyesyesno
User concepts infoAccess controlUser and Administrator separation with password-based and LDAP integrated Authentication. Role-base access control.Access rights for users, groups and roles based on Google Cloud Identity and Access Management. Security Rules for 3rd party authentication using Firebase Auth.fine grained access rights according to SQL-standardnoFine grained access rights according to SQL-standard
More information provided by the system vendor
Couchbase infoOriginally called MembaseGoogle Cloud FirestoreH2LokiJSTiDB
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» 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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
Couchbase infoOriginally called MembaseGoogle Cloud FirestoreH2LokiJSTiDB
DB-Engines blog posts

Couchbase climbs up the DB-Engines Ranking, increasing its popularity by 10% every month
2 June 2014, Matthias Gelbmann

show all

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

Couchbase (BASE) To Report Earnings Tomorrow: Here Is What To Expect
4 June 2024, Yahoo Canada Finance

Oversold Conditions For Couchbase (BASE)
3 June 2024, Nasdaq

Couchbase Announces New Employee Inducement Grants | | news-journal.com
31 May 2024, Longview News-Journal

Here's Why We're Not At All Concerned With Couchbase's (NASDAQ:BASE) Cash Burn Situation
30 May 2024, Simply Wall St

Couchbase Announces New Features to Accelerate AI-Powered Adaptive Applications for Customers
29 February 2024, PR Newswire

provided by Google News

Google's AI-First Strategy Brings Vector Support To Cloud Databases
1 March 2024, Forbes

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

Google launches Cloud Firestore, a new document database for app developers
3 October 2017, TechCrunch

Google's Cloud-Native NoSQL Database Cloud Firestore Is Now Generally Available
8 February 2019, InfoQ.com

Firestore and Python | NoSQL on Google Cloud
7 August 2020, Towards Data Science

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

PingCAP Named Customers' Choice in 2024 Gartner Peer Insights for Cloud Database Management Systems
3 June 2024, Datanami

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

provided by Google News



Share this page

Featured Products

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

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

Present your product here