history of database processing module 1 (2)

86
MODULE 1 DATABASE MANAGEMENT SYSTEMS

Upload: chottu89

Post on 20-Jan-2015

1.450 views

Category:

Business


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: History of database processing module 1 (2)

MODULE 1DATABASE MANAGEMENT SYSTEMS

Page 2: History of database processing module 1 (2)

HISTORY OF DATABASE PROCESSING

Page 3: History of database processing module 1 (2)

STAGES

• Organizational Context (1960)• Relational Model (1970)• Object Oriented DBMS (1980)• Client Server Database Application (1990)• Database using internet Technology (200)

Page 4: History of database processing module 1 (2)

Organizational Context (1960)

Used to solve file processingDifficulty in managing dataDifficulty in developing new systemsLimitations in Integration of data

Companies started developing large database

Started centralizing operational data

Started Organization

wide Database

Application

Page 5: History of database processing module 1 (2)

Limitations

• Limited Technology• New Technology• Slow Applications• Unreliable Applications• Difficulty in Handling large Volume of Data• Slow Transactions• Unreliability of Database

Page 6: History of database processing module 1 (2)

What made the situation to improve ?

• More Education on Hardware and Software• More experts evolved• New methods of: controlling data

: protecting data : backing of database

Page 7: History of database processing module 1 (2)

Evolutions

Navigational DBMS

Integrated Data Store

(Charles Bachman)

IMSBy: IBM

Parent

Root

Page 8: History of database processing module 1 (2)

Relational Model (1970)

• Used application of mathematics: Relational Algebra

• Used to reduce the problem of storing large amount of data

• Developed by E.F.Codd

Page 9: History of database processing module 1 (2)
Page 10: History of database processing module 1 (2)

Benefits

• Minimizes duplication• Eliminates processing & storing Errors• Data stored as tables: rows & columns• Concept of normalization used• Columns of 1 row relates the entities

Page 11: History of database processing module 1 (2)

Order Number

Customer First Name

Customer Last Name

Item

A1010 John Markose Chair

A1011 Martin Baby Tables

A1012 Thomas Stephen Cupboard

A1013 Peter Edwin Computer

Page 12: History of database processing module 1 (2)

Resistance to Relational Model

• Requires more computer resources• Makes the system slow• Impractical with less speed processing capacity• Examples: INGRES,

PRTV, Business System 12Alphora Dataphor, Rel

Page 13: History of database processing module 1 (2)

Object oriented DBMS

An object-oriented database management system (OODBMS), sometimes shortened to ODBMS for object database management system), is a database management system (DBMS) that supports the modelling and creation of data as objects.

Page 14: History of database processing module 1 (2)

What is an object ?

• objects are key to understanding object-oriented technology

• Examples:• dogs have • state (name, color, breed, hungry) and • dogs have behavior (barking, fetching, and

slobbering )

Page 15: History of database processing module 1 (2)

Examples:

• Bicycles have • state (current gear, current pedal cadence,

two wheels, number of gears) and • behavior (braking, accelerating, slowing down,

changing gears).

Page 16: History of database processing module 1 (2)

Object

• Definition: An object is a software bundle of variables and related methods.

Page 17: History of database processing module 1 (2)

Drawbacks

• Difficult to use• Very expensive to develop• Already data in relational model needs

conversion• More suitable for engineering application

Page 18: History of database processing module 1 (2)

Client Server Database Application (1990)

• A client/server application is a piece of software that runs on a client computer and makes requests to a remote server.

• “Client/server systems operate in a networked environment, splitting the processing of an application between a front-end client and a back-end processor.”

Page 19: History of database processing module 1 (2)

Basic Elements

• A CSDB system consists of three primary software components:

• the client application (also called the front end),

• the data access layer (also called middleware), and

• the database server (also called a database engine, DBMS, data source, or back end).

Page 20: History of database processing module 1 (2)
Page 21: History of database processing module 1 (2)

Client Application

• The client application is responsible for accepting input from the user, submitting a query to the database server based on that input, receiving results from the server, formatting them, and presenting them to the user.

Page 22: History of database processing module 1 (2)

Data Access Layer

The data access layer is relatively transparent to the user, but may be very apparent to the developer of the client app. It provides for the application and API used to submit queries to a data source .

Page 23: History of database processing module 1 (2)

Database Server

The database server accepts queries from clients, processes them concurrently, and returns results. There are a number of different query languages around, by far the most prevalent of which is SQL

Page 24: History of database processing module 1 (2)

Problems

Security

Connectivity

Technical Support

Page 25: History of database processing module 1 (2)

Database Models

• Hierarchical DBMS Model• Network DBMS Model• Relational DBMS Model• Object Oriented DBMS Model• Multi dimensional DBMS Model

Page 26: History of database processing module 1 (2)

• The hierarchical data model organizes data in a tree structure.

• There is a hierarchy of parent and child data segments.

• This structure implies that a record can have repeating information, generally in the child data segments.

• Data in a series of records, which have a set of field values attached to it.

• It collects all the instances of a specific record together as a record type.

• These record types are the equivalent of tables in the relational model, and with the individual records being the equivalent of rows.

Page 27: History of database processing module 1 (2)
Page 28: History of database processing module 1 (2)

A hierarchical database consists of the following:• It contains nodes connected by branches.• The top node is called the root.• If multiple nodes appear at the top level, the

nodes are called root segments.• The parent of node is a node directly above a

node• Each node (with the exception of the root) has

exactly one parent.• The child of node is the node directly below the

node and connected by a branch.• One parent may have many children.

Page 29: History of database processing module 1 (2)

Network Model

• The network database organizes data in a network structure.

• Any column in the network structure can be linked to any other like a tree structure.

• A network structure can be described in terms of parents and children.

• This model allows having more than one parent.

Page 30: History of database processing module 1 (2)
Page 31: History of database processing module 1 (2)

Network Model

• Network DBMS have found not much more acceptance than the hierarchical DBMS.

• They have the same flexibility limitations as hierarchical database:

• the more powerful structure for representing data relationships allows a more realistic modeling of geographic phenomena.

• However network database tend to become overlay complex too easily.

Page 32: History of database processing module 1 (2)

Relational Model

• The relational database organizes data in tables.• Each table is identified by a unique table name,

and is organized by rows and columns. • Each column within a table also has a unique

name. Columns store the values for a specific attribute

• Rows represent one record in the table.

Page 33: History of database processing module 1 (2)
Page 34: History of database processing module 1 (2)

Properties of Relational Tables:

• Values Are Atomic• Each Row is Unique• Column Values Are of the Same Kind• The Sequence of Columns is Insignificant• The Sequence of Rows is Insignificant• Each Column Has a Unique Name

Page 35: History of database processing module 1 (2)

One-to-one Relationship-

• One-to-one Relationship- Here one and only one record in the

destination table is related to one and only one record in the source table.

Page 36: History of database processing module 1 (2)

One to one relationship

Page 37: History of database processing module 1 (2)

One-to-Many Relationship-

• This means that one record in the destination table may be related to more than one record in the source

Page 38: History of database processing module 1 (2)

One-to-Many Relationship-

Page 39: History of database processing module 1 (2)

Many-to-One Relationship

• This type of relationship is just opposite to the One-to-Many Relationship. Here two or more records in the destination table may be related to one record in the source table.

Page 40: History of database processing module 1 (2)

Many-to-One Relationship

Page 41: History of database processing module 1 (2)

Object Oriented Model

• The object oriented data model manages data through object.

• An object is a collection of data elements and operations that together are considered as single entity.

Page 42: History of database processing module 1 (2)

Multi Dimensional Database Model

• A multidimensional database (MDB) is a type of database that is optimized for data warehouse and online analytical processing (OLAP) applications.

• Multidimensional databases are frequently created using input from existing relational databases. Whereas a relational database is typically accessed using a Structured Query Language (SQL)

Page 43: History of database processing module 1 (2)
Page 44: History of database processing module 1 (2)

DATABSE COMPONENTS

• Data Repository• DBMS• Hardware• Procedure Interface• Application Software• Practitioners• Data Dictionary

• System Software• Network Application• Front Tools • Users

Page 45: History of database processing module 1 (2)

APPLICATION INTERFACE

PROCEDURE INTERFACE

APPLICATION SOFTWARE

QUERY REPORTINGFRONT END

TOOLS

DBMSDATA

REPOSITORY

DATA DICTIONARY

HARDWARE

USERSPRACTIONERS

DATABASE COMPON-

ENTS

Page 46: History of database processing module 1 (2)

Data Repository

• Data Repository is a logical (and sometimes physical) partitioning of data where multiple databases which apply to specific applications or sets of applications reside.

Page 47: History of database processing module 1 (2)

Procedure interface

• The characteristics of a procedure that is executed on the database

• ExampleSQL:>/ CREATE TABLE <Table name>

Page 48: History of database processing module 1 (2)

Data Dictionary

• A data dictionary is a collection of descriptions of the data objects or items in a data model for the benefit of programmers and others who need to refer to them.

Page 49: History of database processing module 1 (2)

Data dictionary : sample

Page 50: History of database processing module 1 (2)

Database Development Process

Page 51: History of database processing module 1 (2)

Enterprise data modelling

• Is the first step in database development, in which the scope and general contents of organisational databases are specified

• Graphical representation of data used by an enterprise or company

• Gives a helicopter view of the data and data transactions of the organisation

Page 52: History of database processing module 1 (2)

Enterprise data modelling

• Data model encompass both current and historical data of the organisation

• The model should reflect both the data and the processes of the organisation, plus the views of these components required by the various sections of the organisation.

• Example:• sales data (invoices etc.) will be viewed from a monetary

aspect by the accountant, from a quantitative aspect by the store staff and from both these aspects by the marketing people

Page 53: History of database processing module 1 (2)

Information System Architecture (ISA)

6 Key Components:1. Data2. Process3. Network4. People5. Events and points in Time6. Reason

Page 54: History of database processing module 1 (2)

1. Data

The processed information The information that need to be exchanged,

recorded, processed and verified, and classified and stored.

Page 55: History of database processing module 1 (2)

2. Process

• The event that manipulates the dataExample:Pos (Point of Sales): Billing of itemsBank : withdrawal or deposit of money by a

customer

Page 56: History of database processing module 1 (2)

3. Network

• Network transports the data around the organization and between the organizations and the key business partners.

Page 57: History of database processing module 1 (2)

4. People

• The entities who perform the process• They are the source of information and

receiver of informationExample: Pos: Sender of information: Billing clerk

Receiver of Information: Store manager

Page 58: History of database processing module 1 (2)

5. Events and points in time

Page 59: History of database processing module 1 (2)

6. Reasons

• Reasons for events• Rules that govern the process• Example: Customer cash withdrawal at ATM

Page 60: History of database processing module 1 (2)

ATM transactionSl. No Event Process Action

1 Enter Pin Verify Pin Authorize

2 Enter Transaction Type

Choose Transaction

Authenticate

3 Enter Amount

Verify balance

Allow Withdrawal

Page 61: History of database processing module 1 (2)

enterprise data model (Pine Valley Furniture Company)

Page 62: History of database processing module 1 (2)

Information Engineering• “A data-oriented methodology to create and maintain

information systems.”• Top-down planning approach.• Four steps:– Planning (Results in an Information Systems Architecture)– Analysis – meet the various members of the organisation

(from top to bottom) to discuss and agree on the data requirements and the processes involved

– Design– Implementation

Page 63: History of database processing module 1 (2)

Information Engineering Planning phase

1. Identify Strategic Planning Factorsa. Goalsb. Critical Success factorsc. Problem Areas

Page 64: History of database processing module 1 (2)

Information Engineering Planning phase

2. Identify Corporate Planning Objectsa. Organizational Unitsb. Locationc. Business Functionsd. Entity Types

Page 65: History of database processing module 1 (2)

Information Engineering Planning phase

3. Develop Enterprise Modela. Functional decompositionb. Entity- Relationship diagramc. Planning Matrices

Page 66: History of database processing module 1 (2)
Page 67: History of database processing module 1 (2)

Example of process decomposition of an order fulfillment function

Page 68: History of database processing module 1 (2)

Planning matrices

• Provide an explicit approach for describing business requirements

• Location to function (which business function is being performed at which location)

• Unit to function (which business functions are the responsibility of which business units)

• IS application to data entity (explains how each information system interacts with each data entity)

Page 69: History of database processing module 1 (2)

Planning matrices

• Supporting function to data entity (which data are captured, used, updated, deleted within each function)

• IS application to business objective (shows which information systems support each business objective)

Page 70: History of database processing module 1 (2)

Systems development life cycle (SDLC)

• Is a complete set of steps that a team of IS professionals follow to specify, develop, maintain and replace information systems

• Process is often viewed as a cascade of steps (see following figure)

• Cascade or ‘waterfall’ approach as each step flows into the next – though steps can overlap in time and it is possible to backtrack when prior decisions need to be reconsidered

Page 71: History of database processing module 1 (2)

Database development activities during the SDLC

Project Identification and Selection

Project Initiation and Planning

Analysis

Physical Design

Implementation

Maintenance

Logical Design

Page 72: History of database processing module 1 (2)

Phase 1: Project identification and Selection:

Purpose

• Understanding Business situation

Deliverables

• Formal request to conduct project design, and develop information system

Page 73: History of database processing module 1 (2)

Phase 2: Project Initiation & Planning

Purpose

• Stating Business situation

• Stating how information system solves the problem

• Stating the opportunity by using information system

Deliverables

• Written request to study the possible changes to existing system or the development of a new system

Page 74: History of database processing module 1 (2)

Phase 3: Analysis

Purpose

• Analyze Business situation

• Determining requirements

• Structuring requirements

• Selecting competing system features

Deliverables

• Functional specification of system

• Meeting user requirements

• Meeting feasibility to develop the system

• Feasibility to implement the system

Page 75: History of database processing module 1 (2)

Phase 4: Logical Design

Purpose

• To elicit and structure all information requirements

Deliverables

Detailed functional specification of :

a. Datab. Formac. Reportsd. Displayse. Processing Rules

Page 76: History of database processing module 1 (2)

Phase 5: Physical design

Purpose

• To develop technology and Organizational specifications

Deliverables

• Computer Program• Database structures• Technology purchase• Physical site plans• Organizational

redesigns

Page 77: History of database processing module 1 (2)

Phase 6: Implementation:

Purpose

• To write programs• Build data files• Test & install new

system• Train users• finalize

documentation

Deliverables

• Programs that work accurately to specification

• Documentation• Training materials

Page 78: History of database processing module 1 (2)

Phase 7: Maintenance

Purpose

• Monitor operations and usefulness of system

• Repair and enhance the system

Deliverables

• Periodic audits to check the accuracy of the system

Page 79: History of database processing module 1 (2)

Database development stages/ phases

1. Enterprise Modeling2. Conceptual data modeling3. Logical database design4. Physical database design and

definition5. Database Implementation6. Database maintenance

Page 80: History of database processing module 1 (2)

1. Enterprise Modeling

• Analyze current data processing• Analyze general functions and their database

needs• Justify need for new data and database in

support for business

Page 81: History of database processing module 1 (2)

2. Conceptual data modeling

• Identify scope of database requirement• Analyze overall data requirement• Develop preliminary conceptual data model• Compare preliminary conceptual data model

wit enterprise data model• Develop conceptual data model including all

entities , relationships, attributes and business rules

Page 82: History of database processing module 1 (2)

3: Logical database design

• Analyze- transactions, forms, displays, and inquiries and database views.

• Integrate database views into conceptual data model

• Identify data integrity & security requirements

• Create stable & well defined structure for database

Page 83: History of database processing module 1 (2)

4. Physical database design & definition

• Define database to DBMS• Decide on physical organization of data• Design database processing programs

Page 84: History of database processing module 1 (2)

5. Database Implementation

• Code & test database processing programs• Complete database documentation & training

materials• Install database and convert data from prior

systems

Page 85: History of database processing module 1 (2)

6. Database Maintenance

• Analyze database and database applications to ensure that evolving information requirements are met

• Tune database for improved performance• Fix errors in database and database

applications and recover database when it is contaminated.

Page 86: History of database processing module 1 (2)

Lets wind up…………..

• Data, Database, Database Management System• Relationship of application programs with DBMS• Definition of database• Short history of database processing• Types of database• Components of database system• Creating the database• Developing databases