0% found this document useful (0 votes)
28 views

Welcome!: Database Systems COMP-213

This document provides information about the COMP-213 Database Systems course. It lists prerequisites of COMP-200 and COMP-102/111. It warns students to not rely solely on lecture slides and to study books and other resources. The agenda includes discussing the course mission, significance of databases, database definitions, and course contents. Real-world database applications are listed. Advantages of centralized databases include reduced redundancy, data sharing, consistency, integration, and independence of programs and data. Disadvantages include cost, vulnerability, complex recovery, and difficulty changing the DBMS.

Uploaded by

scorpion k
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Welcome!: Database Systems COMP-213

This document provides information about the COMP-213 Database Systems course. It lists prerequisites of COMP-200 and COMP-102/111. It warns students to not rely solely on lecture slides and to study books and other resources. The agenda includes discussing the course mission, significance of databases, database definitions, and course contents. Real-world database applications are listed. Advantages of centralized databases include reduced redundancy, data sharing, consistency, integration, and independence of programs and data. Disadvantages include cost, vulnerability, complex recovery, and difficulty changing the DBMS.

Uploaded by

scorpion k
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 19

Welcome!

Database Systems
COMP- 213

By:
Shahid Mahmood
Pre-requisites for COMP-213
 COMP-200 Data structures and
algorithms

 (COMP-102 Programming
Fundamentals)

 (COMP-111 Object Oriented


Paradigm)
Warning!
 Lecture slides are high-level
description of lectures

 Relying only upon the slides do


not guarantee good grades in
exams

 For achieving good grades in


exams always attend lectures,
Study books, and explore web
resources.
Agenda
 Mission Objective of the course

 Significance of DBS

 Definition of Database System

 Course Contents
Mission Objective
 To provide a fair understanding
of database systems, their
architecture and how to develop
and maintain them
Real world applications of database
• Students records; Employees records

• Records about games and players

• Collection of pictures, films

• Inventory Management systems

• Customers information in a bank,


utility service providing company

• Database of web pages

• Database in scientific applications


Why computerized database
 Due to huge volume of data in the
database

 For better organization of various


forms of data

 Due to query needs

 Due to real time database use in


different applications
Basics of Database
 Data: Data is facts about a thing such
as: People, Objects, Events, and Ideas
etc. (it is incomplete information) 

 Information: Data in presentable and


meaningful form on which some
decision can be taken.

 Information is Contents of a
message
Basic Anatomy of Database
 Character  Field  Record  File 
Database

 For Example: Characters {A, S} 


Fields {Shahid, Pakistan}  Record
(Single) {CS 002, Shahid, Asst. Prof.}
 Files {Personal data, Salary} 
Databases {Database of all
employees of CS &IT, Database of
students in CSCS-100}
Definition of Database
(A) A shared collection of logically
related data, designed to meet the
information needs of multiple users.

(B) A database is a self describing (Meta


data) collection of integrated records.

(C) A collection of interrelated files from


which information can be retrieved
and within which information can be
manipulated.
Defining the modeling of ‘Real-
world System’
For example: A bank system, A ticket
reservation system, A departmental
store inventory system etc.,

Modeling: Convert the data involved


into electronic form + Convert
necessary structures to keep the data
into electronic form + Keep all the
rules and constraints on data in
electronic form as part of this system
File Processing Systems
A file processing systems/
environment is a collection of
programs that perform services for
the end users such as production of
reports.

They rely upon inter-dependence of


data and related program application
File Processing Systems
Historical Aspects: Initially computers
were used for Computational/
Engineering purposes. Later on
computers were used for commercial
applications which resulted into
generation of file processing
systems/ environment.
File Processing System
 Various departments of an organization use
their own data files and applications
 There is program and data interdependence;
(Any change in program or data will unnecessarily effect other
related data or programs)

 Necessary data duplication or redundancy

 Inconsistent data

 No data sharing between various departments


Comparison of databases
 Flat-file Database: The format of a
database where all data is stored in a
plain text file like the worksheet of MS
Excel.

It is appropriate for holding variable length


data.

 Relational Database: A database that


groups data using common
properties/attributes found in the data
set. The data is stored in tables
(relations, entity sets, or file) which are
usually related with each others.
Advantages of centralized
database systems
+ Data redundancy/ duplication control: Reduce
Unnecessary data repetition

+ Centralized Data Sharing (Multiple data accessibility


and responsiveness)

+ Data consistency: Appearance in the same database


reflects same image

+ Data Integration: Data are logically related in a


single relation therefore easy to enquire or update

+ Convenient application development: New


applications can use data already stored

+ Independence of programs and data

+ Security of Data: DBA and DBMS take care of it.


Advantages of centralized
database systems
+ Easy updating and maintenance

+ Better Concurrency Control: Controlling parallel


processes

+ Economy of scale

+ Better backup and recovery procedures

+ Provide ease to real-time systems

+ Easy carry and transfer


Disadvantages of Database
systems
 Costly

 Increased vulnerability due to centralized


and integrated nature

 Complex Recovery

 Need for explicit backup

 Difficult to change the DBMS

 Conversion from manual or from file system


is difficult
Questions?

You might also like