examples of key-value stores - answer✔-Redis
-Riak
-Voldemort
examples of document stores - answer✔-MongoDB
examples of graph database - answer✔-Neo4j
examples of column-family stores - answer✔-Cassandra
-HBase
define key-value stores - answer✔-key might be customer number
-value is whatever you like
-value can be structured data or unstructured
define column-family stores - answer✔-a single row key maps to multiple collections of data
-like a two-level map
-row key -> column-family -> column key -> column value
define document-based stores - answer✔-database us a collection of documents
ALL RIGHTS RESERVED.
-often JSON
-document often has some unique ID
define graph databases - answer✔-similar to object-oriented structures
-nodes are entities with properties
-edges are relationships
-good for graph-like queries (e.g. shortest path)
aggregates - answer✔-the unit of storage, some meaningful chunk of data
-ie. student, course names, grades, GPA
implicit schema - answer✔NoSQL dbs are sometimes called schema-less
-denormalized, not 1NF!
NoSQL query types - answer✔-no complex queries
-no SQL support
-CRUD operations via API (create, read, update, delete)
NoSQL joins - answer✔no join support
NoSQL transactions - answer✔no transaction support
NoSQL consistency - answer✔-different from ACID
-consistency-- reads get the latest value
-most NoSQL dbs only provide EVENTUAL CONSISTENCY
--reads will *eventually* get the value of the latest write
CAP theorem - answer✔(Brewer) it's imposs to satisfy more than 2 of the following:
-consistency: reads get the latest value
-availability: every request gets a response
-partition tolerance: system tolerates network delays/failures
--if the network is working, all is well
----satisfy consistency & availability
2|Page
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TheStar. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.