Autosave: 2024-06-10 17:30:00
This commit is contained in:
parent
4a60b647a2
commit
3d32c4e6c6
2 changed files with 11 additions and 8 deletions
BIN
.zk/notebook.db
BIN
.zk/notebook.db
Binary file not shown.
|
@ -9,18 +9,21 @@ created: Sunday, June 09, 2024
|
||||||
|
|
||||||
## Data structure
|
## Data structure
|
||||||
|
|
||||||
 Data is stored as a set of key-values in a table
|
|
||||||
|
|
||||||
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.html
|
|
||||||
Data is stored as a table of key-value pairs.
|
|
||||||
|
|
||||||
This doesn't mean there are single values corresponding to each key. There can
|
|
||||||
be multiple columns for each key and the key itself is also a column.
|
|
||||||
|
|
||||||
DynamoDB is "NoSQL" because it does not support #SQL queries and is
|
DynamoDB is "NoSQL" because it does not support #SQL queries and is
|
||||||
non-relational meaning there cannot be JOIN operations via
|
non-relational meaning there cannot be JOIN operations via
|
||||||
[foreign_keys](Foreign_keys_in_SQL.md)
|
[foreign_keys](Foreign_keys_in_SQL.md)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Although the data is stored as a table, one of the attributes is a key and the
|
||||||
|
rest of the attributes are effectively the values associated with it. Each item
|
||||||
|
in the table is uniquely identifiable by its primary key.
|
||||||
|
|
||||||
|
Because DynamoDB is schemaless, neither the attributes or their data types need
|
||||||
|
to be defined beforehand and each item can have its own distinct attributes.
|
||||||
|
|
||||||
|
This attribute is known as the primary key.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
## Related notes
|
## Related notes
|
||||||
|
|
Loading…
Add table
Reference in a new issue