jahan pe aap ye prove kar rahe ho ki ye serializable nahi hai, agar usi problem ko precedence graph se solve kia jae to ye serializable hai. Graph mei T1 ki indegree hogi zero. To pehle T1 and fir T2 chalega to ye serializable hai and loop b nahi hoga. ye kese ho sakta hai ?
loop nhi hoga q k here loop basically means that the starting transaction in the preceding graph should not end on the same starting transaction i.e of t1 is starting transaction then according to precedence graph it should not come again to itself . . hope doubt is clear
00:01 Shared exclusive locking may not always guarantee serializability 01:30 Concurrent protocol and serializable schedule 02:45 Exclusive and shared locks are used in transactions to achieve serializability. 04:07 Exclusive and shared locks in a transaction. 05:30 Deadlock is a situation where two or more processes are waiting for each other to release resources. 06:59 Deadlock is a special case where exclusive locks lead to a deadlock problem 08:24 Starvation and waiting in lock methodology 09:40 Shared exclusive lock is a protocol to manage locks
i have doubt after 1:42 timestamp like how it is loop so in T1 w(a) and T2 r(a) is right ,this make arrow but T2 r(a) how it will make arrow because in T1 there is no w(a) after the timeline of T2 r(a).
you can take R(A) & W(A) in T1 at the bottom instead of R(B) & W(B) OR Add R(A) & W(A) at the bottom of T1 He was in a hurry and explained it wrong I guess
1:36 (ruclips.net/video/UsqtDD1VriY/видео.html) So if T2 is executed first and then T1 as they both are concurrent we dont know which one is selected by query engine. this will make it serializable or not?
i was going to skip this topic, but my gf told me take the idea from gate smashers , now I got it well thanks man continuing all your vidoes. next i will start OS
How simply you explain things Sir. Won't be able to forget lifetime. Thank you so much :)
Gate Smashers entire channel can cover your Btech syllabus more efficiently than any other University
Satisfied completely ❤❤ from Nepal. It helps me on my DBMS EXAM❤❤
No sir 3:15 it is a serializable schedule T1->T2
fair point. non conflict pairs can be swapped i guess
Just chane B to A at bottom of T1... Then construct a precedence graph and see....
@@svaibavbajra Exactly
@@doofsCat yea i think he wanted to write A wrote B mistakely.
Thanks sir (real meaning of Teacher) 💜👍🏿
example shown for first is serializable as R(A) and R(B) are non conflict pair and R(A) and W(B) are also non conflict pair
I'm also confused there how he said that it cannot be serialized
Exactly
Gurujee shandar jabardast zindabad
sahi padha rahe ho ap.. ekdam mast!
9:00
T1 Ya bechara wait kar rha ha
Sir wait karta reh
Best line from Sir
God of explanation. Thank you so much sir,
jahan pe aap ye prove kar rahe ho ki ye serializable nahi hai, agar usi problem ko precedence graph se solve kia jae to ye serializable hai. Graph mei T1 ki indegree hogi zero. To pehle T1 and fir T2 chalega to ye serializable hai and loop b nahi hoga. ye kese ho sakta hai ?
loop nhi hoga q k here loop basically means that the starting transaction in the preceding graph should not end on the same starting transaction i.e of t1 is starting transaction then according to precedence graph it should not come again to itself
.
.
hope doubt is clear
That's true. The schedule isn't serial but is definitely serializable. Should have come up with a better e.g.
@@fastio8489 yeah instead of r(b) and w(b) at last in t1, he could have shown r(a) and w(a) again.
Well said
Thanks Sir .... My ugc Net xam is on 4th Dec...need ur blessings Sir 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
Did you qualify?
@@ashupochh8310 lol😂
Clear hua ?
No words for explanation! fabulous sir keep it up ....
aise kese dedun...xD MAST EXPLANATION
Wonderful Explain Nation Topic Sir 🖤🖤😊
Just amazing.. ✨
Amazing video sir ♥️
Inn transactions ko mahila kisne bana dia? :p
Continously watching your videos sir, amazing content!!
love from nepal
Really simple and fine explanation.
best lecture sir
understood each and everything...!!!!!
good explanation sir
This was a great one ❤️
sir according to precednce graph transactions are conflict serializable
00:01 Shared exclusive locking may not always guarantee serializability
01:30 Concurrent protocol and serializable schedule
02:45 Exclusive and shared locks are used in transactions to achieve serializability.
04:07 Exclusive and shared locks in a transaction.
05:30 Deadlock is a situation where two or more processes are waiting for each other to release resources.
06:59 Deadlock is a special case where exclusive locks lead to a deadlock problem
08:24 Starvation and waiting in lock methodology
09:40 Shared exclusive lock is a protocol to manage locks
Excellent lecture it was sir
Good explanation sir ji 😊❤️
Superb sir thank you so much
Thanks sir, very helpful video
Great explanation sir g thank you
thanks sir.....great explaination
thank you so much sir for your kind information
i have doubt after 1:42 timestamp like how it is loop so in T1 w(a) and T2 r(a) is right ,this make arrow but T2 r(a) how it will make arrow because in T1 there is no w(a) after the timeline of T2 r(a).
Sir pehle T1 me 2:10 me x lock lagaye, further unclock kiye 2:39 me.
Ab lock release ho rhe h to phir lock kaise lag gya 2:58
Thank u sir. 🙏
1st comment bhai thanks alot
Genius
ty
Thank u sir
cascade rollback can also be a drawback of this ??
Thanks alot sir...Plz will you make a videos about Artificial Intelligence and object oriented Analysis and design ..
You are great teacher..... Plz make a video on multilevel security, data mining, clustring my exam tnearst
Need 3x option in youtube
3:20 ye serializable ni hoga, B to alg h !!!
although your videos are suberb but i have a doubt on this. can someone please explain
you can take R(A) & W(A) in T1 at the bottom instead of R(B) & W(B) OR Add R(A) & W(A) at the bottom of T1
He was in a hurry and explained it wrong I guess
Sir sometimes read happens from database or sometimes happens from another transaction even when it is not committed like in problem 2
🙏🙏🙏
Thanks
Is it possible to issue a read lock again to same object when previous read lock is in contact. And there is never release lock mechanism?
7:23, I don't know why I am laughing so hard
Sir, cascading rollback bhi ho sakta hai esme
sir who both are requesting to unlock ? G x(A) and G x(B) ?
sir please answer tomorrow is my exam
in deadlock
both are requesting the lock
t1 and t2
irrecoverrable or casacadeless ne diff kya h?
waah
kuch nh smjhaaa firse dekhna paregaaa😂
Sir SQL server me replication and not for replication pr tutorial banao
1:36 (ruclips.net/video/UsqtDD1VriY/видео.html)
So if T2 is executed first and then T1 as they both are concurrent we dont know which one is selected by query engine.
this will make it serializable or not?
i was going to skip this topic, but my gf told me take the idea from gate smashers , now I got it well
thanks man
continuing all your vidoes.
next i will start OS
isme bhi kabhi bol raha ki ek jagah access nahi denge aur usi same case mein bol raha hai ki wait karega
Ghh
T1 ke sath sahi nhi hua
thanks sir
thank you sir
Thanks sir
Thank you sir.
Thank you sir
Thank you sir
Thankyou sir