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

DBMS > H2 vs. Microsoft SQL Server vs. Realm vs. TiDB

System Properties Comparison H2 vs. Microsoft SQL Server vs. Realm vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonMicrosoft SQL Server  Xexclude from comparisonRealm  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Microsofts flagship relational DBMSA DBMS built for use on mobile devices that’s a fast, easy to use alternative to SQLite and Core DataTiDB 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 modelRelational DBMSRelational DBMSDocument storeRelational DBMS
Secondary database modelsSpatial DBMSDocument store
Graph DBMS
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.57
Rank#47  Overall
#30  Relational DBMS
Score807.76
Rank#3  Overall
#3  Relational DBMS
Score7.18
Rank#52  Overall
#8  Document stores
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitewww.h2database.comwww.microsoft.com/­en-us/­sql-serverrealm.iopingcap.com
Technical documentationwww.h2database.com/­html/­main.htmllearn.microsoft.com/­en-US/­sql/­sql-serverrealm.io/­docsdocs.pingcap.com/­tidb/­stable
DeveloperThomas MuellerMicrosoftRealm, acquired by MongoDB in May 2019PingCAP, Inc.
Initial release2005198920142016
Current release2.2.220, July 2023SQL Server 2022, November 20228.2.0, July 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercial inforestricted free version is availableOpen SourceOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenononono
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 languageJavaC++Go, Rust
Server operating systemsAll OS with a Java VMLinux
Windows
Android
Backend: server-less
iOS
Windows
Linux
Data schemeyesyesyesyes
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.noyesnono
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyesyesnoyes
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesJavaC#
C++
Delphi
Go
Java
JavaScript (Node.js)
PHP
Python
R
Ruby
Visual Basic
.Net
Java infowith Android only
Objective-C
React Native
Swift
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 proceduresJava Stored Procedures and User-Defined FunctionsTransact SQL, .NET languages, R, Python and (with SQL Server 2019) Javano inforuns within the applications so server-side scripts are unnecessaryno
Triggersyesyesyes infoChange Listenersno
Partitioning methods infoMethods for storing different data on different nodesnonetables can be distributed across several files (horizontal partitioning); sharding through federationnonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes, but depending on the SQL-Server EditionnoneUsing 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 systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes
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.yesyesyes infoIn-Memory realmno
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardyesFine grained access rights according to SQL-standard
More information provided by the system vendor
H2Microsoft SQL ServerRealmTiDB
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 for SQL Server gives you a fully graphical approach to database management and development.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for SQL Server and many other database management systems.
» more

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

More resources
H2Microsoft SQL ServerRealmTiDB
DB-Engines blog posts

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

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

show all

Conferences, events and webinars

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

Recent citations in the news

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

Make SQL Server end of support the start of your AWS cloud journey
12 June 2024, AWS Blog

U.S. CISA adds Microsoft Windows, Apache HugeGraph-Server, Oracle JDeveloper, Oracle WebLogic Server, and M...
19 September 2024, Security Affairs

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

Is Swift the Future of Server-side Development?
12 September 2017, Solutions Review

Java Synthetic Methods — What are these ?
27 February 2021, DataDrivenInvestor

Kotlin Programming Language Will Surpass Java On Android Next Year
15 October 2017, Fossbytes

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.

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.

SingleStore logo

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

Present your product here