



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The concepts of query optimization and evaluation in database systems. The lecture, given by dr. Ala al-zobaidie, discusses the purpose of query optimization, the steps of query evaluation, and various optimization techniques such as heuristic, graph-based, cost-based, and semantic optimization. The document also includes an example using a typical tool and covers distributed optimization.
Typology: Study notes
1 / 5
This page cannot be seen from the preview
Don't miss anything!
The slides are based on the textbook Database Systems by Thomas Connolly & Carolyn Begg 30/05/2007 Lecture 15 2
30/05/2007 Lecture 15 3
30/05/2007 Lecture 15 4
Staff Branch
staff.branchNo = branch.branchNo staff.position = ‘manager’branch.city = ‘London’
30/05/2007 Lecture 15 7
Staff
Branch
position= ‘manager’ city= ‘London’
where staff.branchNo = branch.branchNo
30/05/2007 Lecture 15 8
Staff.branchNo=Branch.branchNo
I haven’t shown this one
30/05/2007 Lecture 15 9
30/05/2007 Lecture 15 10
There is a trade off between static vs dynamic queries
30/05/2007 Lecture 15 19
SELECT p.propertyNo, p.street FROM Client c, Viewing v, PropertyForRent p WHERE c.prefType = ‘Flat’ AND c.clientNo = v.clientNo AND v.propertyNo = p.propertyNo AND c.maxRent >= p.rent AND c.prefType = p.type AND p.ownerNo = ‘CO93’; 30/05/2007 Lecture 15 20
30/05/2007 Lecture 15 21
30/05/2007 Lecture 15 22
30/05/2007 Lecture 15 25
30/05/2007 Lecture 15 26
30/05/2007 Lecture 15 27 30/05/2007 Lecture 15 28
30/05/2007 Lecture 15 29