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

DBMS > H2 vs. SQLite vs. TiDB

System Properties Comparison H2 vs. SQLite vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonSQLite  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.Widely used embeddable, in-process RDBMSTiDB 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 DBMSRelational DBMS
Secondary database modelsSpatial DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score7.26
Rank#45  Overall
#28  Relational DBMS
Score117.77
Rank#10  Overall
#7  Relational DBMS
Score3.58
Rank#73  Overall
#38  Relational DBMS
Websitewww.h2database.comwww.sqlite.orgpingcap.com
Technical documentationwww.h2database.com/­html/­main.htmlwww.sqlite.org/­docs.htmldocs.pingcap.com/­tidb/­stable
DeveloperThomas MuellerDwayne Richard HippPingCAP, Inc.
Initial release200520002016
Current release2.2.220, July 20233.46.1  (13 August 2024), August 20248.2.0, July 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoPublic DomainOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaCGo, Rust
Server operating systemsAll OS with a Java VMserver-lessLinux
Data schemeyesyes infodynamic column typesyes
Typing infopredefined data types such as float or dateyesyes infonot rigid because of 'dynamic typing' concept.yes
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 indexesyesyesyes
SQL infoSupport of SQLyesyes infoSQL-92 is not fully supportedyes
APIs and other access methodsJDBC
ODBC
ADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesJavaActionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
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 Functionsnono
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonenonehorizontal 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 databasenoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yes infovia file-system locksyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesno
User concepts infoAccess controlfine grained access rights according to SQL-standardnoFine grained access rights according to SQL-standard

More information provided by the system vendor

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

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

Recent citations in the news

Zero-latency SQLite storage in every Durable Object
26 September 2024, The Cloudflare Blog

Bcachefs, Btrfs, EXT4, F2FS & XFS File-System Performance On Linux 6.15
10 May 2025, Phoronix

SQLite re-implemented in Rust to achieve asynchronous I/O and other changes
12 December 2024, devclass

How to install SQLite on Windows
20 October 2024, theserverside.com

Google’s AI Tool Big Sleep Finds Zero-Day Vulnerability in SQLite Database Engine
4 November 2024, The Hacker News

provided by Google News

PingCAP Unveils Major TiDB Enhancements to Power Global Scale and AI-Driven Applications
22 April 2025, GlobeNewswire

Build a data lakehouse in a hybrid Environment using Amazon EMR Serverless, Apache DolphinScheduler, and TiDB
20 March 2025, Amazon Web Services (AWS)

How TiDB User Day India 2025 Sparked Conversations on the Future of Databases
5 May 2025, CXOToday.com

How TiDB is solving enterprise data challenges with scalability and speed
21 March 2025, YourStory.com

“TiDB supports scaling to millions of queries per second”
2 April 2025, Open Source For You

provided by Google News



Share this page

Featured Products

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

SingleStore logo

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

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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