Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

NoSQL Exam Study Guide.

Document preview thumbnail
Preview 2 out of 11 pages

©THESTAR EXAM SOLUTIONS 2024/2025 ALL RIGHTS RESERVED. 1 | P a g e NoSQL Exam Study Guide. LECTURE 19: NoSQL (11/19) examples of NoSQL databases - answerbig data, cassandra, dynamo, Hbase, MongoDB, voldemort 4 NoSQL types - answer-key-value stores (redis, riak, voldy) -document stores (mongo) -graph database (neo4j) -column-family stores (cassandra, hbase) 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 ©THESTAR EXAM SOLUTIONS 2024/2025 ALL RIGHTS RESERVED. 2 | P a g e -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 - answerNoSQL 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 - answerno join support NoSQL transactions - answerno 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

Content preview

©THESTAR EXAM SOLUTIONS 2024/2025

ALL RIGHTS RESERVED.



NoSQL Exam Study Guide.


LECTURE 19: NoSQL (11/19)

examples of NoSQL databases - answer✔big data, cassandra, dynamo, Hbase, MongoDB,
voldemort

4 NoSQL types - answer✔-key-value stores (redis, riak, voldy)
-document stores (mongo)
-graph database (neo4j)
-column-family stores (cassandra, hbase)

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

1|Page

, ©THESTAR EXAM SOLUTIONS 2024/2025

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

Document information

Uploaded on
November 24, 2024
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TheStar
3.7
(140)
Sold
709
Followers
178
Items
26617
Last sold
3 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions