The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
1. Apply the query tuning on following query and explain why your modification is more efficient?
Â
SELECT S_name, S_Phone, S_Age
FROM STUDENT
WHERE S_Age > 22 OR S_Phone like '0555%’;
Â
Â
2. Consider the three transactions T1, T2, and T3, and the schedules S1 given below. Draw the serializibility (precedence) graphs for S1 and state whether schedule is serializable or not. If a schedule is serializable, write down the equivalent serial schedule(s).
Â
T1: r1(x); r1(z); w1(x)
T2: r2(z); r2(y); w2(z); w2(y)
T3: r3(x); r3(y); w3(y)
Â
S1: r1(x); r2(z); r3(x); r1(z); r2(y); r3(y); w1(x); w2(z); w3(y); w2(y)
Â
Â
3. What is cautious waiting deadlock avoidance algorithm? Explain it.
Â
Â
1.Apply the query tuning on following query and explain why yourmodification is more efficient?2.SELECT S_name, S_Phone, S_AgeFROM STUDENTWHERE S_Age > 22 OR S_Phone like '0555%’;2. Consider the three transactions T1, T2, and T3, and the schedules S1given below. Draw the serializibility (precedence) graphs for S1 andstate whether schedule is serializable or not. If a schedule isserializable, write down the equivalent serial schedule(s).T1: r1(x); r1(z); w1(x)T2: r2(z); r2(y); w2(z); w2(y)T3: r3(x); r3(y); w3(y)S1: r1(x); r2(z); r3(x); r1(z); r2(y); r3(y); w1(x); w2(z); w3(y); w2(y)3. What is cautious waiting deadlock avoidance algorithm? Explain it.
Attachments: