1database Systems Master IBU
1database Systems Master IBU
Systems
Master Studies
Course Materials
• Required: Database Systems, 4th edition, A practical
approach to Design, Implementation and
Management
• Recommended: Database Management Systems, X
Edition, Raghu Ramakrishnan and Johannes
Gehrke, McGraw-Hill.
• Beginning Database Design Solutions, Wrox, Rod
Stephens, 2010
Doc.Dr. Festim Halili
Grading
• Homework
• Projects
• Use SQL Server to design a database in two
projects.
– The first project is on the entity-relational (ER) model,
– The second project is on relational algebra (RA) and
relational calculus (RC).
• Final Exam
– Exams in-class, closed-book, non-cumulative
• Database:
a very large, integrated collection of data.
• Models a real-world enterprise
– Entities (e.g., teams, games)
– Relationships
(e.g., The Forty-Niners are playing in The Superbowl)
– More recently, also includes active components , often
called “business logic”. (e.g., the BCS ranking system)
• What if you
wanted to find out
which actors
donated to John
Kerry’s
presidential
campaign?
• Try “actors
donated to john
kerry” in your
favorite search
engine.
• Thought Experiment 1:
– You and your project partner are editing the same file.
– You both save it at the same time.
– Whose changes survive?
Physical Schema
• Physical schema describes
the files and indexes
used. DB
DB
• Data independence
• Efficient data access
• Data integrity & security
• Data administration
• Concurrent access, crash recovery
• Reduced application development time
• So why not use them always?
– Expensive/complicated to set up & maintain
– This cost & complexity must be offset by need
– General-purpose, not suited for special-purpose tasks (e.g. text
search!)