Week 3: Big Data Modelling Flashcards
1
Q
3 Components of a data model
A
- Structures
- Operations
- Constraint
2
Q
How is a data model characterized ?
A
- Structure of the data that it admits
- Operations on that strcutre
- A way to specift constraints
3
Q
Example of structued data
A
- First name
- Last name
- DoB
4
Q
Example of semi-structured data
A
- First Name
- Last Name
- DOB
- Occupation
- Salary
5
Q
Example of unstructured data
A
02023#02023#02023#02023#02023#02023#02023
- Hex dump
6
Q
NoSQL stands for
A
- Not Only SQL
7
Q
4 types of NoSQL database models
A
- Key / Value
- Document
- Wide column stores
- Graph
8
Q
4 Advanatages of Key / Value database
A
- Simplest and most flexible
- Stores a value indexed by a key
- No Schema
- Value is a binary large object which doesnt care about data type
9
Q
3 Key Value suitable use cases
A
- Session information
- User profiles and preferences
- Shopping cart data
10
Q
3 Key Value unsuitable use cases
A
- Data with relationships
- Operations on sets of data
- Transactions with multiple operations
11
Q
3 Document-oriented database suitable use cases
A
- Event logs
- CMS / Blogging
- Analystics
12
Q
3 Docuement-oriented database unsuitable use cases
A
- Complex cross-document transactions
- Queries that rely on fixed schema
13
Q
Wide column stores 3 use cases
A
- Event logs
- CMS / Blogging
- Analytics
14
Q
2 Wide column stores unsuitable use cases
A
- Complex cross-document transactions
- Queries that rely on fixed schema
15
Q
Graph database consists of what 2 elements
A
- Node - an entity
- Edge - a relationship