You are on page 1of 16

The Database Design

And Implementation
Process

Rakesh.Raghunat
h 1
Phase 2a (continued…)

Schema (view)
integration
For large databases with many expected
users and applications, the view
integration approach of designing
individual schema and merging them can
be used.

2
Schema integration has following subtask:

1: Identifying correspondences and conflicts


among the schema:
Because the schemas are individually
designed, it is necessary to specify construct the
schema that represent real world concept.
a) Naming conflicts
Two types:- 1)SYNONYMS
different name same concept
2)HOMONYMS
same name different concept
3
b) Type conflicts:
Same concepts represented in two
schemas by different
modeling constructs
c) Domain conflicts:
An attribute may have different
domains in two schemas.
d) Conflicts among Constraints:
Two Schemas may impose different
constraints
4
2.Modifying views to conform to one another:
Some schema are modified so
that they conform other schema closely.
Conflicts that are identified in subtask one are
resolved during this step.
3.Merging views:
Global scheme are created by
merging individual schema. Corresponding
concepts are represented once in resulting
schema and mapping between the views are
done.
4.Restructuring:
This is an optional step and is
done to avoid redundancies or unnecessary
complexity.
5
Volume Number

Title Size Jid

Article Published_in Journal

Contributed By Researcher View 1

Publisher
Classificationi
Title name d

Book Belongs_to Subject

Written 6
Author View 2
By
Volume Number

Jid

Title Size
Published in Journal

Article

Belongs to Subject

Written_by

Name Classificationid

Author
Modified View 1 7
Merged view
Title
Written_by Author

Publication
Classificationid

Belongs to subject
d
Name

Book Article Published in Journal

Publisher Size Jid

Volume Number
8
Strategies for Merging

Taking into consideration the complexity of


merging process and to get the exact meaning
of the schema after merging, there are several
strategy proposed…

9
1.Binnary ladder integration.
Two schema quite similar are
integrated first, then the resulting schema with
another similar schema and so on…the ordering
depend on the measure of similarity

V5

V
4
V3
10
V2
V1
2.N-ary integration
All schemas are integrated at
one stretch using a single procedure after
the analysis of the correspondences

11
V4 V5
V1 V2 V3
3.Binary balanced strategy:
Pairs of schema are integrated
first ,then the resulting schema are paired
for further integration.

V3
V5
V
V1 V2 4 12
4.Mixed strategy:
The schemas are portioned into
groups based on their similarity and each
group is integrated separately

V6

V3
V5 13
13
V2 V
V1
4
Phase 2b
Transaction Design
The purpose of this phase is to design the characteristics of
known database transactions in a DBMS-independent
way…
Designers are aware of many transactions that will run,
once database is implemented.
Important part database design is to specify its functional
characteristics of these transactions.
Usually, some database transaction are known at design
time; after database is implemented, newer transactions
are identified and implemented.

14
Transaction are usually grouped into 3 categories.

1). Retrieval transaction.


Retrieves data.
2). Update transaction.
Update data.
3). Mixed transaction.
mixture of retrieval and update
transaction

15
Thank You

16

You might also like