Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 30

Data Base Management

System

By: Huma Nauman

12/07/21 National University Of Modern Languages 1


Course contents

 The context of data base management


 Database environment
 Database Development process

 Database Analysis
 Modeling data in the organization
 The enhanced E-R model and business rule

12/07/21 National University Of Modern Languages 2


Continue..

 Database Design
 Logical data base design and relational model
 Physical data base design and performance
 Implementation
 SQL

12/07/21 National University Of Modern Languages 3


LECTURE 1

 INTRODUCTION:
 File processing System
 Manual data processing
 Huge amount of data
 Management problem
 Time taking
 In-efficient
 Data privacy problems
 Data duplication

12/07/21 National University Of Modern Languages 4


Continue..
 Data integrity and security
 Limited data sharing
 No backups
 Scratch development is not easier
 Changes are made with no ease (program data
dependency)

12/07/21 National University Of Modern Languages 5


 Database:
 An organized collection of logically related data.
 Data:
 Facts, text, graphics, images, sound, and video
segments that have meaning in the user environment.
 Information:
 Data that have been processed in such a way as to
increase the knowledge of the person who uses the
data.

12/07/21 National University Of Modern Languages 6


Example Information

Name ID Major GPA

Baker, 324917628 MGT 2.9


Kenneth

12/07/21 National University Of Modern Languages 7


Metadata
 Data that describes the
properties or
characteristics of other
data.
 Example

Name Type Length Min Max description

Course Alphanu 30 Course id


meric and name

12/07/21 National University Of Modern Languages 8


Enterprise Data Model

A graphical model that shows the high-level


entities for the organization and the
relationship among those entities.

12/07/21 National University Of Modern Languages 9


Entity data model

CUSTOMER PRODUCT

Places Has
Is placed by
Is for
ORDER
ORDER LINE

12/07/21 National University Of Modern Languages 10


Concepts

 Data warehouse:
 Database that contain historical and summarized
information. Such a database is usually called
data warehouse or called data mart.
 Database application:
 An application program that is used to perform a
series of database activities (create, read, update,
delete) on behalf of database users.

12/07/21 National University Of Modern Languages 11


Basic operations

 Four basic operations of database are:


 Create (add new data to the database).
 Read (read current database data).
 Update (update or modify current database data).
 Delete (delete current data from the database)

12/07/21 National University Of Modern Languages 12


Range of Database Applications

 Personal database
 Workgroup database
 Department database
 Enterprise database
 Internet, extranet, intranet database

12/07/21 National University Of Modern Languages 13


Personal database

 Designed to support one user.


 Long resided on personal computers.
 Simple database applications that store
customer information and the details of
contacts with each customer can be used
from a personal computer.
 Can easily transferred to an other device for
backups.

12/07/21 National University Of Modern Languages 14


Continue.
 Key decisions for developing personal database

 Buy or built
 Should it be developed by end-user or professional
 What data is required and how should be designed?
 How data in personal database should be synchronized
with other database
 Who is responsible for the data accuracy of the personal
database.

12/07/21 National University Of Modern Languages 15


Workgroup database

 Workgroup is relatively small team of people


who collaborate on the same project or
application or a group of similar projects or
applications.
 Comprises fewer than 25 persons.
 Designed to support the collaborative efforts
of such a team.

12/07/21 National University Of Modern Languages 16


Continue.

 Method of sharing the data:


 Each member of the workgroup has a desktop
computer and the computers are lined y means of
the LAN.
 Database is stored on a central device called the
database server. Which is also connected to the
network.
 Thus each member of the workgroup has the
access to the shared data.

12/07/21 National University Of Modern Languages 17


Continue.
 Key decisions for developing workgroup database

 How can the design of the database be optimized for a


variety of group members information requirements.
 How can the various members can use the database
concurrently without compromising on integrity.
 Which database operations should be performed on
workstations and which should be performed on servers.

12/07/21 National University Of Modern Languages 18


Department database
 Department is a functional unit within an
organization.
 Examples are:
 Manufacturing, accounting, marketing etc.
 Department is generally larger than the workgroup
(between 25 to 100 persons).
 Designed to support the various activities of the
department.
 This is the most common type of database among
all of them.

12/07/21 National University Of Modern Languages 19


Continue.
 Key decisions for developing department database:
 For adequate performance how can a database and its
environment be designed.
 How can security be provided for un-authorized disclosure
or distribution of sensitive data.
 Do other department maintain the same type of data and if
so, how can data redundancy and consistency of data and
metadata can best be managed.
 Whether should create a distributed database as users of
the database are geographically dispersed.

12/07/21 National University Of Modern Languages 20


Enterprise database

 Its scope is the entire organization.


 It supports the organization-wide operations
and decision making.
 In one enterprise there can be may enterprise
databases.
 Evolution of enterprise database results in
 ERP
 Data warehousing implementation.

12/07/21 National University Of Modern Languages 21


Continue.

 ERP (ENTERPRISE RESOURCE PLANNING)


 A business management system that integrates
all functions of the enterprise, such as
manufacturing, sales, finance, marketing etc.
 They are the software applications that provide
the data necessary for the enterprise to examine
and manage the activities.

12/07/21 National University Of Modern Languages 22


Continue.
 Data warehouse:
 An integrated decision support database whose
content is derived from the various operational
database.
 While ERP system works with the current
operational data of the enterprise, data
warehouse collects their contents from the various
operational database, including personal,
department etc database.
 It provides user the opportunity to work with
historical data.

12/07/21 National University Of Modern Languages 23


Continue.

 Legacy data:
 Data contained by a system often used prior to
the installation of the new system.

12/07/21 National University Of Modern Languages 24


Extranet and Intranet Database

 Extranet:
 Use of internet protocols to establish limited
access to company data and information by
company’s customers and suppliers.
 Intranet:
 Use of internet protocols to establish access to
company data and information that is limited to
the organization.

12/07/21 National University Of Modern Languages 25


Concepts:
 User view:
 A logical description of some portion of the
database that is required by the user to perform
some task.
 Constraint:
 A rule that cannot be violated by database users.
 Repository:
 A centralized knowledge base of all data
definitions, data relationships,, screen and report
formats, and other system components.

12/07/21 National University Of Modern Languages 26


Components of the Database
Environment
 Computer-aided software engineering tool CASE:
 Repository
 Database Management System
 Database
 Application program
 User interface
 Data administrators
 System developers
 End users

12/07/21 National University Of Modern Languages 27


Continue.
 CASE:
 Automated tool used to design databases and application
programs.
 Repository:
 A centralized knowledge base of all data definitions, data
relationships,, screen and report formats, and other system
components.
 Database management system:
 A software application that is used to create, maintain and
provide controlled access to user database.

12/07/21 National University Of Modern Languages 28


Continue.
 Database:
 An organized collection of logically related data.
 Application program:
 Programs that is used to create and maintain the
database and provide information to the user.
 User interface:
 Languages, menus, and other facilities by which
user interact with the various system components.
Such as CASE tools, application programs, the
DBMS etc

12/07/21 National University Of Modern Languages 29


Continue.
 Data administrators:
 Persons who are responsible for the overall information
resources of the organization. They can use CASE tools for
improving the overall productivity of database planning and
design.
 System developers:
 Persons such as system analyst and programmers who
design new application programs.
 End users:
 Persons throughout the organization, who add, delete and
modify data in the database, and who request and receive
information from it.

12/07/21 National University Of Modern Languages 30

You might also like