database development data analysis: the entity relationship powered by desiamore1

16
Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore 1

Upload: tamsin-miles

Post on 21-Jan-2016

213 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Database Development

Data Analysis: The Entity Relationship

Powered by DeSiaMore 1

Page 2: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Entity Relationship (E-R) Model

Data analysis aims at identifying data requirement of the real world model (System to be automated for business purpose).

One of the fundamental tools used in data analysis is E-R Diagrams

E-R Modeling is part of conceptual modeling in data analysis

Powered by DeSiaMore 2

Page 3: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Entity Relationship (E-R) Model

Conceptual modeling involves building a model of the real world expressed in terms of of the data requirements established.

A conceptual model is a model of the real world expressed in terms of data requirements.

Powered by DeSiaMore 3

Page 4: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Entity Relationship (E-R) Model

So by using ER model, a real world enterprise data can be described in terms of objects and their relationships and it is widely used to develop an initial database design.

Powered by DeSiaMore 4

Page 5: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Entity Relationship (E-R) Model

It provides useful concepts that allow us to move from an informal description of what users want from their database to a more detailed, and precise, description that can be implemented in a DBMS.

Powered by DeSiaMore 5

Page 6: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Overview of Database Development

The database design and development process can be divided into number of steps.

The ER model is the most crucial step and is relevant to these steps of development. Requirement Analysis Logical/Conceptual Database Design

Powered by DeSiaMore 6

Page 7: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Requirement analysis

The very first step in designing database application is to understand: what data is to be stored in the database what application must be built on top of

it and what operations are most frequent

and subject to performance requirements. Understand what users want from the

database.

Powered by DeSiaMore 7

Page 8: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Requirement analysis It is an informal process that involves

discussions with user groups. It involves eliciting what users would

like to have stored in an information system.

In software engineering perspective is referred to as requirement elicitation and specification.

Powered by DeSiaMore 8

Page 9: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Requirement analysis

Designing a software solution depends on correct elicitation/data requirements.

In most software engineering paradigms, the process starts with a requirements elicitation, followed by a specification

Powered by DeSiaMore 9

Page 10: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Conceptual Database Design

The information gathered in the requirements analysis step is used to develop a high level description of the data to be stored in the database.

This is where the ER Model can be undertaken in your development process. Powered by DeSiaMore 10

Page 11: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Fundamentals of E-R Diagramming

The ER model/diagramming is one of the best-known tools for logical database design.

Within the database community it is considered to be a very natural and easy-to-understand way of conceptualizing the structure of a database.

Powered by DeSiaMore 11

Page 12: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Fundamentals of E-R Diagramming

In this E-R Model, a given universe of discourse is represented using an entity model: a model built up of entities, relationships and attributes.

Powered by DeSiaMore 12

Page 13: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Entities An entity can be defined as a thing

which an organisation recognises as being of an independent existence and which can be uniquely identified.

It is an aspect of the real world which can be distinguished from other aspects of the real world.

Powered by DeSiaMore 13

Page 14: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Entities

It can be a physical object such as:

a house or a car, an event such as a house sale or a car service, or a concept such as customer transaction or order.

Powered by DeSiaMore 14

Page 15: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Entities There is a real difference between

an entity and an entity-type.

An entity-type is a category.

An entity is an instance of a given entity type. There are usually many instances of an entity type.

Powered by DeSiaMore 15

Page 16: Database Development Data Analysis: The Entity Relationship Powered by DeSiaMore1

Entities

Example: A student is an entity-type whereas

Juma is an instance of this entity-type.

Juma is an entity Because the term entity-type is some

what cumbersome, most people tend to use the term entity as synonym for this.

Powered by DeSiaMore 16