Databases Flashcards
When would you use a relational database?
Relational databases are good for use cases where there’s a high emphasis on transactions and you have structured, orderly data.
What are the benefits and tradeoffs of using a NoSQL database?
NoSQL databases are designed for performance and scalability at the cost of consistency or availability.
What is the CAP theorem?
CAP theorem is the idea that a distributed data store cannot simultaneously be consistent, available, and partition tolerant. In reality, you want your system to be strongly consistent or highly available under a network partition.
What is eventual consistency?
The idea that given no recent updates, your database servers will return the same data.