Databases Flashcards
What is a popular relational database?
MySQL
What is a popular key-value store database?
Dynamo
What is a popular document database?
MongoDB
What is a popular wide-column database?
Cassandra
What is a popular graph database?
Neo4J
Can you alter a SQL/relational DB schema?
Yes, but requires modifying the entire DB and going offline
When can you add columns to a NoSQL schema?
On the fly
In a NoSQL DB, does each entity need to contain data for each column?
No
What type of DB has more powerful querying?
SQL/Relational
How do you scale a relational DB?
Vertically by increasing horsepower of hardware like higher memory, CPU
What is the downside of scaling a (relational) DB vertically?
Expensive
Can you scale a relational DB across multiple servers?
Yes, but challenging and time consuming
How do you scale a non-relational DB?
Horizontally by adding more servers
What type of DB is cheaper to scale
Non-relational
What type of DB is better for ACID compliancy and data reliability
Relational