DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Apache Druid vs. Ehcache vs. KeyDB vs. SingleStore vs. TiDB

System Properties Comparison Apache Druid vs. Ehcache vs. KeyDB vs. SingleStore vs. TiDB

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonEhcache  Xexclude from comparisonKeyDB  Xexclude from comparisonSingleStore infoformer name was MemSQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataA widely adopted Java cache with tiered storage optionsAn ultra-fast, open source Key-value store fully compatible with Redis API, modules, and protocolsMySQL wire-compliant distributed RDBMS that combines an in-memory row-oriented and a disc-based column-oriented storage with patented universal storage to handle transactional and analytical workloads in one single table typeTiDB 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 DBMS
Time Series DBMS
Key-value storeKey-value storeRelational DBMSRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Time Series DBMS
Vector DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.25
Rank#90  Overall
#47  Relational DBMS
#7  Time Series DBMS
Score4.64
Rank#68  Overall
#8  Key-value stores
Score0.70
Rank#229  Overall
#32  Key-value stores
Score5.38
Rank#62  Overall
#35  Relational DBMS
Score4.25
Rank#74  Overall
#40  Relational DBMS
Websitedruid.apache.orgwww.ehcache.orggithub.com/­Snapchat/­KeyDB
keydb.dev
www.singlestore.compingcap.com
Technical documentationdruid.apache.org/­docs/­latest/­designwww.ehcache.org/­documentationdocs.keydb.devdocs.singlestore.comdocs.pingcap.com/­tidb/­stable
DeveloperApache Software Foundation and contributorsTerracotta Inc, owned by Software AGEQ Alpha Technology Ltd.SingleStore Inc.PingCAP, Inc.
Initial release20122009201920132016
Current release29.0.1, April 20243.10.0, March 20228.5, January 20248.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache license v2Open Source infoApache Version 2; commercial licenses availableOpen Source infoBSD-3commercial infofree developer edition availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
SingleStoreDB Cloud: The world's fastest, modern cloud database for both operational (OLTP) and analytical (OLAP) workloads. Available instantly with multi-cloud and hybrid-cloud capabilitiesTiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaJavaC++C++, GoGo, Rust
Server operating systemsLinux
OS X
Unix
All OS with a Java VMLinuxLinux info64 bit version requiredLinux
Data schemeyes infoschema-less columns are supportedschema-freeschema-freeyesyes
Typing infopredefined data types such as float or dateyesyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesyesyes
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.nonononono
Secondary indexesyesnoyes infoby using the Redis Search moduleyesyes
SQL infoSupport of SQLSQL for queryingnonoyes infobut no triggers and foreign keysyes
APIs and other access methodsJDBC
RESTful HTTP/JSON API
JCacheProprietary protocol infoRESP - REdis Serialization ProtocoCluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
MongoDB API
ODBC
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
JavaC
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
Bash
C
C#
Java
JavaScript (Node.js)
Python
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 proceduresnonoLuayesno
Triggersnoyes infoCache Event Listenersnonono
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedSharding infoby using Terracotta ServerShardingSharding infohash partitioninghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesyes infoby using Terracotta ServerMulti-source replication
Source-replica replication
Source-replica replication infostores two copies of each physical data partition on two separate nodesUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono infocan define user-defined aggregate functions for map-reduce-style calculationsyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyTunable Consistency (Strong, Eventual, Weak)Eventual Consistency
Strong eventual consistency with CRDTs
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynonononoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoyes infosupports JTA and can work as an XA resourceOptimistic locking, atomic execution of commands blocks and scriptsACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyes infousing a tiered cache-storage approachyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes infoAll updates are persistent, including those to disk-based columnstores and memory-based row stores. Transaction commits are supported via write-ahead log.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesyesno
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemnosimple password-based access control and ACLFine grained access control via users, groups and rolesFine grained access rights according to SQL-standard
More information provided by the system vendor
Apache DruidEhcacheKeyDBSingleStore infoformer name was MemSQLTiDB
Specific characteristicsSingleStore offers a fully-managed , distributed, highly-scalable SQL database designed...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesSingleStore’s competitive advantages include: Easy and Simplified Architecture with...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosDriving Fast Analytics: SingleStore delivers the fastest and most scalable reporting...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersIEX Cloud : Improves Financial Data Distribution Speed 15x with Singlestore DB Comcast,...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsCustomers in various industries worldwide including US and International Industry...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsF ree Tier and Enterprise Edition
» more
TiDB 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

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

More resources
Apache DruidEhcacheKeyDBSingleStore infoformer name was MemSQLTiDB
DB-Engines blog posts

Turbocharge Your Application Development Using WebAssembly With SingleStoreDB
17 October 2022,  Akmal Chaudhri, SingleStore (sponsor) 

Cloud-Based Analytics With SingleStoreDB
9 June 2022,  Akmal Chaudhri, SingleStore (sponsor) 

SingleStore: The Increasing Momentum of Multi-Model Database Systems
14 February 2022,  Akmal Chaudhri, SingleStore (sponsor) 

show all

Recent citations in the news

Apache Druid Wins Best Big Data Product in the 2023 BigDATAwire Readers' Choice Awards
26 January 2024, Datanami

'Lucifer' Botnet Turns Up the Heat on Apache Hadoop Servers
21 February 2024, Dark Reading

New DDoS malware Attacking Apache big-data stack, Hadoop, & Druid Servers
26 February 2024, GBHackers

Apache Druid Takes Its Place In The Pantheon Of Databases
16 June 2022, The Next Platform

How to install the Apache Druid real-time analytics database on Ubuntu-based Linux distributions
25 May 2022, TechRepublic

provided by Google News

Scaling Australia's Most Popular Online News Sites with Ehcache
6 December 2010, InfoQ.com

Atlassian asks customers to patch critical Jira vulnerability
22 July 2021, BleepingComputer

Critical Jira Flaw in Atlassian Could Lead to RCE
22 July 2021, Threatpost

DZone Coding Java JBoss 5 to 7 in 11 steps
9 January 2014, DZone

provided by Google News

Oh, snap! Snap snaps up database developer KeyDB
12 May 2022, TechCrunch

Garnet–open-source faster cache-store speeds up applications, services
18 March 2024, Microsoft

Snap Acquires KeyDB for Open-Source Services
17 May 2022, XR Today

Microsoft open-sources Garnet cache-store -- a Redis rival?
19 March 2024, The Stack

Dragonfly 1.0 Released For What Claims To Be The World's Fastest In-Memory Data Store
20 March 2023, Phoronix

provided by Google News

Building a Modern Database: Nikita Shamgunov on Postgres and Beyond
18 April 2024, Madrona Venture Group

SingleStore CEO sees little future for purpose-built vector databases
24 January 2024, VentureBeat

SingleStore Announces Real-time Data Platform to Further Accelerate AI, Analytics and Application Development
24 January 2024, Business Wire

SingleStore adds indexed vector search to Pro Max release for faster AI work – Blocks and Files
29 January 2024, Blocks and Files

Announcing watsonx.ai and SingleStore for generative AI applications
15 November 2023, ibm.com

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

PingCAP Named Customers' Choice in 2024 Gartner Peer Insights for Cloud Database Management Systems
3 June 2024, Datanami

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

provided by Google News



Share this page

Featured Products

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