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 > IBM Db2 vs. Neo4j vs. Spark SQL vs. Stardog

System Properties Comparison IBM Db2 vs. Neo4j vs. Spark SQL vs. Stardog

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonNeo4j  Xexclude from comparisonSpark SQL  Xexclude from comparisonStardog  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxScalable, 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 processingEnterprise Knowledge Graph platform and graph DBMS with high availability, high performance reasoning, and virtualization
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBGraph DBMSRelational DBMSGraph DBMS
RDF store
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score127.49
Rank#8  Overall
#5  Relational DBMS
Score44.47
Rank#23  Overall
#1  Graph DBMS
Score19.15
Rank#33  Overall
#20  Relational DBMS
Score2.05
Rank#129  Overall
#11  Graph DBMS
#6  RDF stores
Websitewww.ibm.com/­products/­db2neo4j.comspark.apache.org/­sqlwww.stardog.com
Technical documentationwww.ibm.com/­docs/­en/­db2neo4j.com/­docsspark.apache.org/­docs/­latest/­sql-programming-guide.htmldocs.stardog.com
DeveloperIBMNeo4j, Inc.Apache Software FoundationStardog-Union
Initial release1983 infohost version200720142010
Current release12.1, October 20165.19, April 20243.5.0 ( 2.13), September 20237.3.0, May 2020
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoGPL version3, commercial licenses availableOpen Source infoApache 2.0commercial info60-day fully-featured trial license; 1-year fully-featured non-commercial use license for academics/students
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.
Implementation languageC and C++Java, ScalaScalaJava
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
Linux
OS X
Windows
Linux
macOS
Windows
Data schemeyesschema-free and schema-optionalyesschema-free and OWL/RDFS-schema support
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.nono infoImport/export of XML data possible
Secondary indexesyesyes infopluggable indexing subsystem, by default Apache Lucenenoyes infosupports real-time indexing in full-text and geospatial
SQL infoSupport of SQLyesnoSQL-like DML and DDL statementsYes, compatible with all major SQL variants through dedicated BI/SQL Server
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Bolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
JDBC
ODBC
GraphQL query language
HTTP API
Jena RDF API
OWL
RDF4J API
Sesame REST HTTP Protocol
SNARL
SPARQL
Spring Data
Stardog Studio
TinkerPop 3
Supported programming languagesC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
Java
Python
R
Scala
.Net
Clojure
Groovy
Java
JavaScript
Python
Ruby
Server-side scripts infoStored proceduresyesyes infoUser defined Procedures and Functionsnouser defined functions and aggregates, HTTP Server extensions in Java
Triggersyesyes infovia event handlernoyes infovia event handlers
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versionyes using Neo4j Fabricyes, utilizing Spark Corenone
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)Causal Clustering using Raft protocol infoavailable in in Enterprise Version onlynoneMulti-source replication in HA-Cluster
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemCausal and Eventual Consistency configurable in Causal Cluster setup
Immediate Consistency in stand-alone mode
Immediate Consistency in HA-Cluster
Foreign keys infoReferential integrityyesyes infoRelationships in graphsnoyes inforelationships in graphs
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACID
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.noyes
User concepts infoAccess controlfine grained access rights according to SQL-standardUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)noAccess rights for users and roles
More information provided by the system vendor
IBM Db2 infoformerly named DB2 or IBM Database 2Neo4jSpark SQLStardog
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

This Week in Neo4j: Google Cloud, Analysis, Knowledge Graph, Relationships and more
20 April 2024

Announcing NODES 2024: Submit Your Talk
17 April 2024

ISO GQL: A Defining Moment in the History of Database Innovation
17 April 2024

This Week in Neo4j: Podcast, RAG, Neo4j Guide, ERP and more
13 April 2024

Neo4j Brings GraphRAG Capabilities for GenAI to Google Cloud
9 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

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

More resources
IBM Db2 infoformerly named DB2 or IBM Database 2Neo4jSpark SQLStardog
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

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks and Files

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

How Amazon RDS for IBM Db2 Showcases the Power of Co-Creation
21 December 2023, Acceleration Economy

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Silicon Canals

provided by Google News

Neo4j Welcomes New GQL International Standard in Major Milestone for Database Industry
17 April 2024, Yahoo Finance

Knowledge graphs leveraged for enhanced AI insights
17 April 2024, SiliconANGLE News

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

Neo4j Signs Strategic Collaboration Agreement with AWS to Enhance Generative AI Results While Addressing AI ...
21 November 2023, PR Newswire

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

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, 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

1.5 Years of Spark Knowledge in 8 Tips | by Michael Berk
23 December 2023, Towards Data Science

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

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.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get 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

Present your product here