What is serializability of conflicts?

I read on google about serializability of conflict and serialization.

But I do not get the correct definition and the difference between serializable and serializable conflicts.

I only get one. This serializability of conflicts implies serializable.

In many ways, they talked more about serializable and serializable conflicts the same.

Can someone explain what a serializable conflict is and the difference between serializability and serializable with examples.

Thanks for the advance!

+4
source share
2 answers

An answer was found to my question.

Serializable , . , , .

: -

    T1                               T2

Read(X)
                                   Read(y)

Write(X) 
                                  Write(Y)

. , .

, . , - .

: -

    T1                               T2

Read(X)
                                   Read(X)
                                   Write(X)

Write(X) 
Read(Y) 
Write(Y)
                                  Read(Y)
                                  Write(Y)

T1 T2 . , T2 X T1. , T1 X. T2. .

+1

enter image description here

: . - . . .

Serializable :

  • .
  • .
0

Source: https://habr.com/ru/post/1612885/


All Articles