Databases Flashcards
1
Q
How does MongoDB store data
A
It stores it in Bson format. Binary-encoded object notation
2
Q
What are the 2 most common types of databases, and what are their differences?
A
SQL and NoSQL
SQL is a relational database
- stored in tables where each row is an entry and must have all columns defined. To relate data you need multiple tables which a shared value.
NoSQL is a non-relational database
- No requirements for what each entry has