Question
1-Describe situations in which denormalization of a database schema would be used? Answer in your own words and give examples. 2-Give a brief explanation of
1-Describe situations in which denormalization of a database schema would be used? Answer in your own words and give examples.
2-Give a brief explanation of why the following query may not be promoting the query optimizer to use any index and show how it can be improved to be able to use an index.
SELECT ESSN, FName, LName, Salary, Age
FROM EMPLOYEE
WHERE Age < 35 OR Salary < 2000
3-What is a schedule? How many number of serial schedules can be formed with 3 transactions? Write down all serial schedule.
4-Check whether the schedules is conflict serializable or not? If yes, then why?
Explain by drawing precedence graph.
a) S: R2(A); W2(A); R3(C); W2(B); W3(A); W3(C);
R1(A); R1(B); W1(A); W1(B)
b) S: R2(A); R3(C); W3(A); W2(A); W2(B); W3(C);
R1(A); R1(B); W1(A); W1(B)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started