Professional Documents
Culture Documents
Data Modeling Tools
Data Modeling Tools
Erwin Tutorial
All Fusion Erwin Data Modeler commonly known as Erwin, is a powerful and leading data
modeling tool from Computer Associates. Computer Associates delivers several softwares for
enterprise management, storage management solutions, security solutions, application life
cycle management, data management and business intelligence
Erwin makes database creation very simple by generating the DDL(sql) scripts from a data
model by using its Forward Engineering technique or Erwin can be used to create data
models from the existing database by using its Reverse Engineering technique.
Erwin workplace consists of the following main areas:
Logical: In this view, data model represents business requirements like entities, attributes
etc.
Physical: In this view, data model represents physical structures like tables, columns,
datatypes etc.
Modelmart: Many users can work with a same data model concurrently.
In order to create data models in Erwin, you need to have this All Fusion Erwin Data Modeler
installed in your system. If you have installed Modelmart, then more than one user can work
on the same model.
Gathering Business Requirements - First Phase: Data Modelers have to interact with
business analysts to get the functional requirements and with end users to find out the
reporting needs
Conceptual Data Modeling(CDM) - Second Phase: See Figure 1.1
This data model includes all major entities, relationships and it will not contain much detail
about attributes and is often used in the INITIAL PLANNING PHASE.
Several data modelers may work on the different subject areas of a data model and all data
modelers should use the same naming convention, writing definitions and business rules.
These are the general guidelines to create a standard data model and in real time, a data
model may not be created in the same sequential manner as shown below. Based on the
enterprise’s requirements, some of the steps may be excluded or included in addition to
these
Sometimes, data modeler may be asked to develop a data model based on the existing
database. In that situation, the data modeler has to reverse engineer the database and
create a data model.
Reports:
» Generate reports from data model.
Review:
» Review the data model with functional and technical team.
Creation of database:
» Create sql code from data model and co-ordinate with DBAs to create database.
» Check to see data models and databases are in synch.
From Data Modeling tools, reports can be easily generated for technical and business needs.
The reports that have been generated from logical data model and physical data model are
called as business reports and technical reports respectively. Most of the data modeling tools
provide default reports like subject area reports, entity reports, attribute reports, table
reports, column reports, indexing reports, relationship reports etc. The advantage of these
reports is, whether they are technical or non-technical, everybody would understand what is
going on within the organization.
Other than default reports provided by data modeling tools, a data modeler can also create
customized reports as per the needs of an organization. For example, if an expert asks of
both logical and physical reports of a particular subject area in one file(e.g in .xls), logical
and physical reports can be easily merged and reports can be easily generated accordingly.
Data Modeling tools provide the facility of sorting, filtering options and the reports can be
exported into file formats like .xls, .doc, .xml etc.
Conceptual data model includes all major entities and relationships and does not contain
much detailed level of information about attributes and is often used in the INITIAL
PLANNING PHASE.
Conceptual data model is created by gathering business requirements from various sources
like business documents, discussion with functional teams, business analysts, smart
management experts and end users who do the reporting on the database. Data modelers
create conceptual data model and forward that model to functional team for their review.
Conceptual Data Model - Highlights
CDM is the first step in constructing a data model in top-down approach and is a clear and
accurate visual representation of the business of an organization.
CDM visualizes the overall structure of the database and provides high-level information
about the subject areas or data structures of an organization.
CDM discussion starts with main subject area of an organization and then all the major
entities of each subject area are discussed in detail.
CDM comprises of entity types and relationships. The relationships between the subject areas
and the relationship between each entity in a subject area are drawn by symbolic notation(IDEF1X
or IE). In a data model, cardinality represents the relationship between two entities. i.e. One to
one relationship, or one to many relationship or many to many relationship between the entities.
CDM contains data structures that have not been implemented in the database.
In CDM discussion, technical as well as non-technical team projects their ideas for building a
sound logical data model.
Consider an example of a bank that contains different line of businesses like savings, credit
card, investment, loans and so on. In example(figure 1.1) conceputal data model contains
major entities from savings, credit card, investment and loans. Conceptual data modeling
gives an idea to the functional and technical team about how business requirements would
be projected in the logical data model.
Visio Tutorial:
Visio, can be used to design complex ER diagrams and it comes in three different
editions (i.e) Visio Standard 2003, Visio Professional 2003, and Visual Studio .NET 2003
Enterprise Architect. These editions have different commands associated with data
modeling and for differences and features between these editions, please visit
www.microsoft.com.