Lecture 1
Lecture 1
Lecture # 1
Required Text Book
Book Authors
Connolly, T. M., and Begg, C. E.
Book Title
Database Systems
A Practical Approach to Design,
Implementation, and Management
Book Edition and Publisher
4th Edition, Addison Wesley, 2005.
Reference Books
Book Authors
Hoffer,Jeffrey A., and Prescott, Mary
B., and McFadden, Fred R.
Book Title
Modern Database Management
Book Edition and Publisher
7th Edition, Prentice Hall, 2005.
Reference Books
Book Author
Kroenke, David M.
Book Title
Database
Processing
Fundamentals, Design and
Implementation
Book Edition and Publisher
10th Edition, Prentice Hall, 2006.
Reference Books
Book Author
Date, C. J.
Book Title
An Introduction to Database Systems
Book Edition and Publisher
8th Edition, Addison Wesley, 2003.
Course Objectives
To be able to understand the
underlying concepts of database,
and database management system
(DBMS)
To introduce students to the
concepts of relational data model
Analysis and design of database
SQL
Learn to work with Microsoft SQL
Administration
Course Contents at a Glance..
Fact-Finding Techniques
Entity-Relationship Model
Database Design
Course Contents at a Glance..
Transaction Management
Security
Marks Distribution
Sessional(Assignments, Quiz, Presentation,
50%
Introduction to Databases
Chapter 1
Chapter 1 - Objectives
Some common uses of database systems
Characteristics of file-based systems
Renting a video
Using the Internet
Studying at university
File-Based Systems
Early attempt to Computerize the manual
filing system
Collection of application programs that
PrivateOwner
ownerNo fName lName address telNo
CO46 Joe Keogh … 01224-861212
CO87 Carol Farrel … 0141-357-7419
CO40 … … … …
CO93 … … … …
Client
Lease
Fixed
Queries/Proliferation of application
programs
Programs are written to satisfy particular functions.
Any new requirement needs a new program.
Database Approach
Arose because:
Definition of data was embedded in application programs,
rather than being stored separately and independently.
No control over access and manipulation of data beyond
that imposed by application programs.
Result:
the database and Database Management System (DBMS).
Database
Shared collection of logically related data,
and a description of this data, designed to
meet the information needs of an
organization.
System catalog (metadata) provides
description of data to enable program-
data independence.
Logically related data comprises entities,
attributes, and relationships of an
organization’s information.
Database Management
System (DBMS)
A software system that enables users to
define, create, maintain, and control
access to the database.
(Database)application program: a
computer program that interacts with
database by issuing an appropriate
request (SQL statement) to the DBMS.
Database Management
System (DBMS)..
Database Approach
Data definition language (DDL).
Permits specification of data types, structures and any data
constraints.
All specifications are stored in the database.
A view
is essentially some subset of the
database.
Views - Benefits
Reduce complexity
Provide a level of security
Second generation
Relational
Third generation
Object-Relational
Object-Oriented
Advantages of DBMSs
Control of data redundancy
Data consistency
More information from the same amount of
data
Sharing of data
Improved data integrity (constraints)
Improved security (authentication, rights)
Enforcement of standards (data formats,
naming conventions, documentation etc.)
Advantages of DBMSs..
Economy of scale (economical cost)
Balance conflicting requirements
independence
Increased concurrency
Advantages of DBMSs..
Improved backup and recovery services
Disadvantages of DBMSs
Complexity
Size(disk space for DBMS)
Cost of DBMS
Additional hardware costs
Cost of conversion
Performance
Higher impact of a failure
Summary
Introduction to DB and DBMS
File-based systems and their limitations
Database approach
Components of the DBMS environment
Advantages/Disadvantages of DBMSs