08 - OLTP concurrency Flashcards

1
Q

When do operations conflict?

A

If one writes an object before another reads or writes it

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

What is an S lock?

A

Read / shared lock

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

What is an X log?

A

Write / exclusive log

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

What is an IS lock?

A

Intention Shared lock

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

What is an IX lock?

A

Intention Exclusive Lock

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

S lock compatibility

A

S, IS

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

X lock compatibility

A

Nothing

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

IS lock compatibility

A

S, IS, IX

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

IX log compatibility

A

IS, IX

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