Databases Flashcards

1
Q

How does MongoDB store data

A

It stores it in Bson format. Binary-encoded object notation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly