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

DBMS > Apache Derby vs. MySQL vs. TiDB

System Properties Comparison Apache Derby vs. MySQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Derby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonMySQL  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 open source 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 DBMS infoKey/Value like access via memcached APIRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.04
Rank#85  Overall
#46  Relational DBMS
Score964.98
Rank#2  Overall
#2  Relational DBMS
Score3.58
Rank#73  Overall
#38  Relational DBMS
Websitedb.apache.org/­derbywww.mysql.compingcap.com
Technical documentationdb.apache.org/­derby/­manuals/­index.htmldev.mysql.com/­docdocs.pingcap.com/­tidb/­stable
DeveloperApache Software FoundationOracle infosince 2010, originally MySQL AB, then SunPingCAP, Inc.
Initial release199719952016
Current release10.17.1.0, November 20239.0.0, July 20248.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen 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 languageJavaC and C++Go, Rust
Server operating systemsAll OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
Linux
Data schemeyesyesyes
Typing infopredefined data types such as float or dateyesyesyes
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.yesyesno
Secondary indexesyesyesyes
SQL infoSupport of SQLyesyes infowith proprietary extensionsyes
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
Proprietary native API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesJavaAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
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 Proceduresyes infoproprietary syntaxno
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabrichorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replicationMulti-source replication
Source-replica replication
Using 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 ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyes infonot for MyISAM storage engineyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infonot for MyISAM storage engineACID
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes
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-standardUsers with fine-grained authorization concept infono user groups or rolesFine 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
Apache Derby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBMySQLTiDB
DB-Engines blog posts

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

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

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

show all

Recent citations in the news

Apache Derby Vulnerability Let Attackers Bypass Authentication with LDAP Injection
3 March 2025, CybersecurityNews

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, theserverside.com

Using Java DB in Desktop Applications
15 October 2019, Oracle

IBM Acquires Stepzen to Scale AI, Cloud Ambitions
9 February 2023, CX Today

The Apache® Software Foundation Announces 18 Years of Open Source Leadership
28 March 2017, GlobeNewswire

provided by Google News

MySQL at 30: Still important but no longer king
12 May 2025, InfoWorld

Continuent Releases Tungsten Dashboard v8, an Upgrade to Its Web-Based Interface for Managing and Monitoring MySQL Clusters
13 May 2025, PR Newswire

MySQL Explained: Your Guide to Mastering This Powerful Database
29 August 2024, Oracle

30 years of MySQL, the database that changed the world
6 May 2025, theregister.com

LockBit ransomware gang hacked, victim negotiations exposed
8 May 2025, BleepingComputer

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 is solving enterprise data challenges with scalability and speed
21 March 2025, YourStory.com

How TiDB User Day India 2025 Sparked Conversations on the Future of Databases
5 May 2025, CXOToday.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

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

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.

RaimaDB logo

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

Present your product here