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 > Google Cloud Spanner vs. MySQL vs. Neo4j vs. TypeDB

System Properties Comparison Google Cloud Spanner vs. MySQL vs. Neo4j vs. TypeDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonMySQL  Xexclude from comparisonNeo4j  Xexclude from comparisonTypeDB infoformerly named Grakn  Xexclude from comparison
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.Widely used open source RDBMSScalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offeringsTypeDB is a strongly-typed database with a rich and logical type system and TypeQL as its query language
Primary database modelRelational DBMSRelational DBMS infoKey/Value like access via memcached APIGraph DBMSGraph DBMS
Relational DBMS infoOften described as a 'hyper-relational' database, since it implements the 'Entity-Relationship Paradigm' to manage complex data structures and ontologies.
Secondary database modelsDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score1083.74
Rank#2  Overall
#2  Relational DBMS
Score44.46
Rank#23  Overall
#1  Graph DBMS
Score0.65
Rank#234  Overall
#20  Graph DBMS
#107  Relational DBMS
Websitecloud.google.com/­spannerwww.mysql.comneo4j.comtypedb.com
Technical documentationcloud.google.com/­spanner/­docsdev.mysql.com/­docneo4j.com/­docstypedb.com/­docs
DeveloperGoogleOracle infosince 2010, originally MySQL AB, then SunNeo4j, Inc.Vaticle
Initial release2017199520072016
Current release8.3.0, January 20245.19, April 20242.26.3, January 2024
License infoCommercial or Open SourcecommercialOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoGPL version3, commercial licenses availableOpen Source infoGPL Version 3, commercial licenses available
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.
Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.Neo4j Aura: Neo4j’s fully managed cloud service: The zero-admin, always-on graph database for cloud developers.
Implementation languageC and C++Java, ScalaJava
Server operating systemshostedFreeBSD
Linux
OS X
Solaris
Windows
Linux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
Linux
OS X
Windows
Data schemeyesyesschema-free and schema-optionalyes
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.noyesno
Secondary indexesyesyesyes infopluggable indexing subsystem, by default Apache Luceneyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yes infowith proprietary extensionsnono
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
ADO.NET
JDBC
ODBC
Proprietary native API
Bolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
gRPC protocol
TypeDB Console (shell)
TypeDB Studio (Visualisation software- previously TypeDB Workbase)
Supported programming languagesGo
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
.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
All JVM based languages
Groovy
Java
JavaScript (Node.js)
Python
Scala
Server-side scripts infoStored proceduresnoyes infoproprietary syntaxyes infoUser defined Procedures and Functionsno
Triggersnoyesyes infovia event handlerno
Partitioning methods infoMethods for storing different data on different nodesShardinghorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricyes using Neo4j FabricSharding infoby using Cassandra
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Multi-source replication
Source-replica replication
Causal Clustering using Raft protocol infoavailable in in Enterprise Version onlyMulti-source replication infoby using Cassandra
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownonoyes infoby using Apache Kafka and Apache Zookeeper
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyCausal and Eventual Consistency configurable in Causal Cluster setup
Immediate Consistency in stand-alone mode
Immediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyes infonot for MyISAM storage engineyes infoRelationships in graphsno infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACID infonot for MyISAM storage engineACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyesyes
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.noyesno
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Users with fine-grained authorization concept infono user groups or rolesUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)yes infoat REST API level; other APIs in progress
More information provided by the system vendor
Google Cloud SpannerMySQLNeo4jTypeDB infoformerly named Grakn
Specific characteristicsNeo4j delivers graph technology that has been battle tested for performance and scale...
» more
TypeDB is a polymorphic database with a conceptual data model, a strong subtyping...
» more
Competitive advantagesNeo4j is the market leader, graph database category creator, and the most widely...
» more
TypeDB provides a new level of expressivity, extensibility, interoperability, and...
» more
Typical application scenariosReal-Time Recommendations Master Data Management Identity and Access Management Network...
» more
Life sciences : TypeDB makes working with biological data much easier and accelerates...
» 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
Apache f or language drivers, and AGPL and Commercial for the database server. The...
» more
News

This Week in Neo4j: Nodes 2024, Data Modelling, Events, Knowledge Graphs and more
27 April 2024

GQL is Here: Your Cypher Queries in a GQL World
26 April 2024

GQL: The ISO Standard for Graphs Has Arrived
25 April 2024

What Is Retrieval-Augmented Generation (RAG)?
24 April 2024

This Week in Neo4j: Google Cloud, Analysis, Knowledge Graph, Relationships and more
20 April 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 Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more

Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» more

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

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

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

More resources
Google Cloud SpannerMySQLNeo4jTypeDB infoformerly named Grakn
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

show all

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 Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

Google Cloud Spanner competes directly with Amazon DynamoDB
12 October 2023, Techzine Europe

provided by Google News

Amazon Aurora MySQL version 2 (with MySQL 5.7 compatibility) to version 3 (with MySQL 8.0 compatibility) upgrade ...
18 March 2024, AWS Blog

Enterprise Manager: How Comcast enhanced monitoring for MySQL InnoDB Clusters
22 April 2024, Oracle

Zendesk Moves from DynamoDB to MySQL and S3 to Save over 80% in Costs
29 December 2023, InfoQ.com

PostgreSQL or MySQL: What Should I Choose for My Full-Stack Project?
10 April 2024, hackernoon.com

Google advances with vector search in MySQL, leapfrogging Oracle in LLM support
4 March 2024, The Register

provided by Google News

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

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

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

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

Leveraging Neo4j and Amazon Bedrock for an Explainable, Secure, and Connected Generative AI Solution | Amazon ...
10 November 2023, AWS Blog

provided by Google News

An Enterprise Data Stack Using TypeDB | by Daniel Crowe
2 September 2021, Towards Data Science

Modelling Biomedical Data for a Drug Discovery Knowledge Graph
6 October 2020, Towards Data Science

195 Data Science Libraries You Should Reconsider Using | by Dimitris Effrosynidis
2 February 2024, DataDrivenInvestor

How Roche Discovered Novel Potential Gene Targets with TypeDB
8 June 2021, Towards Data Science

Bayer's Approach to Modelling and Loading Data at Scale
16 August 2021, Towards Data Science

provided by Google News



Share this page

Featured Products

Neo4j logo

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

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.

SingleStore logo

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

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

Present your product here