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

DBMS > Apache Derby vs. TiDB

System Properties Comparison Apache Derby vs. TiDB

Please select another system to include it in the comparison.

Our visitors often compare Apache Derby and TiDB with PostgreSQL, SQLite and MySQL.

Editorial information provided by DB-Engines
NameApache Derby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  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.TiDB 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
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.04
Rank#85  Overall
#46  Relational DBMS
Score3.58
Rank#73  Overall
#38  Relational DBMS
Websitedb.apache.org/­derbypingcap.com
Technical documentationdb.apache.org/­derby/­manuals/­index.htmldocs.pingcap.com/­tidb/­stable
DeveloperApache Software FoundationPingCAP, Inc.
Initial release19972016
Current release10.17.1.0, November 20238.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaGo, Rust
Server operating systemsAll OS with a Java VMLinux
Data schemeyesyes
Typing infopredefined data types such as float or dateyesyes
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.yesno
Secondary indexesyesyes
SQL infoSupport of SQLyesyes
APIs and other access methodsJDBCGORM
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
Server-side scripts infoStored proceduresJava Stored Proceduresno
Triggersyesno
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replicationUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesno
User concepts infoAccess controlfine grained access rights according to SQL-standardFine 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 JavaDBTiDB
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

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

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

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

“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

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

Neo4j logo

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

RaimaDB logo

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

SingleStore logo

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

Present your product here