A type of database that does not structure its data in tables or using fixed Schemas as in a Relational Database. The structure instead depend of the type of data stored and is often flexible to enable handling large volumes of unstructured data.
Data models
Key-Value: stores data as unique keys and associated values.Document: stores data in formats like JSON or BSON.Column-family: Organises data into columns rather than rows, optimised for large-scale analytical queries.Graph: uses nodes and edges to represent and navigate complex relationships.
Examples
Key-value data model
{
"100001": {
"date": "01-01-2021",
"content": "Welcome to this web application."
},
"100002": {
"date": "02-01-2021",
"content": "This is the first post on this web app."
},
"100003": {
"date": "02-01-2021",
"content": "Reminder: Tomorrow is the ..."
}
}