DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > H2 vs. Neo4j vs. Redis vs. TerarkDB

System Properties Comparison H2 vs. Neo4j vs. Redis vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonNeo4j  Xexclude from comparisonRedis  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Scalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offeringsPopular in-memory data platform used as a cache, message broker, and database that can be deployed on-premises, across clouds, and hybrid environments infoRedis focuses on performance so most of its design decisions prioritize high performance and very low latencies.A key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSGraph DBMSKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceKey-value store
Secondary database modelsSpatial DBMSDocument store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score44.46
Rank#23  Overall
#1  Graph DBMS
Score157.80
Rank#6  Overall
#1  Key-value stores
Score0.00
Rank#383  Overall
#60  Key-value stores
Websitewww.h2database.comneo4j.comredis.com
redis.io
github.com/­bytedance/­terarkdb
Technical documentationwww.h2database.com/­html/­main.htmlneo4j.com/­docsdocs.redis.com/­latest/­index.html
redis.io/­docs
bytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperThomas MuellerNeo4j, Inc.Redis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.ByteDance, originally Terark
Initial release2005200720092016
Current release2.2.220, July 20235.19, April 20247.2.4, January 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoGPL version3, commercial licenses availableOpen Source infosource-available extensions (modules), commercial licenses for Redis Enterprisecommercial inforestricted open source version available
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.
Neo4j Aura: Neo4j’s fully managed cloud service: The zero-admin, always-on graph database for cloud developers.Aiven for Redis: Fully managed in-memory key-value store for all your caching and speedy lookup needs.
Implementation languageJavaJava, ScalaCC++
Server operating systemsAll OS with a Java VMLinux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Data schemeyesschema-free and schema-optionalschema-freeschema-free
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 indexesno
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 indexesyesyes infopluggable indexing subsystem, by default Apache Luceneyes infowith RediSearch moduleno
SQL infoSupport of SQLyesnowith RediSQL moduleno
APIs and other access methodsJDBC
ODBC
Bolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
proprietary protocol infoRESP - REdis Serialization ProtocolC++ API
Java API
Supported programming languagesJava.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
C
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
C++
Java
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined Functionsyes infoUser defined Procedures and FunctionsLua; Redis Functions coming in Redis 7 (slides and Github)no
Triggersyesyes infovia event handlerpublish/subscribe channels provide some trigger functionality; RedisGearsno
Partitioning methods infoMethods for storing different data on different nodesnoneyes using Neo4j FabricSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardingnone
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseCausal Clustering using Raft protocol infoavailable in in Enterprise Version onlyMulti-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
none
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonothrough RedisGearsno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyCausal and Eventual Consistency configurable in Causal Cluster setup
Immediate Consistency in stand-alone mode
Eventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Foreign keys infoReferential integrityyesyes infoRelationships in graphsnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDAtomic execution of command blocks and scripts and optimistic lockingno
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes infoData access is serialized by the serveryes
Durability infoSupport for making data persistentyesyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyes
User concepts infoAccess controlfine grained access rights according to SQL-standardUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)Access Control Lists (ACLs): redis.io/­docs/­management/­security/­acl
LDAP and Role-Based Access Control (RBAC) for Redis Enterprise
Mutual TLS authentication: redis.io/­docs/­management/­security/­encryption
Password-based authentication
no
More information provided by the system vendor
H2Neo4jRedisTerarkDB
Specific characteristicsNeo4j delivers graph technology that has been battle tested for performance and scale...
» more
Competitive advantagesNeo4j is the market leader, graph database category creator, and the most widely...
» more
Typical application scenariosReal-Time Recommendations Master Data Management Identity and Access Management Network...
» more
Key customersOver 800 commercial customers and over 4300 startups use Neo4j. Flagship customers...
» more
Market metricsNeo4j boasts the world's largest graph database ecosystem with more than 140 million...
» more
Licensing and pricing modelsGPL v3 license that can be used all the places where you might use MySQL. Neo4j Commercial...
» more
News

Neo4j Joins the Connect with Confluent Partner Program
16 May 2024

10 Inspiring Projects to Spark Your NODES 2024 Presentation
15 May 2024

New Security Feature in Neo4j Aura: Customer Managed Keys
15 May 2024

Safeguarding Elections: How Graph Technology Powers Groundbreaking Research on Political Ads
13 May 2024

This Week in Neo4j: GraphRAG, Testcontainers, Metadata Management, App Dev and more
11 May 2024

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 Redis: the award-winning Redis management tool with an intuitive and powerful graphical interface.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Redisson PRO: The ultra-fast Redis Java Client.
» more

Aiven for Redis: Fully managed in-memory key-value store for all your caching and speedy lookup needs.
» more

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

More resources
H2Neo4jRedisTerarkDB
DB-Engines blog posts

Applying Graph Analytics to Game of Thrones
12 June 2019, Amy Hodler & Mark Needham, Neo4j (guest author)

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

The openCypher Project: Help Shape the SQL for Graphs
22 December 2015, Emil Eifrem (guest author)

show all

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

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

MongoDB is the DBMS of the year, defending the title from last year
7 January 2015, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Neo4j Announces Collaboration with Microsoft to Advance GenAI and Data Solutions USA - English - India - English
26 March 2024, PR Newswire

Neo4j Is Planning IPO on Nasdaq, Largest Owner Greenbridge Says
15 February 2024, Bloomberg

Neo4j CTO says new Graph Query Language standard will have 'massive ripple effects'
26 April 2024, SiliconANGLE News

Neo4j Empowers Syracuse University with $250K Grant to Tackle Misinformation in 2024 Elections
8 May 2024, Datanami

Using Neo4j’s graph database for AI in Azure
4 April 2024, InfoWorld

provided by Google News

Linux Foundation marshals support for open source alternative to Redis
3 April 2024, The Register

Redis acquires storage engine startup Speedb to enhance its open-source database
21 March 2024, SiliconANGLE News

Redis moves to source-available licenses
25 March 2024, InfoWorld

Redis expands data management capabilities with Speedb acquisition – Blocks and Files
22 March 2024, Blocks & Files

The Coolest Database System Companies Of The 2024 Big Data 100
22 April 2024, CRN

provided by Google News

A Chinese company is making the cloud 200x faster · TechNode
3 July 2017, TechNode

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for 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

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Present your product here