Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

When to use graph databases#

Sumit Rawal answered on May 18, 2023 Popularity 10/10 Helpfulness 2/10

Contents


More Related Answers

  • No-SQL Graph-Based Databases
  • No-SQL Graph based databases

  • When to use graph databases#

    1

    Graph databases, like Amazon Neptune, are purpose-built to store and navigate relationships. They have advantages over relational databases for use cases like social networking, recommendation engines, and fraud detection, where you need to create relationships between data and quickly query these relationships.

    There are a number of challenges to building these types of applications using a relational database. You would need multiple tables with multiple foreign keys. SQL queries to navigate this data would require nested queries and complex joins that quickly become unwieldy, and the queries would not perform well as your data size grows over time.

    Neptune uses graph structures such as nodes (data entities), edges (relationships), and properties to represent and store data. The relationships are stored as first-order citizens of the data model. This allows data in nodes to be directly linked, dramatically improving the performance of queries that navigate relationships in the data.

    Popularity 10/10 Helpfulness 2/10 Language whatever
    Source: Grepper
    Tags: whatever when
    Link to this answer
    Share Copy Link
    Contributed on May 18 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.