Menu

Single-Cluster Duality View 🃏
📰
0

Single-Cluster Duality View 🃏

DEV Community: dynamodb·Franck Pachot·about 1 month ago
#Btw2xvFZ
#dev#comments#guid#class#code#highlight
Reading 0:00
15s threshold

In DynamoDB, a single-table design stores one-to-many relationships in a single physical block while still following relational-like normal form decomposition. In MongoDB, the Single Collection Pattern unnests relationships from a single document, but goes against the general recommendation as it sacrifices one of MongoDB’s key advantages—keeping a document in a single block. In Oracle Database and MySQL, JSON-relational duality views normalize JSON documents into relational tables that span multiple blocks, also without the data-locality benefits of MongoDB. Can we turn these duality views into a document-database equivalent that keeps together the data accessed together? Here is SCDVℱ, the Single-Cluster Duality View đŸ„. DynamoDB NoSQL started with a simple key‑value API. For example, DynamoDB can get an item using the full key, query multiple items using a partial key, or scan all items without a key. The value, in this key‑value datastore, is atomic, but sometimes you need partial reads or writes.


Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More