Logical Data Modelling
Logical Data Modelling
Logical Data Modelling
Data models
There are two types of data models: a logical and a physical. Everyone agrees that a good
quality data structure is critical to a long lasting, easy to maintain system. This is referred
to as the physical data model. Although there still are a few database administrators who
say Oh, it is just easier to put everything in one big table, most people are aware of the
data normalization rules and their benefits. Everyone involved in designing databases
should familiarize themselves with the reasons for implementing a normalized database.
Once educated on the techniques and justifications, it is difficult not to agree with such
a rational approach. The purpose of this paper is
not to discuss database design or implementa-
tion. The Logical Data Model refers to a higher
level of data the business data. Once we know
the business data requirements, we can normal-
ize and implement the data. However, if we do
not have a clear understanding of the business
requirements all of the design and implementa-
tion work in the world will not result in a good
quality application.
The word logical is very critical because it modifies the phrase data modeling to a more
specific activity. A logical data model is independent of a physical, data storage device.
This is the key concept of the logical data model. The reason that a logical data model
must be independent of technology is simply because technology is changing so rapidly.
Only 10 years ago, relational databases were still considered new andrisky. It is possible
that 10 years in the future we may look back on relational databases as dinosaurs. The
improvements in hardware speed and sophistication may never stop or even level off to
a pace we can keep up. It is very dangerous for application
developers to continue to gather requirements with a specific
Systems must be designed technology in mind. Our legacy problem continues to grow and
multiply in complexity. We need to build systems that are as
independent of technology independent of technology as possible. Build a system that is inde-
pendent of technology; isnt this an oxymoron? Yes and No.
There are components of a system that are intimately linked to the technology: the pro-
grams, the database management systems, and the screen components. There are also
components of the system that can be technology independent: the logical data model,
the logical process model, the business rules. These components are intimately linked to
the business, not the technology.
Most business areas do not change as rapidly as technology. Think of industries that have
been in business for 100 or 200 years. An insurance company provides coverage, receives
payments, and pays claims; and has done so for their entire history. They performed this
business without computers and now perform it on mainframes, minicomputers, PCs,
networks, and the Internet. What the business does, has not changed, but how the work
is accomplished, has changed significantly. This difference between WHAT the business
requirements are and HOW they are accomplished describes the difference between a
logical datamodel and physical database.
The logical data model is a picture of all of the pieces of information necessary to run the
business. The logical data model is built using an Entity Relationship diagram (ERD) - a stan-
dard modeling technique used by data modelers around the world. Entity relationship dia-
gramming is a structured technique used by business people and technical people as a com-
munication tool. It includes the complete business requirements as
opposed to the current physical data storage. It is the only place
A Logical Data Model with a complete picture of the data required by the business.
asks, What do you and The components of a logical data model include Entities,
your business do Relationships, and Attributes. Each Entity represents a set of per-
sons, things, or concepts about which the business needs informa-
tion. Each Relationship represents an association between two enti-
ties. Each Attribute is a characteristic or piece of information that further describes an entity.
A name and a textual definition describe each of these components. These name and defini-
tions provide ongoing documentation of the business rules and information requirements of
the business area.
The Data Modeler conducts facilitated sessions with business area experts to gather the data
requirements and build the logical data model. The data modeler also works with the process
analyst to link data with processes. The data modeler is responsible for getting approval of the
logical data model from the business area experts and then works with the DBA to transition
the logical model to the physical model.
The Database Administrator (DBA) builds the physical data model from the logical data
model. To create a good quality database design, the database administrator reviews the logi-
cal model to select technology appropriate keys, create indexes, detail data types, and build
referential integrity to protect the data values. The database administrator may de-normalize
the database for efficiency. DBAs also are responsible for writing stored procedures, triggers,
maintaining referential integrity, and monitoring database performance.
A logical data model is a foundation for designing a database that supports the business
requirements. Database designers start their design with a complete picture of the business
requirements and can then determine the best implementation approach. This allows design-
ers to use their expertise in data access paths, data distribution and placement, and access effi-
ciency to create a database that will satisfy business requirments for years to come.
Includes all entities, relationships, and attributes Includes tables, columns, keys, datatypes, validation
(and their information types) whether supported rules. DB triggers, stored procedures, domains, and
by a technology or not. access constraints (security).
Captures and records information necessary Includes technology-specific data elements such as
for the business. flags, switches, and timestamps.
Does not include any redundant data. May include redundant data elements.
Does not include any derived data. May include results of complex or difficult to recreate
calculations.
A logical data model confirms a logical process model and provides documentation of the
information requirements of the business area for ongoing impact analysis. Each business
process is tied to the logicaldata model to assure that all data and process model compo-
nents have been discovered.
The database design task is a much longer activity and the database may be poorly struc-
tured. Since not all business data requirements have been thoroughly flushed out,
database designs are unstable throughout the development process. During coding, test-
System documentation doesnt get created, or is textual vs. graphical and difficult to
maintain. User requirements are lengthy, textual documents that are time consuming to
review. Without a logical model to refer to, data definition language must be referenced
when planning system enhancements. DBMS systems often limit the length of column
names making them difficult to decipher.
Logical data modeling forces analysts to think about the current buiness requirements,
independent of technology, thereby highlighting opportunities for business process
improvement rather than simply automating an existing procedure or recreating a lega-
cy system on a new platform. Users understanding of their current systems can prevent
them from identifying the true business requirements. The main reason for missed tar-
get dates is a poor understanding of the business requirments. Building a complete,
essential, logical data model (and linking it to an essential process model) forces the ana-
lysts and the business users to completely describe all information requirements of the
business area. Without this rigorous analysis, data elements will be missed or defined
improperly.
Conclusion
Completely understanding the data requirements of a business area before developing a
solution is a proven approach to Application Development success. Contact TKEC for
training, consulting, or assitance in selecting a data modeling tool.