0
0
HLDsystem_design~5 mins

NoSQL database types (document, key-value, column, graph) in HLD - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a Document NoSQL database?
A Document NoSQL database stores data as documents, usually in JSON or similar formats. Each document holds data in key-value pairs and can have different structures. It's like storing many notes where each note can have different information.
Click to reveal answer
beginner
How does a Key-Value NoSQL database work?
A Key-Value NoSQL database stores data as pairs of keys and values. You use the key to quickly find the value. Think of it like a dictionary where you look up a word (key) to get its meaning (value).
Click to reveal answer
intermediate
What is special about Column NoSQL databases?
Column NoSQL databases store data in columns instead of rows. This helps when you want to read or write many values from the same column quickly. Imagine a spreadsheet where you focus on one column at a time.
Click to reveal answer
beginner
Explain Graph NoSQL databases in simple terms.
Graph NoSQL databases store data as nodes (things) and edges (connections). They are great for showing relationships, like friends on social media or routes on a map.
Click to reveal answer
intermediate
Which NoSQL database type is best for storing social network connections?
Graph NoSQL databases are best because they focus on relationships between data, like friends or followers, making it easy to explore connections.
Click to reveal answer
Which NoSQL type stores data as flexible documents?
ADocument
BKey-Value
CColumn
DGraph
In which NoSQL type do you find data stored as key and value pairs?
AGraph
BDocument
CColumn
DKey-Value
Which NoSQL type is optimized for reading many values from the same column?
AGraph
BColumn
CDocument
DKey-Value
Which NoSQL type is best for representing relationships like social networks?
AColumn
BDocument
CGraph
DKey-Value
If you want to store user profiles with different fields per user, which NoSQL type fits best?
ADocument
BColumn
CKey-Value
DGraph
Describe the four main types of NoSQL databases and give a simple example for each.
Think about how each type organizes data differently.
You got /4 concepts.
    Explain why you might choose a Graph NoSQL database over a Document database.
    Consider the importance of relationships in your data.
    You got /3 concepts.