1. INT306
Database Management Systems
INTRODUCTION
Text book
Database System Concepts
A. Silberschatz, H. F. Korth, S. Sudarshan
Course Instructor
Mr. Sumit Mittu
Assistant Professor and Placement Coordinator, CSE/IT
Lovely Professional University, Punjab (India)
sumit.12735@lpu.co.in sumit.mittu@gmail.com
http://tinyurl.com/askSumit
01-03-2014 11:46:08
2. IN THIS CHAPTER
•
•
•
•
•
•
database management system
database system applications
purpose of database systems
database system architecture
database users and administrators
database system components
01-03-2014 11:46:09
Sumit Mittu, Assistant Professor, CSE/IT
2
3. DATABASE MANAGEMENT SYSTEMS
• Database defined:
• Collection of the data that contains information relevant to
an enterprise
• DBMS defined:
• A collection of interrelated data and a set of programs to
access those data
• DBMS goal:
• To provide a way to store and retrieve database
information that is both convenient and efficient
01-03-2014 11:46:09
Sumit Mittu, Assistant Professor, CSE/IT
3
4. DATABASE MANAGEMENT SYSTEMS
• Examples of DBMS
•
•
•
•
•
•
Oracle
MS SQL Server
MySQL
IBM DB2
Sybase
Foxpro/Foxbase
• The following are NOT the DBMS
• SQL, PL/SQL, T-SQL
01-03-2014 11:46:09
Sumit Mittu, Assistant Professor, CSE/IT
4
7. PURPOSE OF DATABASE SYSTEMS
• To overcome disadvantages of File-processing
systems:
•
•
•
•
•
•
•
•
Data redundancy
Data inconsistency
Difficulty in accessing data
Data isolation
Integrity problems
Atomicity problems
Concurrent-access problems
Security problems
01-03-2014 11:46:09
Sumit Mittu, Assistant Professor, CSE/IT
7
10. DATABASE ARCHITECTURE
• 3-level architecture of database
• based on data abstraction
• View of Data
• Physical level
• Logical/Conceptual level
• View/User level
• Example of a customer record
01-03-2014 11:46:09
Sumit Mittu, Assistant Professor, CSE/IT
10
11. DATABASE ARCHITECTURE
• Instance
• Defined as the collection of information stored in the
database at a particular moment
• Schema
• Defined as overall design/structure of the database
• Types:
• Physical schema
• Logical/Conceptual schema
• View schema / User schema / Subschema
• Physical Data independence
01-03-2014 11:46:09
Sumit Mittu, Assistant Professor, CSE/IT
11
18. DATABASE ARCHITECTURE
• Influenced by the underlying computer system on
which the database is running:
•
•
•
•
Centralized Database
Client-server Database
Parallel (multi-processor) Database
Distributed Database
• Based on Client-server model, database can have:
• Two-tier architecture
• Three-tier architecture
01-03-2014 11:46:09
Sumit Mittu, Assistant Professor, CSE/IT
18