Presentation is loading. Please wait.

Presentation is loading. Please wait.

Database Management Systems

Similar presentations


Presentation on theme: "Database Management Systems"— Presentation transcript:

1 Database Management Systems

2 Course info Instructor: Yrd. Doç. Dr. Cengiz Örencik
Course material ses all the notes will be shared there

3 Book Not required You may use any database book
Database Management Systems – 3rd Edition Ramakrishnan and Gehrke

4 Grading Midterm 40% Inclass quizzes (2) 5% + 5% Final 50% Hws
Self study Not to be graded

5 Aim of the course Learning database system concepts
Learning how to design and implement a database application

6 Why do we need DBMSs? Computers were originally developed for number crunching. By time, data storage and processing became as important as scientific computing Amount and types of data increased : Image/audio/video data Genome data Customer transactions Database Management Systems were developed to manage this data.

7 Why do we need people who know about databases?
Someone should design the database Someone should maintain/tune the database Someone should design queries to retrieve data from the database Someone should deal with the recovery process when the system crashes

8 Intro Database Management System (DBMS) provides….
… efficient, reliable, convenient, and safe multi-user storage of and access to massive amounts of persistent data.

9 DBMS Massive – terrabytes/day Persistent
Safe – hard/software failure, power cut Multi-user Convenient Efficient Reliable

10 DBMS A Database Management System (DBMS) is a software package designed to store and manage databases We will not consider: Database applications may be programmed via “frameworks” Environments that help to develop program Ruby on rails, Django… DBMS may run in conjunction with “middleware” Web servers that interact with database Data-intensive applications may not use DBMS at all Store everything on files

11 Why Use a DBMS? Data independence Efficient access
Application programs don’t need details of data representation and storage Efficient access A variety of techniques Data integrity and security Enforce constraints, access control… Uniform data administration How different groups of users use it Organized to minimize redundancy Reduced application development time DBMS support most common important functions Concurrent access, recovery from crashes Multiple users use it without conflict Protect from effects of system failures

12 What do DBMSs do? They are system programs like the operating system
Database Management Systems (DBMSs) enable us to Create a database Populate the database Query the database Let multiple users use the database at the same time Recover the data when something goes wrong

13 What do DBMSs do? Lets say you would like to create a database for the library: You need to keep information about the books and who borrowed them What do we need to know about a book? Name Author Publisher Year For each book we need to keep that information Book (Name, Author, Publisher, Year)

14 What do DBMSs do? Name Author Publisher Year …. …
CREATE TABLE book (name CHAR(20), author CHAR(20), publisher CHAR(20), year INTEGER) INSERT INTO book (‘Kyle’s Mom’, ‘Eric McCarthy’, ‘Chef’, 2001) Name Author Publisher Year Kyle’s Mom Eric McCarthy Chef 2001 Death becomes him Kenny Grave Mr. Garrison 2000 ….

15 What do DBMSs do? Name Author Publisher Year …. … SELECT name
FROM book WHERE publisher = ‘Chef’ Name Author Publisher Year Kyle’s Mom Eric McCarthy Chef 2001 Death becomes him Kenny Grave Mr. Garrison 2000 ….

16 What do DBMSs do? DBMS User Database

17 Syllabus Introduction to Database Systems Entity Relationship Model
Relational Model SQL Queries, Triggers, and Stored Procedures Schema Refinement and Normal Forms Data Storage and Indexing Transaction Management Concurrency Control Crash Recovery

18 Queries What is the name of the student with sid 53680?
How many students are enrolled to DBMS course? How many instructors are there in the Computer Engineering Department? What fraction of students of DBMS course get a grade better than BB?

19 Summary DBMS used to maintain, query large datasets
Benefits include recovery from system crashes, concurrent access, quick application development, data integrity and security DBAs hold responsible jobs and are well paid Whether you know it or not, you’re using a database every hour


Download ppt "Database Management Systems"

Similar presentations


Ads by Google