Amazon Neptune - Schemas and Data Models

0

Can we create schemas or data models in Amazon Neptune? This way, the ingested data has to respect the defined schema/data model.

Jose
已提問 3 個月前檢視次數 137 次
1 個回答
2
已接受的答案

Neptune is a "schema-on-read" database and does not provide a way to define a schema or constraints. That being said, there are one or two built-in constraints that you can take advantage of:

  1. If using Neptune to store Property Graphs, every node and edge must have a unique ID. You can use this to your advantage if there are concepts in your data that must be unique.
  2. Every edge must have a node at either end of the edge. You cannot have "dangling edges". This ensures that when you delete a node, all adjacent edges to the node are also deleted.
profile pictureAWS
已回答 3 個月前
profile picture
專家
已審閱 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南