Week 12A (Data Storage and Flow Management) Flashcards

1
Q

basic idea of nosql databases

A

operate without a schema

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

when are nosql databases used

A

useful when dealing w/ non-uniform or custom fields

can add fields w/o defining change in structure first

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

in nosql key value storage how is a value treated

A

just as a blob, application is responsible for understanding data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

suitable usecases for nosql key val storage

A

session info

user prof, pererfences

shopping cart data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

non-suitable usecases for nosql key val

A

relationships between data

multi operation transactions

query by data (theres no way to inspect value on server side)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

in nosql document storage where are documents stored

A

in val part of the key-val store

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

in nosql document storage what are documents

A

contains data structure (maps, tres, collections)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

suitable usecases for nosql document storage

A

event logging

blogging platforms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

non-suitable usecases for nosql document storage

A

complex transactions spanning diff ops

queries against varying aggregate structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

in nosql col value store where is data stored

A

in column family as rows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

in nosql col value store what is a colunmn family

A

groups of related data that is often accessed together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what type of db is google big table

A

nosql column family

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

how do you store semi structured data at scale

A

google bigtable

nosql col family

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is data in bigtable

A

uninterpreted strings

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

in bigtable, how are large tablets broken down

A

into tablets, they hold a contiguous range of rows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Each cell in Bigtable can contains multiple versions of the same data, how is this fixed

A

indexed by timestamp. most recent versions can be read first

17
Q

What is Google SSTable (Sorted String Table)

A

persistently ordered immutable map from key to values

keys and vals are arbitrary byte strings

18
Q

in bigtable, how are tablets located

A

give the bigtable master the row you want, and itll point you to right machine

19
Q
A