Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Neo4j
Neo4j

481
384
+ 1
276
PostGIS
PostGIS

179
131
+ 1
28
Add tool

Neo4j vs PostGIS: What are the differences?

Neo4j: The world’s leading Graph Database. Neo4j stores data in nodes connected by directed, typed relationships with properties on both, also known as a Property Graph. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions; PostGIS: Open source spatial database. PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.

Neo4j belongs to "Graph Databases" category of the tech stack, while PostGIS can be primarily classified under "Database Tools".

Some of the features offered by Neo4j are:

  • intuitive, using a graph model for data representation
  • reliable, with full ACID transactions
  • durable and fast, using a custom disk-based, native storage engine

On the other hand, PostGIS provides the following key features:

  • Processing and analytic functions for both vector and raster data for splicing, dicing, morphing, reclassifying, and collecting/unioning with the power of SQL
  • raster map algebra for fine-grained raster processing
  • Spatial reprojection SQL callable functions for both vector and raster data

"Cypher – graph query language" is the top reason why over 55 developers like Neo4j, while over 22 developers mention "De facto GIS in SQL" as the leading cause for choosing PostGIS.

Neo4j and PostGIS are both open source tools. It seems that Neo4j with 6.56K GitHub stars and 1.62K forks on GitHub has more adoption than PostGIS with 636 GitHub stars and 242 GitHub forks.

According to the StackShare community, Neo4j has a broader approval, being mentioned in 114 company stacks & 47 developers stacks; compared to PostGIS, which is listed in 53 company stacks and 14 developer stacks.

What is Neo4j?

Neo4j stores data in nodes connected by directed, typed relationships with properties on both, also known as a Property Graph. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions.

What is PostGIS?

PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Neo4j?
Why do developers choose PostGIS?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use Neo4j?
    What companies use PostGIS?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Neo4j?
    What tools integrate with PostGIS?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Neo4j and PostGIS?
    Titan
    Titan is a scalable graph database optimized for storing and querying graphs containing hundreds of billions of vertices and edges distributed across a multi-machine cluster. Titan is a transactional database that can support thousands of concurrent users executing complex graph traversals in real time.
    MongoDB
    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
    Cassandra
    Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.
    OrientDB
    It is an open source NoSQL database management system written in Java. It is a Multi-model database, supporting graph, document, key/value, and object models, but the relationships are managed as in graph databases with direct connections between records.
    JanusGraph
    It is a scalable graph database optimized for storing and querying graphs containing hundreds of billions of vertices and edges distributed across a multi-machine cluster. It is a transactional database that can support thousands of concurrent users executing complex graph traversals in real time.
    See all alternatives
    Decisions about Neo4j and PostGIS
    No stack decisions found
    Interest over time
    Reviews of Neo4j and PostGIS
    Avatar of maxsumrall
    Software Engineer at Picnic
    Review ofNeo4jNeo4j

    Neo4j is a great graph database, but it's also a great tool for any application in general. The data model is easy to figure out and is flexible to use as your application changes in the early stages. Further, there are constraints you can add to get data consistency once you have a firm data model. The built in admin tool makes it easy to review the data, see how your application is being used, and has a great query plan visualizer for when you want to optimize for performance.

    How developers use Neo4j and PostGIS
    Avatar of King's Digital Lab
    King's Digital Lab uses Neo4jNeo4j

    Graph database

    To be evaluated

    • + Leading Graph DB provider, large community
    • + Rich querying language
    • + Tools to visualise and interact visually with results

    Possible alternative to triple store.

    Questions:

    • does it support full text search?
    • does it support some sort of inference or derived relationships (e.g. transitivity, symmetry)?

    - does it support faceted search?

    Avatar of Kalibrr
    Kalibrr uses PostGISPostGIS

    PostGIS makes it easy (and fast) to do geographic queries, such as nearest-neighbor and bounding box queries.

    Avatar of Sail Tactics
    Sail Tactics uses PostGISPostGIS

    Backend for weather forecast data that Geoserver queries to build updated weather maps

    Avatar of Christopher Davison
    Christopher Davison uses Neo4jNeo4j

    Used for the Knowledge and Social graph databases

    Avatar of Walter
    Walter uses Neo4jNeo4j

    Social graph; introductions.

    Avatar of Nough You
    Nough You uses Neo4jNeo4j

    Studying relationships

    Avatar of Mathias Vonende
    Mathias Vonende uses PostGISPostGIS

    Storage for geo data.

    Avatar of DNT
    DNT uses PostGISPostGIS

    Geospatial queries

    Avatar of Minyoung Kim
    Minyoung Kim uses Neo4jNeo4j

    사용자 팔로잉 관계 데이터 저장

    How much does Neo4j cost?
    How much does PostGIS cost?
    Pricing unavailable
    Pricing unavailable
    News about PostGIS
    More news