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

DBMS > Google Cloud Spanner vs. Neo4j vs. TiDB vs. Trafodion

System Properties Comparison Google Cloud Spanner vs. Neo4j vs. TiDB vs. Trafodion

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonNeo4j  Xexclude from comparisonTiDB  Xexclude from comparisonTrafodion  Xexclude from comparison
Apache Trafodion has been retired in 2021. Therefore it is excluded from the DB-Engines Ranking.
DescriptionA horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.Scalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offeringsTiDB 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.Transactional SQL-on-Hadoop DBMS
Primary database modelRelational DBMSGraph DBMSRelational DBMSRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.69
Rank#101  Overall
#51  Relational DBMS
Score42.68
Rank#21  Overall
#1  Graph DBMS
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitecloud.google.com/­spannerneo4j.compingcap.comtrafodion.apache.org
Technical documentationcloud.google.com/­spanner/­docsneo4j.com/­docsdocs.pingcap.com/­tidb/­stabletrafodion.apache.org/­documentation.html
DeveloperGoogleNeo4j, Inc.PingCAP, Inc.Apache Software Foundation, originally developed by HP
Initial release2017200720162014
Current release5.23, August 20248.2.0, July 20242.3.0, February 2019
License infoCommercial or Open SourcecommercialOpen Source infoGPL version3, commercial licenses availableOpen Source infoApache 2.0Open Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceyesnonono
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 languageJava, ScalaGo, RustC++, Java
Server operating systemshostedLinux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
LinuxLinux
Data schemeyesschema-free and schema-optionalyesyes
Typing infopredefined data types such as float or dateyesyesyesyes
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 Luceneyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011noyesyes
APIs and other access methodsgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
Bolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
ADO.NET
JDBC
ODBC
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
All languages supporting JDBC/ODBC/ADO.Net
Server-side scripts infoStored proceduresnoyes infoUser defined Procedures and FunctionsnoJava Stored Procedures
Triggersnoyes infovia event handlernono
Partitioning methods infoMethods for storing different data on different nodesShardingyes using Neo4j Fabrichorizontal partitioning (by key range)Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Causal Clustering using Raft protocol infoavailable in in Enterprise Version onlyUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.yes, via HBase
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownoyes infowith TiSpark Connectoryes infovia user defined functions and HBase
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 ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyes infoRelationships in graphsyes infofull support since version 6.6yes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonono
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Users, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)Fine grained access rights according to SQL-standardfine grained access rights according to SQL-standard
More information provided by the system vendor
Google Cloud SpannerNeo4jTiDBTrafodion
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

Elevate Fraud Detection With Neo4j on AWS: Uncover Hidden Patterns and Enhance Accuracy
20 September 2024

The Ethics of Generative AI: Understanding the Principles and Risks
18 September 2024

GraphSummit Europe 2024: Actionable Insights From Industry Leaders and Innovators
18 September 2024

This Week in Neo4j: Knowledge Graph, Data Loading, Olympics, CSV and more
7 September 2024

Neo4j Expands Cloud Database Capabilities to Power Enterprise-Scale Graph Deployments
4 September 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
Google Cloud SpannerNeo4jTiDBTrafodion
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

Google Cloud Spanner gets dual-region configuration option
23 July 2024, InfoWorld

Google Cloud adds graph and vector search features to Spanner database
2 August 2024, Techzine Europe

Google Cloud Enhances Spanner with Dual-Region Configuration
1 August 2024, InfoQ.com

New features make Google's Spanner a database for AI
1 August 2024, TechTarget

Google Cloud expands its database portfolio with new AI capabilities
1 August 2024, TechCrunch

provided by Google News

Neo4j lowers barriers to graph technology with gen AI copilot, 15x read capacity
4 September 2024, VentureBeat

Implementing GraphReader with Neo4j and LangGraph | by Tomaz Bratanic | Sep, 2024
21 September 2024, Towards Data Science

Neo4j Transforms Its Cloud Database Portfolio to Accelerate Graph Adoption & GenAI for the Enterprise
4 September 2024, PR Newswire

Neo4j charts upward course for GraphRAG in graph databases
4 September 2024, Techzine Europe

Neo4j Transforms Its Cloud Database Portfolio to Accelerate Graph Adoption & GenAI for the Enterprise
9 September 2024, insideBIGDATA

provided by Google News

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

Unlocking performance, scalability, and cost-efficiency of Zomato’s Billing Platform by switching from TiDB to DynamoDB
22 December 2023, AWS Blog

TiDB Can Do What MongoDB or CockRoachDB Can’t
27 June 2024, AIM

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

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

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.

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

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here