Databases Flashcards
1
Q
SQL vs NoSQL
A
SQL Structured Query Language Most Popular MySQL PostgreSQL NoSQL Not Only Structured Query Language Most Popular MongoDB Redis
2
Q
Differences
A
1. Structure SQL Table Format, kind of like a Excel Sheet Missing cells, will contain Null Consistent Structure NoSQL JSON Object structure Flexible Structure
3
Q
- Relationships
A
SQL Relational Good for many-to-many relationships Can have multiple tables, and we can link a relationship between them Will lead to less repetitive data NoSQL Non-Relational Can lead to repetitive data Good for 1-to-many type relationships
4
Q
- Scalability
A
SQL
Becomes slower with more rows of data
NoSQL
Better for scalability