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 > CockroachDB vs. Neo4j vs. Spark SQL vs. TempoIQ vs. TiDB

System Properties Comparison CockroachDB vs. Neo4j vs. Spark SQL vs. TempoIQ vs. TiDB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonNeo4j  Xexclude from comparisonSpark SQL  Xexclude from comparisonTempoIQ infoformerly TempoDB  Xexclude from comparisonTiDB  Xexclude from comparison
TempoIQ seems to be decommissioned. It will be removed from the DB-Engines ranking.
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.Scalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offeringsSpark SQL is a component on top of 'Spark Core' for structured data processingScalable analytics DBMS for sensor data, provided as a service (SaaS)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 DBMSGraph DBMSRelational DBMSTime Series DBMSRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score44.46
Rank#23  Overall
#1  Graph DBMS
Score18.96
Rank#33  Overall
#20  Relational DBMS
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitewww.cockroachlabs.comneo4j.comspark.apache.org/­sqltempoiq.com (offline)pingcap.com
Technical documentationwww.cockroachlabs.com/­docsneo4j.com/­docsspark.apache.org/­docs/­latest/­sql-programming-guide.htmldocs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsNeo4j, Inc.Apache Software FoundationTempoIQPingCAP, Inc.
Initial release20152007201420122016
Current release24.1.0, May 20245.20, May 20243.5.0 ( 2.13), September 20238.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoGPL version3, commercial licenses availableOpen Source infoApache 2.0commercialOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenononoyesno
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.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoJava, ScalaScalaGo, Rust
Server operating systemsLinux
macOS
Windows
Linux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
Linux
OS X
Windows
Linux
Data schemedynamic schemaschema-free and schema-optionalyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesyesyes
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.nononono
Secondary indexesyesyes infopluggable indexing subsystem, by default Apache Lucenenoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoSQL-like DML and DDL statementsnoyes
APIs and other access methodsJDBCBolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
JDBC
ODBC
HTTP APIGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
Java
Python
R
Scala
C#
Java
JavaScript infoNode.js
Python
Ruby
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 proceduresnoyes infoUser defined Procedures and Functionsnonono
Triggersnoyes infovia event handlernoyes infoRealtime Alertsno
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTyes using Neo4j Fabricyes, utilizing Spark Corehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTCausal Clustering using Raft protocol infoavailable in in Enterprise Version onlynoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infowith TiSpark Connector
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
Immediate Consistency
Foreign keys infoReferential integrityyesyes infoRelationships in graphsnonoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnonoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nononono
User concepts infoAccess controlRole-based access controlUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)nosimple authentication-based access controlFine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBNeo4jSpark SQLTempoIQ infoformerly TempoDBTiDB
Specific characteristicsNeo4j delivers graph technology that has been battle tested for performance and scale...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesNeo4j is the market leader, graph database category creator, and the most widely...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosReal-Time Recommendations Master Data Management Identity and Access Management Network...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersOver 800 commercial customers and over 4300 startups use Neo4j. Flagship customers...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsNeo4j boasts the world's largest graph database ecosystem with more than 140 million...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsGPL v3 license that can be used all the places where you might use MySQL. Neo4j Commercial...
» more
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more
News

openCypher Will Pave the Road to GQL for Cypher Implementers
22 May 2024

7 Tips for Submitting Your NODES 2024 Talk
22 May 2024

How to Configure Neo4j Aura With AWS PrivateLink
21 May 2024

This Week in Neo4j: Podcast, GraphRAG, GraphQL, Chatbot and more
18 May 2024

Neo4j Joins the Connect with Confluent Partner Program
16 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

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

More resources
CockroachDBNeo4jSpark SQLTempoIQ infoformerly TempoDBTiDB
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

Recent citations in the news

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

provided by Google 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 Empowers Syracuse University with $250K Grant to Tackle Misinformation in 2024 Elections
8 May 2024, Datanami

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

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

provided by Google News

Run Apache Hive workloads using Spark SQL with Amazon EMR on EKS | Amazon Web Services
18 October 2023, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

Performant IPv4 Range Spark Joins | by Jean-Claude Cote
24 January 2024, Towards Data Science

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

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 Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, 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

RaimaDB logo

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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

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