DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Apache Spark (SQL) vs. MySQL vs. Neo4j

System Properties Comparison Apache Spark (SQL) vs. MySQL vs. Neo4j

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Spark (SQL)  Xexclude from comparisonMySQL  Xexclude from comparisonNeo4j  Xexclude from comparison
DescriptionApache Spark SQL is a component on top of 'Spark Core' for structured data processingWidely used open source RDBMSScalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offerings
Primary database modelRelational DBMSRelational DBMS infoKey/Value like access via memcached APIGraph DBMS
Secondary database modelsDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score20.40
Rank#29  Overall
#18  Relational DBMS
Score987.11
Rank#2  Overall
#2  Relational DBMS
Score47.59
Rank#20  Overall
#1  Graph DBMS
Websitespark.apache.org/­sqlwww.mysql.comneo4j.com
Technical documentationspark.apache.org/­docs/­latest/­sql-programming-guide.htmldev.mysql.com/­docneo4j.com/­docs
DeveloperApache Software FoundationOracle infosince 2010, originally MySQL AB, then SunNeo4j, Inc.
Initial release201419952007
Current release3.5.0 ( 2.13), September 20239.0.0, July 20245.23, August 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoGPL version3, commercial licenses available
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageScalaC and C++Java, Scala
Server operating systemsLinux
OS X
Windows
FreeBSD
Linux
OS X
Solaris
Windows
Linux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
Data schemeyesyesschema-free and schema-optional
Typing infopredefined data types such as float or dateyesyesyes
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.noyes
Secondary indexesnoyesyes infopluggable indexing subsystem, by default Apache Lucene
SQL infoSupport of SQLSQL-like DML and DDL statementsyes infowith proprietary extensionsno
APIs and other access methodsJDBC
ODBC
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
Supported programming languagesJava
Python
R
Scala
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
Server-side scripts infoStored proceduresnoyes infoproprietary syntaxyes infoUser defined Procedures and Functions
Triggersnoyesyes infovia event handler
Partitioning methods infoMethods for storing different data on different nodesyes, utilizing Spark Corehorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricyes using Neo4j Fabric
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMulti-source replication
Source-replica replication
Causal Clustering using Raft protocol infoavailable in in Enterprise Version only
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono
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
Foreign keys infoReferential integritynoyes infonot for MyISAM storage engineyes infoRelationships in graphs
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACID infonot for MyISAM storage engineACID
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes
User concepts infoAccess controlnoUsers with fine-grained authorization concept infono user groups or rolesUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)
More information provided by the system vendor
Apache Spark (SQL)MySQLNeo4j
News

This Week in Neo4j: MCP, Snowflake, GenAI, GraphRAG and more
26 April 2025

Is a Knowledge Graph a Graph Database?
25 April 2025

Transform Static Risk Assessment Into a Dynamic Data-Driven Strategy
22 April 2025

LLM Knowledge Graph Builder Back-End Architecture and API Overview
14 April 2025

Build an Intelligent Movie Search With Neo4j and Vertex AI
14 April 2025

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 Spark (SQL)MySQLNeo4j
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

Introducing AWS Glue 5.0 for Apache Spark
4 December 2024, Amazon Web Services (AWS)

How to run Pandas code on Spark
25 January 2025, Theodo Data & AI

The 6 Best Apache Spark Courses on Udemy to Consider for 2025
1 January 2025, solutionsreview.com

30 Azure Databricks Interview Questions and Answers (2025)
14 April 2025, Simplilearn.com

18 top big data tools and technologies to know about in 2025
22 January 2025, TechTarget

provided by Google News

Build global MySQL apps using Cloudflare Workers and Hyperdrive
8 April 2025, The Cloudflare Blog

MySQL Explained: Your Guide to Mastering This Powerful Database
29 August 2024, Oracle

Migrate very large databases to Amazon Aurora MySQL using MyDumper and MyLoader
27 February 2025, Amazon Web Services (AWS)

PlanetScale Vectors Now GA: MySQL's Missing Feature?
12 April 2025, infoq.com

How To Set, Change, and Recover Your MySQL Root Password
3 January 2025, TechRepublic

provided by Google News

Neo4j Surpasses $200M in Revenue, Accelerates Leadership in GenAI-Driven Graph Technology
19 November 2024, PR Newswire

Data Science Firm Neo4j Reportedly Prepping IPO
19 November 2024, PYMNTS.com

Swedish company accelerates toward IPO with $50M investment at $2B valuation - ArcticStartup
28 November 2024, ArcticStartup

Discover Graph Databases with Neo4j and PHP
7 November 2024, SitePoint

Unlocking Precision in RAG Applications: Harnessing Knowledge Graphs with Neo4j and LangChain
21 October 2024, HackerNoon

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 data platform to build your intelligent applications.
Try it 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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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