Database design and implimentaion

393 views
347 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
393
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Database design and implimentaion

  1. 1. 1 The Database Design And Implementation Process •Shashwat Shriparv •dwivedishashwat@gmail.com •InfinitySoft
  2. 2. 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
  3. 3. 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
  4. 4. 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
  5. 5. 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.
  6. 6. 6 Title Contributed By Size Published_inArticle Journal Volume Number Jid Title Written By Publisher Belongs_toBook Subject name Classificationid Author View 2 View 1Researcher
  7. 7. 7 Title Written_by Size Published in Article Journal Volume Number Jid Belongs to Subject Name Classificationid Author Modified View 1
  8. 8. 8 d Book Article Title Written_by Author Belongs to subject Published in Name Classificationid Publication subject Journal Jid Volume Number Publisher Size Merged view
  9. 9. 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
  10. 10. 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 V1 V2 V 3 V5
  11. 11. 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
  12. 12. 12 3.Binary balanced strategy: Pairs of schema are integrated first ,then the resulting schema are paired for further integration. V1 V2 V5 V3
  13. 13. 13 4.Mixed strategy: The schemas are portioned into groups based on their similarity and each group is integrated separately V1 V 3 V5 V6 4.Mixed strategy: The schemas are portioned into groups based on their similarity and each group is integrated separately V1 V2 V 3 V5 V6
  14. 14. 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
  15. 15. 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
  16. 16. 16 Thank You •Shashwat Shriparv •dwivedishashwat@gmail.com •InfinitySoft

×