ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Service · Database

Amazon Neptune

A managed graph database for data where the relationships matter most.

Customer
Online store
Neptune
Products your friends bought
  1. 1A customer opens a product page in an online store.
  2. 2The store asks Neptune what this customer’s friends bought.
  3. 3Neptune follows the relationships and returns suggestions in milliseconds.
Neptune answers a relationship question for an online store.

Step by step

  1. 1A customer opens a product page in an online store.
  2. 2The store asks Neptune what this customer’s friends bought.
  3. 3Neptune follows the relationships and returns suggestions in milliseconds.

Neptune answers a relationship question for an online store.

You
Your friend
Running shoes
friendsboughtmay like
Graph data: people and products are linked, and following the links gives a suggestion.

What it is

Amazon Neptune is a fully managed graph database. A graph stores things, such as people, accounts and products, together with the relationships between them. Neptune can store billions of relationships and query them with millisecond latency.

Questions like “which accounts share a phone number with this one?” or “what did this customer’s friends buy?” are complex to write with SQL joins. In a graph database, they are short, fast queries. Neptune uses graph query languages instead of SQL.

What it is

AWS handles the hardware, patching and backups. Data is copied across Availability Zones, and read replicas add read capacity and take over if the primary fails.

Remember

  • Graph database: things and the relationships between them.
  • Uses: fraud detection, recommendation engines, knowledge graphs, network security and social networks.
  • Billions of relationships, queried in milliseconds.
  • Queried with graph query languages, not SQL.
  • Copies across Availability Zones, plus read replicas.

On the exam

  • “Highly connected data”, “relationships” or “social network” points to Amazon Neptune.
  • “Find fraud rings by following links between accounts” points to Neptune.