Upload
sourav-kumar-shaw
View
218
Download
0
Embed Size (px)
Citation preview
7/27/2019 IMP KM
1/33
Data Base Management
By-
Mahendra Prasad
Meghna Manna
Shiva Prasad
10/16/2013 1
7/27/2019 IMP KM
2/33
Data
Data are symbols which represent, describe
or record facts. Thus data are collection of
facts related to events, objects etc.
Data are in unorganised form but are able tobe organised into useful information.
10/16/2013 2
7/27/2019 IMP KM
3/33
Examples of Data Sources
E-mails
Credit cardswipes
RFID tagsDigital video
surveillance
Radiology scans
Blogs
10/16/2013 3
7/27/2019 IMP KM
4/33
Data, Information, Knowledge, Wisdom
10/16/2013 4
7/27/2019 IMP KM
5/33
Managing Data
Difficulties in Managing Data
Amount of data increases
exponentially.
Data are scattered and collectedby many individuals using
various methods and devices.
Data come from many sources.
Data security, quality andintegrity are critical.
10/16/2013 5
7/27/2019 IMP KM
6/33
Difficulties in Managing Data (continued)
An ever-increasing amount of data needs to be
considered in making organizational decisions.
10/16/2013 6
7/27/2019 IMP KM
7/33
Traditional File management
Also known as traditional data management
or traditional file processing.
It involves sharing storing data into files which
can be accessed, manipulated, updated andworked.
Computer systems stores files on secondary
storage devices. Depend on the storage and
access methods, files can be classifies asunder:
10/16/2013 7
7/27/2019 IMP KM
8/33
Sequential access file;
Indexed-sequential access file;
Direct access file.
10/16/2013 8
7/27/2019 IMP KM
9/33
Problems in Traditional File
Management
Data Redundancy;
Lack of flexibility;
Atomicity Problem;
Lack of Security;
Lack of data sharing.
10/16/2013 9
7/27/2019 IMP KM
10/33
Database Management System
(DBMS)
Database: Database is a collection of data,
integrated and organized into a single
comprehensive file system which is arranged to
minimize duplication of data and to provideconvenient access to data within that system to
satisfy a wide variety of user needs.
When an organization has a centrally
controlled and integrated collection of data, ithas a data base.
10/16/2013 10
7/27/2019 IMP KM
11/33
Definition of DBMS
A database management system is simply the
software that permits an organization to centralize
data, manage them efficiently, and provide access
to the stored data by application programs.
The following are examples of database
applications:
Computerized library systems
Automated teller machines Flight reservation systems
Computerized parts inventory systems
10/16/2013 11
7/27/2019 IMP KM
12/33
Characteristics of DBMS
DBMS has the capacity to store large amount
of data necessary forusers needs. They are
stored on direct accessible devices;
It has capacity to interrogating data files,retrieving, and modifying data and recording
the changes.
The data are combined to form operational
units to minimise the duplication of data and
increase access to all data in data base;
10/16/2013 12
7/27/2019 IMP KM
13/33
Contd
The control in the system limits access to the
database and builds the confidentiality of data
in the database;
The advancement in the database enables toadd more data and program to the system.
10/16/2013 13
7/27/2019 IMP KM
14/33
Objectives of DBMS
Complexity of an organisations information systemsis reduced through centralisation of datamanagement.
Data redundancy and inconsistency are reduced anddata security is increased by eliminating all isolatedfiles in which the same data elements are replaced.With the result, data management cost is reducedsignificantly.
Program data dependence is reduced by providingcentral control of data creation and definition.
Data, once stored, are accessed by multiusers. Thus,data collected for one purpose can be used to servevarious purposes as the need arise.
10/16/201314
7/27/2019 IMP KM
15/33
Conceptual model of DBMS
Non
programming
user
Database
administrator
Programming
user
Database Definition
Database creation
Database redefinitionDatabase restructure
Integrity controls
Database Query
Language facility
Database
programming
language interface
Database
Application
program
10/16/201315
7/27/2019 IMP KM
16/33
DBMS has following four components:
Database administrator;
Database users;
Database software;
Database.
10/16/2013 16
7/27/2019 IMP KM
17/33
Database Management Systems
10/16/2013 17
7/27/2019 IMP KM
18/33
Entity-Relationship Modeling
Database designers plan the database
design in a process called entity-
relationship (ER) modeling.
ER diagrams consists of entities, attributesand relationships.
10/16/2013 18
7/27/2019 IMP KM
19/33
Entity-relationship diagram
10/16/2013 19
Customer AccountDepositor
Name
Identity
numberAddress
number Balance
7/27/2019 IMP KM
20/33
Student Database Example
10/16/2013 20
7/27/2019 IMP KM
21/33
Normalization
Normalizationis a method for analyzing and
reducing a relational database to its most
streamlined form for:
Minimum redundancy Maximum data integrity
Best processing performance
10/16/2013 21
7/27/2019 IMP KM
22/33
Non-Normalized Relation
10/16/2013 22
7/27/2019 IMP KM
23/33
Normalizing the Database
10/16/2013 23
7/27/2019 IMP KM
24/33
Normalizing the Database
10/16/2013 24
7/27/2019 IMP KM
25/33
Normalization Produces Order
10/16/2013 25
7/27/2019 IMP KM
26/33
Data Warehousing
Data warehouse
Data warehouses are organized by business
dimension or subject.
Data warehouses are multidimensional.
A Data Cube
10/16/2013 26
7/27/2019 IMP KM
27/33
Relational Databases
10/16/2013 27
7/27/2019 IMP KM
28/33
Multidimensional Database
10/16/2013 28
7/27/2019 IMP KM
29/33
Equivalence Between Relational and
Multidimensional Databases
10/16/2013 29
7/27/2019 IMP KM
30/33
Equivalence Between Relational and
Multidimensional Databases
10/16/2013 30
7/27/2019 IMP KM
31/33
Equivalence Between Relational and
Multidimensional Databases
10/16/2013 31
7/27/2019 IMP KM
32/33
Benefits of Data Warehousing
End users can access data quickly and easily
via Web browsers because they are located
in one place.
End users can conduct extensive analysiswith data in ways that may not have been
possible before.
End users have a consolidated view of
organizational data.
10/16/2013 32
7/27/2019 IMP KM
33/33
10/16/2013 33