DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Neo4j vs. PostgreSQL vs. Stardog vs. TiDB vs. VelocityDB

System Properties Comparison Neo4j vs. PostgreSQL vs. Stardog vs. TiDB vs. VelocityDB

Editorial information provided by DB-Engines
NameNeo4j  Xexclude from comparisonPostgreSQL  Xexclude from comparisonStardog  Xexclude from comparisonTiDB  Xexclude from comparisonVelocityDB  Xexclude from comparison
DescriptionScalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offeringsWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLEnterprise Knowledge Graph platform and graph DBMS with high availability, high performance reasoning, and virtualizationTiDB 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.A .NET Object Database that can be embedded/distributed and extended to a graph data model (VelocityGraph)
Primary database modelGraph DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Graph DBMS
RDF store
Relational DBMSGraph DBMS
Object oriented DBMS
Secondary database modelsDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score44.46
Rank#23  Overall
#1  Graph DBMS
Score645.54
Rank#4  Overall
#4  Relational DBMS
Score2.02
Rank#123  Overall
#11  Graph DBMS
#6  RDF stores
Score4.66
Rank#70  Overall
#38  Relational DBMS
Score0.05
Rank#358  Overall
#36  Graph DBMS
#16  Object oriented DBMS
Websiteneo4j.comwww.postgresql.orgwww.stardog.compingcap.comvelocitydb.com
Technical documentationneo4j.com/­docswww.postgresql.org/­docsdocs.stardog.comdocs.pingcap.com/­tidb/­stablevelocitydb.com/­UserGuide
DeveloperNeo4j, Inc.PostgreSQL Global Development Group infowww.postgresql.org/­developerStardog-UnionPingCAP, Inc.VelocityDB Inc
Initial release20071989 info1989: Postgres, 1996: PostgreSQL201020162011
Current release5.19, April 202416.3, May 20247.3.0, May 20208.0.0, March 20247.x
License infoCommercial or Open SourceOpen Source infoGPL version3, commercial licenses availableOpen Source infoBSDcommercial info60-day fully-featured trial license; 1-year fully-featured non-commercial use license for academics/studentsOpen Source infoApache 2.0commercial
Cloud-based only infoOnly available as a cloud servicenonononono
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.
  • PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJava, ScalaCJavaGo, RustC#
Server operating systemsLinux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
macOS
Windows
LinuxAny that supports .NET
Data schemeschema-free and schema-optionalyesschema-free and OWL/RDFS-schema supportyesyes
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.yes infospecific XML-type available, but no XML query functionality.no infoImport/export of XML data possiblenono
Secondary indexesyes infopluggable indexing subsystem, by default Apache Luceneyesyes infosupports real-time indexing in full-text and geospatialyesyes
SQL infoSupport of SQLnoyes infostandard with numerous extensionsYes, compatible with all major SQL variants through dedicated BI/SQL Serveryesno
APIs and other access methodsBolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
GraphQL query language
HTTP API
Jena RDF API
OWL
RDF4J API
Sesame REST HTTP Protocol
SNARL
SPARQL
Spring Data
Stardog Studio
TinkerPop 3
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
.Net
Supported programming languages.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
.Net
Clojure
Groovy
Java
JavaScript
Python
Ruby
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
.Net
Server-side scripts infoStored proceduresyes infoUser defined Procedures and Functionsuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.user defined functions and aggregates, HTTP Server extensions in Javanono
Triggersyes infovia event handleryesyes infovia event handlersnoCallbacks are triggered when data changes
Partitioning methods infoMethods for storing different data on different nodesyes using Neo4j Fabricpartitioning by range, list and (since PostgreSQL 11) by hashnonehorizontal partitioning (by key range)Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesCausal Clustering using Raft protocol infoavailable in in Enterprise Version onlySource-replica replication infoother methods possible by using 3rd party extensionsMulti-source replication in HA-ClusterUsing 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 Connectorno
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 ConsistencyImmediate Consistency in HA-ClusterImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes infoRelationships in graphsyesyes inforelationships in graphsyes infofull support since version 6.6no
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDACIDACID
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.noyesnoyes
User concepts infoAccess controlUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)fine grained access rights according to SQL-standardAccess rights for users and rolesFine grained access rights according to SQL-standardBased on Windows Authentication
More information provided by the system vendor
Neo4jPostgreSQLStardogTiDBVelocityDB
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

Neo4j Joins the Connect with Confluent Partner Program
16 May 2024

10 Inspiring Projects to Spark Your NODES 2024 Presentation
15 May 2024

New Security Feature in Neo4j Aura: Customer Managed Keys
15 May 2024

Safeguarding Elections: How Graph Technology Powers Groundbreaking Research on Political Ads
13 May 2024

This Week in Neo4j: GraphRAG, Testcontainers, Metadata Management, App Dev and more
11 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
3rd partiesRedgate webinars: A series of key topics for new PostgreSQL users.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

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

More resources
Neo4jPostgreSQLStardogTiDBVelocityDB
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

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

show all

Conferences, events and webinars

Monitoring PostgreSQL with Redgate Monitor
Webinar, 10-11am CT / 4-5pm BST, 22 May 2024

Recent citations in the news

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

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

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

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

provided by Google News

Continuously replicate Amazon DynamoDB changes to Amazon Aurora PostgreSQL using AWS Lambda | Amazon ...
14 May 2024, AWS Blog

Distributed PostgreSQL Buyers Guide
16 May 2024, Database Trends and Applications

SolarWinds Unveils Enhanced Database Performance Analyzer with Advanced PostgreSQL Support
14 May 2024, businesswire.com

ServiceNow trades MariaDB for RaptorDB (PostgreSQL)
13 May 2024, Techzine Europe

Automatically Generate Types for Your PostgreSQL Database
1 May 2024, The New Stack

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

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

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

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

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

provided by Google News



Share this page

Featured Products

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.

SingleStore logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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

Present your product here