1 DBMS Introduction
1 DBMS Introduction
Introduction
Basic Definitions
• Database: A collection of related data.
• Data: Known facts that can be recorded and have an
implicit meaning.
• Mini-world: Some part of the real world about which
data is stored in a database. For example, student
grades and transcripts at a university.
• Database Management System (DBMS): A software
package/ system to facilitate the creation and
maintenance of a computerized database.
• Database System: The DBMS software together with
the data itself. Sometimes, the applications are also
included.
Slide 1-2
DBMS
• DBMS contains information about a particular enterprise
– Collection of interrelated data
– Set of programs to access the data
– An environment that is both convenient and efficient to use
• Database Applications:
– Banking: all transactions
– Airlines: reservations, schedules
– Universities: registration, grades
– Sales: customers, products, purchases
– Online retailers: order tracking, customized recommendations
– Manufacturing: production, inventory, orders, supply chain
– Human resources: employee records, salaries, tax deductions
• Databases touch all aspects of our lives
Purpose
• Drawbacks of using file systems to store data:
– Data redundancy and inconsistency
– Difficulty in accessing data
– Data isolation
– Integrity problems
– Atomicity of updates
– Concurrent access by multiple users
– Security problems
Slide 1-5
Example of a Database
• Some mini-world relationships:
– SECTION are of specific COURSE
– STUDENT take SECTION
– INSTRUCTOR teach SECTION
– COURSE are offered by DEPARTMENT
– STUDENT major in DEPARTMENT
Slide 1-6
Levels of Abstraction