DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Firebase Realtime Database vs. Neo4j vs. SurrealDB vs. TiDB

System Properties Comparison Firebase Realtime Database vs. Neo4j vs. SurrealDB vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameFirebase Realtime Database  Xexclude from comparisonNeo4j  Xexclude from comparisonSurrealDB  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.Scalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offeringsA fully ACID transactional, developer-friendly, multi-model 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 storeGraph DBMSDocument store
Graph DBMS
Relational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score13.60
Rank#39  Overall
#6  Document stores
Score42.68
Rank#21  Overall
#1  Graph DBMS
Score1.11
Rank#174  Overall
#30  Document stores
#17  Graph DBMS
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitefirebase.google.com/­products/­realtime-databaseneo4j.comsurrealdb.compingcap.com
Technical documentationfirebase.google.com/­docs/­databaseneo4j.com/­docssurrealdb.com/­docsdocs.pingcap.com/­tidb/­stable
DeveloperGoogle infoacquired by Google 2014Neo4j, Inc.SurrealDB LtdPingCAP, Inc.
Initial release2012200720222016
Current release5.23, August 2024v1.5.0, May 20248.2.0, July 2024
License infoCommercial or Open SourcecommercialOpen Source infoGPL version3, commercial licenses availableOpen SourceOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Neo4j Aura: Neo4j’s fully managed cloud service: The zero-admin, always-on graph database for cloud developers.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJava, ScalaRustGo, Rust
Server operating systemshostedLinux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
Linux
macOS
Windows
Linux
Data schemeschema-freeschema-free and schema-optionalschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesyes
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.nono
Secondary indexesyesyes infopluggable indexing subsystem, by default Apache Luceneyes
SQL infoSupport of SQLnonoSQL-like query languageyes
APIs and other access methodsAndroid
iOS
JavaScript API
RESTful HTTP API
Bolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
GraphQL
RESTful HTTP API
WebSocket
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesJava
JavaScript
Objective-C
.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
Deno
Go
JavaScript (Node.js)
Rust
Ada
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'yes infoUser defined Procedures and Functionsno
TriggersCallbacks are triggered when data changesyes infovia event handlerno
Partitioning methods infoMethods for storing different data on different nodesyes using Neo4j Fabrichorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesCausal Clustering using Raft protocol infoavailable in in Enterprise Version onlyUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes 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
Causal and Eventual Consistency configurable in Causal Cluster setup
Immediate Consistency in stand-alone mode
Immediate Consistency
Foreign keys infoReferential integritynoyes infoRelationships in graphsyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlyes, based on authentication and database rulesUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)yes, based on authentication and database rulesFine grained access rights according to SQL-standard
More information provided by the system vendor
Firebase Realtime DatabaseNeo4jSurrealDBTiDB
Specific characteristicsNeo4j delivers graph technology that has been battle tested for performance and scale...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesNeo4j is the market leader, graph database category creator, and the most widely...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosReal-Time Recommendations Master Data Management Identity and Access Management Network...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersOver 800 commercial customers and over 4300 startups use Neo4j. Flagship customers...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsNeo4j boasts the world's largest graph database ecosystem with more than 140 million...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsGPL v3 license that can be used all the places where you might use MySQL. Neo4j Commercial...
» more
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more
News

The Ethics of Generative AI: Understanding the Principles and Risks
18 September 2024

GraphSummit Europe 2024: Actionable Insights From Industry Leaders and Innovators
18 September 2024

This Week in Neo4j: Knowledge Graph, Data Loading, Olympics, CSV and more
7 September 2024

Neo4j Expands Cloud Database Capabilities to Power Enterprise-Scale Graph Deployments
4 September 2024

This Week in Neo4j: NODES 2024, GraphRAG, Graph Data, Knowledge Graph and more
31 August 2024

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 DatabaseNeo4jSurrealDBTiDB
DB-Engines blog posts

Cloud-based DBMS's popularity grows at high rates
12 December 2019, Paul Andlinger

show all

Applying Graph Analytics to Game of Thrones
12 June 2019, Amy Hodler & Mark Needham, Neo4j (guest author)

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

The openCypher Project: Help Shape the SQL for Graphs
22 December 2015, Emil Eifrem (guest author)

show all

Recent citations in the news

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

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

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

Misconfigured firebase: A real-time cyber threat
18 January 2024, Atos

Google launches Firebase Genkit, a new open source framework for building AI-powered apps
14 May 2024, TechCrunch

provided by Google News

Neo4j lowers barriers to graph technology with gen AI copilot, 15x read capacity
4 September 2024, VentureBeat

Neo4j Announces Collaboration with Snowflake for Advanced AI Insights & Predictive Analytics
4 June 2024, PR Newswire

Neo4j charts upward course for GraphRAG in graph databases
4 September 2024, Techzine Europe

Neo4j Transforms Its Cloud Database Portfolio to Accelerate Graph Adoption & GenAI for the Enterprise
9 September 2024, insideBIGDATA

Neo4j eyes GenAI workloads in APAC
18 July 2024, ComputerWeekly.com

provided by Google News

SurrealDB 2.0 Introduces Advanced Security and Data Management Features
17 September 2024, Datanami

SurrealDB is helping developers consolidate their databases
18 June 2024, TechCrunch

Multi-model database startup SurrealDB raises $20M and announces cloud beta access
18 June 2024, SiliconANGLE News

SurrealDB Raises $20 Million to Disrupt Database Tech; Introduces New Cloud Beta Access
18 June 2024, PR Newswire

London-based SurrealDB secures over €18.6 million aiming to disrupt database technology
18 June 2024, EU-Startups

provided by Google News

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

Unlocking performance, scalability, and cost-efficiency of Zomato’s Billing Platform by switching from TiDB to DynamoDB
22 December 2023, AWS Blog

TiDB Can Do What MongoDB or CockRoachDB Can’t
27 June 2024, AIM

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

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

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

RaimaDB logo

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

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here