database design and implimentaion

16
1 The Database Design And Implementation Process Shashwat Shriparv [email protected] InfinitySoft

Upload: shashwat-shriparv

Post on 23-Jun-2015

314 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Database design and implimentaion

1

The Database Design And Implementation

Process

• Shashwat Shriparv• [email protected]• InfinitySoft

Page 2: Database design and implimentaion

2

Phase 2a (continued…)

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

Schema (view) integration

Page 3: Database design and implimentaion

3

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

Page 4: Database design and implimentaion

4

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

Page 5: Database design and implimentaion

5

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.

Page 6: Database design and implimentaion

6

Title

Contributed By

Size

Published_inArticle Journal

Volume Number

Jid

Title

WrittenBy

Publisher

Belongs_toBook Subject

name Classificationid

Author View 2

View 1Researcher

Page 7: Database design and implimentaion

7

Title

Written_by

SizePublished in

Article

Journal

Volume Number

Jid

Belongs to Subject

Name Classificationid

AuthorModified View 1

Page 8: Database design and implimentaion

8

d

Book Article

TitleWritten_by Author

Belongs to subject

Published in

Name

ClassificationidPublication

subject

Journal

Jid

Volume Number

Publisher Size

Merged view

Page 9: Database design and implimentaion

9

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

Strategies for Merging

Page 10: Database design and implimentaion

10

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

V1V2

V 3

V5

V4

Page 11: Database design and implimentaion

11

2.N-ary integration

All schemas are integrated at one stretch using a single procedure after the analysis of the correspondences

V1 V2 V 3 V4 V5

Page 12: Database design and implimentaion

12

3.Binary balanced strategy:

Pairs of schema are integrated first ,then the resulting schema are paired for further integration.

V1 V2

V5V4

V3

Page 13: Database design and implimentaion

13

4.Mixed strategy:

The schemas are portioned into groups based on their similarity and each group is integrated separately

V1

V 3V5

V4

V6

4.Mixed strategy:

The schemas are portioned into groups based on their similarity and each group is integrated separately

V1V2

V 3V5

V4

V6

Page 14: Database design and implimentaion

14

Phase 2b

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.

Transaction Design

Page 15: Database design and implimentaion

15

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

Page 16: Database design and implimentaion

16

Thank You

• Shashwat Shriparv• [email protected]• InfinitySoft