edited by
698 views
3 votes
3 votes

Given,                       

Transaction T1 has n operation                                                            

Transaction T2 has m operation

Prove that, the total number of schedules possible is  $\frac{(m+n)!}{m!n!}$

edited by

1 Answer

1 votes
1 votes

First of all, let's permute everything; All operations of both the transactions.
Doing this will result in - (m+n)! 

Now,
We can't change the internal order of execution of operations within a schedule, we can just interleave the operations of both the transactions.

Therefore, to remove the permutations of internal operations of transaction T1, we need to divide the above expression by n!. Same goes for the transaction T2. Thus we get the expression $\frac{(m+n)!}{m!n!}$

Related questions

3 votes
3 votes
4 answers
1
Nandkishor3939 asked Jan 18, 2019
2,386 views
how many view equivalent schedules are possible for the Sch given below:
3 votes
3 votes
1 answer
2
thepeeyoosh asked Jan 6, 2018
3,225 views
No. Of serial schedules view equal to SS: R1(A), R3(D), W1(B), R2(B), W3(B), R4(B), W2(C), R5(C), W4(E), R5(E), W5(B) .If possible please provide detailed solutions.Thank...
0 votes
0 votes
1 answer
3
Harsh Saini_1 asked Dec 27, 2023
398 views
How many total $Conflict$ $Serializable$ $Schedules$ are possible that can be formed by $T1$ and $T2?$$T1:$ $r_1(A)$ $r_1(B)$ $w_1(B)$$T2:$ $r_2(B)$ $r_2(A)$ $w_2(B)$
4 votes
4 votes
1 answer
4
rahul sharma 5 asked Jul 12, 2017
1,222 views
Consider thw following transactions:-T1 :- r1(A) w1(A) r1(B) w1(B)T1 :- r2(A) w2(A) r2(B) w2(B)a) Number of schedules serializable as t1->t2?b) Number of schedules serial...