Schedule and its types
Schedule : it refers to the sequence in which the set of concurrent/multiple transactions is executed. - It is the sequence in which the operations (such as read, write, commit, abort) of multiple transcation executed - so it helps in data consistency and integrity so for example, if we have T1, T2, T3 .... TN transcations then the possible schedule = n! Incomplete schedule : An incomplete schedule is one where not all transactions have reached their final state, either commit or abort T1: Read(A) T1: Write(A) T2: Read(B)\ T2: Write(B) T2: commit Here, T1 is still in progress, as there is no commit for transaction T1 Complete schedule : A complete schedule is one where all transactions in the schedule have either committed or aborted T1: Read(A) T1: Write(A) T1:commit T2: Write(B) T2: commit Types of schedule: 1 . serial schedule : transaction executed one after another. menas wait for T1 to commit/ abort then t2 start Advantage : - It ...