Top Banner
Database Development Cycle Track 3: Managing Information Using Database
26
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PPT

Database Development Cycle

Track 3: Managing Information Using Database

Page 2: PPT

Objectives– Database planning

– System Definition

– Requirements collection and analysis

– Database design

– DBMS selection

– Application design

– Prototyping

– Implementation

– Data Conversion and loading

– Testing

– Operational Maintenance

Page 3: PPT

Database Planning

Systems Definition

Requirements Collectionand analysis

Database DesignDBMSSelection

ApplicationDesign

Implementation

Data Conversion and loading

Testing

Evaluation & Maintenance

Prototyping

Life Cycle

Source: http://www.cs/ucf.edu/courses/cgs2545/CH02/index.htm

Page 4: PPT

Database PlanningCurrent systems evaluation

Development of Standards

Technological feasability

Operational feasability

Economical feasability

Page 5: PPT

Requirements Collection and Analysis• identifying management information

requirements, • determining information requirements by

functional area,• and establishing hardware and software

requirements

Systems definitionData dictionary Metadata

Page 6: PPT

Database Design

Conceptual design

Logical design

Physical design

Page 7: PPT

DBMS Selection* Costs

* Features and Tools

* Underlying model

* Portability

* DBMS hardware requirements

Page 8: PPT

Application design

• Application program design

• User Interface design

Page 9: PPT

Prototyping

Develop theworking model

Build the prototype

Use and Testthe prototype

Review theprototype

Decision

Abandonapplication

ImplementApplication

RedevelopApplication

Begin newprototype

Page 10: PPT

Implementation

• The physical realisation of the database and application designs

• the detailed model is converted to the appropriate implementation model, the data dictionary is built, the database is populated, application programs are developed and users are trained

Page 11: PPT

Data Conversion and Loading & Testing

• Transferring any existing data into the new database and converting any existing applications to run on the new database

• Finding errors

Page 12: PPT

Database Evaluation

• Interviewing and polling users to determine whether any data needs are unmet.

Page 13: PPT

Operational maintenance• preventive maintenance (backup)

• corrective maintenance (recovery)1

• adaptive maintenance

• assignment of access

• regular monitoring & periodical check up

Page 14: PPT

Data & Database administration

• Data administration is the management of the data resources

• Database administration is the management of physical realisation of the database application

Page 15: PPT

Database design methodology

• A structured approach that uses procedures, techniques, tools, and documentation aids to support and facilitate the process of design.

* Conceptual database design

* Logical database design

* Physical database design

Page 16: PPT

Entity, Attribute, Relationship

Client

NameAddressPostcode

Passport

Passport NoExp.Data

Itinerary

DateCityContact

EntityAttribute

Relationship

Page 17: PPT

Conceptual Design Phase

DATA

TOP-DOWN

BOTTOM-UP

Identify Entities

Identify Relationships

Identify Attributes

Identify Relationships

Identify Dependencies

Collect Data

Page 18: PPT

Basic relationships

•One-to-One

•One-to-many

•Many to many

HUSBAND WIFEis married to

is married to

TRACK PARTICIPANTSbelongs to

has

Trackis helds in

holds

Trainer

Page 19: PPT

Logical design phase

1. REFINE THE CONCEPTUAL MODEL

ConceptualE.A.R Model

Refined Conceptual Model

2.APPLY THE RULES OF NORMALIZATION

LogicalData

Model

Page 20: PPT

Refining the Conceptual model

• Refine the attributes

– example:

• Synonyms

• Hononyms

Page 21: PPT

Physical Database DesignLogical Data Model Logical Process Model

TR

Track 01 Country

Database creationCREATE DATABASECREATE TABLELOAD

PhysicalImplementationProcess

Page 22: PPT

Critical Success Factors in Database Design

• Work interactively with the users as much as possible.

• Follow a structured methodology throughout the data modelling process.

• Incorporate structural and integrity considerations into the data models.

• Combine conceptualisation, normalisation, and transaction validation techniques into the data modelling methodology.

Page 23: PPT

Exercise (Conceptual design)

List 1

List 2

Track No: 1 Track name: Managing information using Database

Participantcode

Participantname

Age Position Country Address

Country code Country name Participant code Participant name Track name

Create a conceptual E.A.R model of the database for the following lists. (List up the necessaryDATA ITEMS, set up ENTITIES and their ATTRIBUTES, and identify the relationship among the entities )

List 1 is the list of participants’ information by track

List 2 is the list of participants’ information by countries

Page 24: PPT

Answer

ParticipantParticipant nameParticipant codeAgeAddressPosition

TrackTrack numberTrack name

CountryCountry codeCountry name

EntityAttribute

RelationshipZero one or many

Just one

One or many

Justone

Page 25: PPT

Exercise: Primary and Foreign Key

Participantcode

Participantname

Age Position Address Country code

Country nameCountry code Track nameTrack code Participant code

Please identify primary and foreign key.

Primary key

Foreign key

Page 26: PPT

Answer

Participantcode

Participantname

Age Position Address Country code

Country nameCountry code Track nameTrack code Participant code