Professional Documents
Culture Documents
lma"ri #$a%ter 1
May 2, 2014
Module 1 - Motivation
Fundamentals of Database Systems
The design and implementation of the database component is a most significant aspect of Information system development Success of the Information system depends on the design of the database !
I think our smaller sized cans of drink are selling faster than the larger ones. Can you give me a breakdown? Sorry but we can only obtain reports showing total cans sold to each store. store
May 2, 2014
Module 1 - Contents
Fundamentals of Database Systems Introduces the concept of a database Introduces the concept of a database management system Describes the functions of a database management system
May 2, 2014
What is a Database?
A collection of related facts
&iling #a'inet (ard di"k full of data
)iary
*i'rary
May 2, 2014
What is a DBMS?
DBMS - )ata+a"e Management ,y"tem A soft are system for defining, constructing and manipulating databases for various applications DBMS may be general purpose !business applications" or special purpose !biological databases# geographic information# $$$"
May 2, 2014
Defining a database % Specifying the types# structures# and constraints for the data &onstructing a database % Storing the data on a storage medium Manipulating a database % 'uerying and updating the database
May 2, 2014
Application Programs/Queries
Stored Data"ase
May 2, 2014
The Stored Database % A collection of related facts The DBMS % The soft are that defines# constructs and manipulatesa database The Applications % The programs !in specific languages" that manipulate the database The (sers % )eople ho use the database system# through the DBMS interface or through application programs
module I - taufik (taufik2003@gmail.com) 5
May 2, 2014
Database Administrators Database Designers and Application )rogrammers *nd (sers % &asual *nd (sers % )arametric *nd (sers % Sophisticated *nd (sers
May 2, 2014
The database approach provides a central store of data and meta-data# and thus % Is not internal to an application program# as in traditional file processing environments % )rovides shared access for multiple users % +elieves the application programmer from various tedious boo, ,eeping tas,s % )rovides the facility to change the data ithout affecting the applications
May 2, 2014
10
o System &atalog
o o o ")ecution
Stored Database
May 2, 2014
11
&ontrolling redundancy +estricting unauthori0ed access )roviding multi-user interfaces +epresenting comple1 relationships *nforcing integrity constraints )roviding bac,up and recovery
May 2, 2014
12
(sers of traditional file processing systems# each had ,u'8ect 9rade a 2copy3 of relevant data# &S789 : &S789 : causing &S787 < &S787 < % Duplication of effort &inance-:y%e % 4astage of storage space Self (' Scholar % Inconsistent data Self .o ever# redundancy sometimes enhances performance - DBMS provides an environment here redundancy can be controlled
May 2, 2014
13
May 2, 2014
14
'uery -anguages for &asual *nd (sers )rogramming -anguage Interfaces for Application )rogrammers Forms and &ommands for )arametric (sers - >raphical (ser Interfaces !>(I" - Interface for 4eb *nabling - ?atural -anguage Interfaces
May 2, 2014
1-
Comple' elationships
DBMS has ability to represent comple1 relationships among the data
,tud-7o 7ame 56 Smith 8: Bro n 58 ;ames 56 Smith ,u'-#ode &S787 &S789 &@A<9 )egree BA BA BSc BIT ,u'8ect 9rade &S789 : &S789 : &S787 < &S787 < ;ames is doing BSc &S787 is the code for Soft are *ngineering
:itle #redit )e%artment Soft are *ng 79 &S** Intro to Info Sys 79 &S** Business Info Sys 76 &ommerce
May 2, 2014
1.
The DBMS has the capability to define and enforce integrity constraints hich are restrictions placed on the data# based on the semantics or meaning of the data % *very SubBect must have a uniCue &ode % A student cannot have 9 different grades for the same subBect % A student cannot enroll in more than four 79-credit subBects in a semester % Student ?o must be a 5 digit integer DBMS cannot chec, spelling or typing errors# for e1ample# if D as entered as the grade of a student getting : - DBMS ill not identify the error!
May 2, 2014
1/
"y"tem fail"
May 2, 2014
15
Module 1 - $evie!
Eey definitionsF Database DBMS !Many Functions" Database System G DBMS H Database
May 2, 2014
16
$ecommended $eadin#s
*lmasri = ?avathe
Chapter 1
May 2, 2014
20
*e't ...
Module 9
Relational Model
May 2, 2014
21