10.2 The Database Design and Implementation Process 315
The first approach is the centralized (or one shot) schema design approach,in
which the requirements of the different applications and user groups from Phase 1
are merged into a single set of requirements before schema design begins. A single
schema corresponding to the merged set of requirements is then designed. When
many users and applications exist, merging all the requirements can be an arduous
and time-consuming task. The assumption is that a centralized authority, the DBA,
is responsible for deciding how to merge the requirements and for designing the
conceptual schema for the whole database. Once the conceptual schema is designed
and finalized, external schemas for the various user groups and applications can be
specified by the DBA.
The second approach is the view integration approach, in which the requirements
are not merged. Rather a schema (or view) is designed for each user group or appli-
cation based only on its own requirements. Thus we develop one high-level schema
(view) for each such user group or application. During a subsequent view integra-
tion phase, these schemas are merged or integrated into a global conceptual
schema for the entire database. The individual views can be reconstructed as exter-
nal schemas after view integration.
The main difference between the two approaches lies in the manner and stage in
which multiple views or requirements of the many users and applications are recon-
ciled and merged. In the centralized approach, the reconciliation is done manually by
the DBA staff prior to designing any schemas and is applied directly to the require-
ments collected in Phase 1. This places the burden to reconcile the differences and
conflicts among user groups on the DBA staff. The problem has been typically dealt
with by using external consultants/design experts, who apply their specific methods
for resolving these conflicts. Because of the difficulties of managing this task, the
view integration approach has been proposed as an alternative technique.
In the view integration approach, each user group or application actually designs its
own conceptual (EER) schema from its requirements, with assistance from the DBA
staff. Then an integration process is applied to these schemas (views) by the DBA to
form the global integrated schema. Although view integration can be done manu-
ally, its application to a large database involving dozens of user groups requires a
methodology and the use of automated tools. The correspondences among the
attributes, entity types, and relationship types in various views must be specified
before the integration can be applied. Additionally, problems such as integrating
conflicting views and verifying the consistency of the specified interschema corre-
spondences must be dealt with.
Strategies for Schema Design. Given a set of requirements, whether for a single user
or for a large user community, we must create a conceptual schema that satisfies
these requirements. There are various strategies for designing such a schema. Most
strategies follow an incremental approach—that is, they start with some important
schema constructs derived from the requirements and then they incrementally mod-
ify, refine, and build on them. We now discuss some of these strategies:
1. Top-down strategy. We start with a schema containing high-level abstrac-
tions and then apply successive top-down refinements. For example, we may