Professional Documents
Culture Documents
Alogicaldata modelorlogical
schemais adata modelof a specific
problem domain expressed
independently of a particular
database management product or
storage technology (physical data
model) but in terms of data
structures such as relational tables
and columns, object-oriented
classes, or XML tags.
Reasons for building a logical
data structure
Helps common understanding of business
data elements and requirements
Provides foundation for designing a database
Facilitates avoidance ofdata
redundancyand thus prevent data &
business transaction inconsistency
Facilitates data re-use and sharing
Decreases development and maintenance
time and cost
Confirms a logicalprocess modeland
helpsimpact analysis.
Physical data model
Aphysical data model(ordatabase design) is
a representation of a data design as
implemented, or intended to be implemented, in
adatabase management system.
Thelogical schemawas the way data were
represented to conform to the constraints of a
particular approach to database management. At
that time the choices were hierarchical and
network. Describing the logical schema, however,
still did not describe how physically data would be
stored on disk drives. That is the domain of
thephysical schema.
Types of data models
Database model
Data structure diagram
Entity-relationship model
Geographic data model
Generic data model
Semantic data model
Database model
Flat model : This may not
strictly qualify as a data model.
The flat (or table) model
consists of a single,
two-dimensional array of data
elements, where all members
of a given column are assumed
to be similar values, and all
members of a row are assumed
to be related to one another.
Hierarchical model :The
hierarchical model is similar to the
network model except that links in
the hierarchical model form a tree
structure, while the network model
allows arbitrary graphs
Network model: This model
organizes data using two
fundamental constructs,
called records and sets.
Records contain fields, and
sets define one-to-many
relationships between
records: one owner, many
members.The network data
model is an abstraction of the
design concept used in the
implementation of databases.
Relational model: It is a database
model based on first-order predicate
logic. Its core idea is to describe a
database as a collection of
predicates over a finite set of
predicate variables, describing
constraints on the possible values
and combinations of values.The
power of the relational data model
lies in its mathematical foundations
Object-relational model: Similar
to a relational database model, but
objects, classes and inheritance are
directly supported indatabase
schemasand in the query language.
Star schema : The simplest style of
data warehouse schema. The star
schema consists of a few "fact
tables" (possibly only one, justifying
the name) referencing any number
of "dimension tables".
Data Structure Diagram
Groups of Data
Structures
Data Elements
Fore.g.
Author Name:
First
Middle
Last Alias
The Description of Data Element should
include:
1. Name
2. Description &
3. An Alias (Synonym)
Data Elements
Control Information
Such as Source, Date of Origin,
Users, or Access Authorization.
For e.g. Looking for Properties of Word
Doc.
Physical Location
In terms of Record of File or Database.
For e.g. Where Storage is done C Drive,
D Drive, CD ROM etc.
Data Structures