DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Firebase Realtime Database vs. Microsoft SQL Server vs. SurrealDB vs. TiDB

System Properties Comparison Firebase Realtime Database vs. Microsoft SQL Server 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 comparisonMicrosoft SQL Server  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.Microsofts flagship relational DBMSA 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 storeRelational DBMSDocument store
Graph DBMS
Relational DBMS
Secondary database modelsDocument store
Graph DBMS
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score13.60
Rank#39  Overall
#6  Document stores
Score807.76
Rank#3  Overall
#3  Relational 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-databasewww.microsoft.com/­en-us/­sql-serversurrealdb.compingcap.com
Technical documentationfirebase.google.com/­docs/­databaselearn.microsoft.com/­en-US/­sql/­sql-serversurrealdb.com/­docsdocs.pingcap.com/­tidb/­stable
DeveloperGoogle infoacquired by Google 2014MicrosoftSurrealDB LtdPingCAP, Inc.
Initial release2012198920222016
Current releaseSQL Server 2022, November 2022v1.5.0, May 20248.2.0, July 2024
License infoCommercial or Open Sourcecommercialcommercial inforestricted free version is 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.
SQLServer Flex @ STACKIT offers a managed version of SQL Server with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC++RustGo, Rust
Server operating systemshostedLinux
Windows
Linux
macOS
Windows
Linux
Data schemeschema-freeyesschema-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.noyesno
Secondary indexesyesyesyes
SQL infoSupport of SQLnoyesSQL-like query languageyes
APIs and other access methodsAndroid
iOS
JavaScript API
RESTful HTTP API
ADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
GraphQL
RESTful HTTP API
WebSocket
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesJava
JavaScript
Objective-C
C#
C++
Delphi
Go
Java
JavaScript (Node.js)
PHP
Python
R
Ruby
Visual Basic
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'Transact SQL, .NET languages, R, Python and (with SQL Server 2019) Javano
TriggersCallbacks are triggered when data changesyesno
Partitioning methods infoMethods for storing different data on different nodestables can be distributed across several files (horizontal partitioning); sharding through federationhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyes, but depending on the SQL-Server EditionUsing 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
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyes 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.yesno
User concepts infoAccess controlyes, based on authentication and database rulesfine grained access rights according to SQL-standardyes, based on authentication and database rulesFine grained access rights according to SQL-standard
More information provided by the system vendor
Firebase Realtime DatabaseMicrosoft SQL ServerSurrealDBTiDB
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 partiesNavicat Monitor is a safe, simple and agentless remote server monitoring tool for SQL Server and many other database management systems.
» more

Navicat for SQL Server gives you a fully graphical approach to database management and development.
» more

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

More resources
Firebase Realtime DatabaseMicrosoft SQL ServerSurrealDBTiDB
DB-Engines blog posts

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

show all

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

Conferences, events and webinars

PASS Data Community Summit
Seattle, Washington, 4-8 November 2024

Recent citations in the news

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

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

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

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

Migrate SQL Server databases to Babelfish for Aurora PostgreSQL using change tracking with a linked server
24 September 2024, AWS Blog

Getting started with delivering generative AI capabilities in SQL Server and Azure SQL
26 June 2024, microsoft.com

Contractor Software Targeted via Microsoft SQL Server Loophole
18 September 2024, Dark Reading

SQL Server vNext: When and What Is Coming
15 May 2024, redmondmag.com

Mastering the SQL Server command-line interface
30 May 2024, SitePoint

provided by Google News

SurrealDB Delivers Future-Ready Database Technology for Developers and Enterprises with Release of SurrealDB 2.0
17 September 2024, Business Wire

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 $20M To Disrupt Big Data Industry
20 June 2024, Datanami

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

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

SingleStore logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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

Neo4j logo

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

Present your product here